[llvm-bugs] [Bug 52438] New: LLVM ERROR: out of memory building CMake on OpenBSD 7.0 on macppc

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 8 07:29:52 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=52438

            Bug ID: 52438
           Summary: LLVM ERROR: out of memory building CMake on OpenBSD
                    7.0 on macppc
           Product: new-bugs
           Version: 11.0
          Hardware: Macintosh
                OS: OpenBSD
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: sean at rogue-research.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 25428
  --> https://bugs.llvm.org/attachment.cgi?id=25428&action=edit
Requested .sh

For fun, I installed OpenBSD 7.0 (current newest) on an old PowerMac G5 sitting
in a room collecting dust.  It comes with:

OpenBSD clang version 11.1.0
Target: powerpc-unknown-openbsd7.0
Thread model: posix
InstalledDir: /usr/bin

I tried to build CMake from its git master, and got:

```
[ 44%] Building CXX object
Source/CMakeFiles/CMakeLib.dir/cmCMakePresetsFileReadJSON.cxx.o
LLVM ERROR: out of memory
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: /usr/bin/c++ -DLIBARCHIVE_STATIC
-I/home/builder/external/CMake-Clang-dbg/Utilities
-I/home/builder/external/CMake-Clang-dbg/Source
-I/home/builder/external/CMake/Source
-I/home/builder/external/CMake/Source/LexerParser
-I/home/builder/external/CMake/Source/CTest -I/usr/local/include
-I/home/builder/external/CMake/Source/CPack -isystem
/home/builder/external/CMake/Utilities/std -isystem
/home/builder/external/CMake/Utilities -std=c++17 -Wnon-virtual-dtor
-Wcast-align -Wchar-subscripts -Wall -W -Wshadow -Wpointer-arith
-Wformat-security -Wundef -g -MD -MT
Source/CMakeFiles/CMakeLib.dir/cmCMakePresetsFileReadJSON.cxx.o -MF
CMakeFiles/CMakeLib.dir/cmCMakePresetsFileReadJSON.cxx.o.d -o
CMakeFiles/CMakeLib.dir/cmCMakePresetsFileReadJSON.cxx.o -c
/home/builder/external/CMake/Source/cmCMakePresetsFileReadJSON.cxx 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'/home/builder/external/CMake/Source/cmCMakePresetsFileReadJSON.cxx'.
4.      Running pass 'Linux PPC Assembly Printer' on function
'@_ZNKSt3__16vectorIN18cmJSONObjectHelperIN18cmCMakePresetsFile15ConfigurePresetENS2_14ReadFileResultEE6MemberENS_9allocatorIS6_EEE8max_sizeEv'
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
OpenBSD clang version 11.1.0
Target: powerpc-unknown-openbsd7.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/cmCMakePresetsFileReadJSON-5371b6.cpp
c++: note: diagnostic msg: /tmp/cmCMakePresetsFileReadJSON-5371b6.sh
c++: note: diagnostic msg: 

********************
*** Error 254 in . (Source/CMakeFiles/CMakeLib.dir/build.make:482
'Source/CMakeFiles/CMakeLib.dir/cmCMakePresetsFileReadJSON.cxx.o': cd /hom...)
*** Error 2 in . (CMakeFiles/Makefile2:2040
'Source/CMakeFiles/CMakeLib.dir/all': make -s -f
Source/CMakeFiles/CMakeLib.dir/build.make Sourc...)
*** Error 2 in /home/builder/external/CMake-Clang-dbg (Makefile:166 'all': make
-s -f CMakeFiles/Makefile2 all)
```

Requested files are attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20211108/b010791f/attachment.html>


More information about the llvm-bugs mailing list