<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/93407>93407</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            LLVM:OUT OF MEMORY WHILE COMPILING WINE9.9 IN TEUX
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          balamurugan116
      </td>
    </tr>
</table>

<pre>
    
If you know how to fix this then please also head to 
https://github.com/termux/termux-app/issues/3966



~/wine-9.9 $ make
tools/winegcc/winegcc -o dlls/shell32/aarch64-windows/shell32.dll --wine-objdir . -b aarch64-windows -Wl,--wine-builtin -shared \
 dlls/shell32/shell32.spec dlls/shell32/aarch64-windows/appbar.o \
 dlls/shell32/aarch64-windows/assoc.o dlls/shell32/aarch64-windows/autocomplete.o \
 dlls/shell32/aarch64-windows/brsfolder.o dlls/shell32/aarch64-windows/changenotify.o \
 dlls/shell32/aarch64-windows/classes.o dlls/shell32/aarch64-windows/clipboard.o \
 dlls/shell32/aarch64-windows/control.o dlls/shell32/aarch64-windows/cpanelfolder.o \
 dlls/shell32/aarch64-windows/dataobject.o dlls/shell32/aarch64-windows/dde.o \
  dlls/shell32/aarch64-windows/debughlp.o dlls/shell32/aarch64-windows/dialogs.o \
 dlls/shell32/aarch64-windows/dragdrophelper.o dlls/shell32/aarch64-windows/ebrowser.o \
 dlls/shell32/aarch64-windows/enumidlist.o dlls/shell32/aarch64-windows/folders.o \
 dlls/shell32/aarch64-windows/iconcache.o dlls/shell32/aarch64-windows/new_menu.o \
 dlls/shell32/aarch64-windows/pidl.o dlls/shell32/aarch64-windows/recyclebin.o \
  dlls/shell32/aarch64-windows/shell32_main.o dlls/shell32/aarch64-windows/shelldispatch.o \
 dlls/shell32/aarch64-windows/shellitem.o dlls/shell32/aarch64-windows/shelllink.o \
 dlls/shell32/aarch64-windows/shellole.o dlls/shell32/aarch64-windows/shellord.o \
 dlls/shell32/aarch64-windows/shellpath.o dlls/shell32/aarch64-windows/shellreg.o \
 dlls/shell32/aarch64-windows/shellstring.o dlls/shell32/aarch64-windows/shfldr_desktop.o \
 dlls/shell32/aarch64-windows/shfldr_fs.o dlls/shell32/aarch64-windows/shfldr_mycomp.o \
 dlls/shell32/aarch64-windows/shfldr_netplaces.o dlls/shell32/aarch64-windows/shfldr_printers.o \
 dlls/shell32/aarch64-windows/shlexec.o dlls/shell32/aarch64-windows/shlfileop.o \
 dlls/shell32/aarch64-windows/shlfolder.o dlls/shell32/aarch64-windows/shlfsbind.o \
 dlls/shell32/aarch64-windows/shlmenu.o dlls/shell32/aarch64-windows/shlview.o \
  dlls/shell32/aarch64-windows/shlview_cmenu.o dlls/shell32/aarch64-windows/shpolicy.o \
 dlls/shell32/aarch64-windows/systray.o dlls/shell32/shell32.res \
 dlls/shell32/aarch64-windows/shell32_classes_r.res dlls/shell32/aarch64-windows/shell32_tlb_t.res \
 libs/uuid/aarch64-windows/libuuid.a dlls/shlwapi/aarch64-windows/libshlwapi.a \
  dlls/user32/aarch64-windows/libuser32.a dlls/gdi32/aarch64-windows/libgdi32.a \
 dlls/advapi32/aarch64-windows/libadvapi32.a dlls/ole32/aarch64-windows/libole32.a \
 dlls/oleaut32/aarch64-windows/liboleaut32.a dlls/shdocvw/aarch64-windows/libshdocvw.a \
 dlls/version/aarch64-windows/libversion.a dlls/comctl32/aarch64-windows/libcomctl32.a \
 dlls/comdlg32/aarch64-windows/libcomdlg32.a dlls/gdiplus/aarch64-windows/libgdiplus.a \
 dlls/winecrt0/aarch64-windows/libwinecrt0.a dlls/ucrtbase/aarch64-windows/libucrtbase.a \
 dlls/kernel32/aarch64-windows/libkernel32.a dlls/ntdll/aarch64-windows/libntdll.a \
  -Wl,-delayload,ole32.dll -Wl,-delayload,oleaut32.dll -Wl,-delayload,shdocvw.dll \
 -Wl,-delayload,version.dll -Wl,-delayload,comctl32.dll -Wl,-delayload,comdlg32.dll \
  -Wl,-delayload,gdiplus.dll --no-default-config
LLVM ERROR: out of memory
Allocation failed
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /data/data/com.termux/files/usr/bin/clang --driver-mode=gcc -target aarch64-windows -Wno-unused-command-line-argument -fuse-ld=lld --no-default-config -xassembler -c -o tmp665304c0/shell32-00000000.spec.o tmp665304c1/shell32-00000000.spec-00000000.s
clang: error: clang integrated assembler command failed with exit code 134 (use -v to see invocation)
clang version 18.1.6
Target: aarch64-unknown-windows-msvc
Thread model: posix
InstalledDir: /data/data/com.termux/files/usr/bin
clang: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
winebuild: /data/data/com.termux/files/usr/bin/clang failed with status 1
winegcc: ./tools/winebuild/winebuild failed
make: *** [Makefile:125767: dlls/shell32/aarch64-windows/shell32.dll] Error 2
~/wine-9.9 $
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycWN1yqzgSfhp80wWFwT_xhS8yib2bquTk1Jkze3avUkJqQGMhUfqx45t99ikBjp0ZnAKnUoHwdetrdTctuokxvJCI62D-WzB_nBBnS6XXGRGkctoVRE6ni0mm2HEdxI9BfP-Uw1E52El1gFIdwCrI-TvYkhuwJUqoBRKDQIRRUCJhXqJVLa2tTZDeB8k2SLYFt6XLIqqqINla1JV7_7gJSV0HyZYb49AEyTZdLRbtGv_8-_8g2R64xHAVrSBIZlCRHbaQVUqYDi4oPd9BqICJBjMlCpEmQbIlRNNyMQsPXDJ1uMAiJgSEYUOisj8Z1xBBmMHfFCD8JYLkoRPMHBeWSwhNSTQyCOYPrVH_JD7RmBrpELNIXWdER-qrNXu0jFE0GrRv4qyiqqoFWhxLk2mTK8FQD6OiJZEFSmV5fhxLRQUxBs1AIsHrTBHNRrMoabUSA1lqIlF8OGAUESOWqOxPpHYYF2OfgzNIBzNXlKIeyMCJUIUZvRFN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