LLVM error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

LLVM error

david rosier
LLVM ERROR: out of memory
Stack dump:
0.      Program arguments: c++ -O2 -pipe -fno-ret-protector -mno-retpoline
-std=c++14 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wdelete-non-virtual-dtor -Wno-comment -fno-pie -MD -MP
-I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include/clang/AST
-I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/include
-I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/llvm/include
-I/usr/src/gnu/usr.bin/clang/libclangAST/../include
-I/usr/src/gnu/usr.bin/clang/libclangAST/obj
-I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include -DNDEBUG
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DLLVM_PREFIX="/usr" -c -MD -MP -MT ASTImporter.o -MT ASTImporter.po -MT
ASTImporter.so -MT ASTImporter.do
/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/ASTImporter.cpp
-o ASTImporter.o.o
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'Interprocedural Sparse Conditional Constant
Propagation' on module
'/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/ASTImporter.cpp'.
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
OpenBSD clang version 10.0.1
Target: amd64-unknown-openbsd6.9
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source,
and associated run script.
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/ASTImporter-a0794c.cpp
c++: note: diagnostic msg: /tmp/ASTImporter-a0794c.sh
c++: note: diagnostic msg:

********************
*** Error 254 in gnu/usr.bin/clang/libclangAST (<bsd.lib.mk>:67
'ASTImporter.o': @c++ -O2 -pipe  -fno-ret-protector -mno-retpoline
-std=c++1...)
*** Error 2 in gnu/usr.bin/clang (<bsd.subdir.mk>:48 'all': @for entry in
include/llvm/Config libLLVMSupport libLLVMTableGen llvm-tblgen inc...)
*** Error 2 in gnu/usr.bin (<bsd.subdir.mk>:48 'all': @for entry in cc
clang cxxfilt cvs binutils binutils-2.17 perl texinfo; do  set -e; if...)
*** Error 2 in gnu (<bsd.subdir.mk>:48 'all': @for entry in lib usr.bin
usr.sbin; do  set -e; if test -d /usr/src/gnu/${entry}.amd64; then  ...)
*** Error 2 in . (<bsd.subdir.mk>:48 'all': @for entry in lib include bin
libexec sbin usr.bin usr.sbin share games gnu sys; do  set -e; if ...)
*** Error 2 in . (Makefile:97 'do-build')
*** Error 2 in /usr/src (Makefile:74 'build')
--
Unix is very simple, but it takes a genius to understand the simplicity.
Reply | Threaded
Open this post in threaded view
|

Re: LLVM error

Otto Moerbeek
On Fri, Feb 19, 2021 at 08:09:02PM -0500, david rosier wrote:

This is not a bug.  Likely you did not run sysmerge when upgrading,
recently the memory limits were upped.

vsweb.openbsd.org/cgi-bin/cvsweb/src/etc/etc.arm64/login.conf.diff?r1=1.7&r2=1.8&f=h

        -Otto

> LLVM ERROR: out of memory
> Stack dump:
> 0.      Program arguments: c++ -O2 -pipe -fno-ret-protector -mno-retpoline
> -std=c++14 -fvisibility-inlines-hidden -fno-exceptions -fno-rtti -Wall -W
> -Wno-unused-parameter -Wwrite-strings -Wcast-qual
> -Wno-missing-field-initializers -pedantic -Wno-long-long
> -Wdelete-non-virtual-dtor -Wno-comment -fno-pie -MD -MP
> -I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include/clang/AST
> -I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/include
> -I/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/llvm/include
> -I/usr/src/gnu/usr.bin/clang/libclangAST/../include
> -I/usr/src/gnu/usr.bin/clang/libclangAST/obj
> -I/usr/src/gnu/usr.bin/clang/libclangAST/obj/../include -DNDEBUG
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
> -DLLVM_PREFIX="/usr" -c -MD -MP -MT ASTImporter.o -MT ASTImporter.po -MT
> ASTImporter.so -MT ASTImporter.do
> /usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/ASTImporter.cpp
> -o ASTImporter.o.o
> 1.      <eof> parser at end of file
> 2.      Per-module optimization passes
> 3.      Running pass 'Interprocedural Sparse Conditional Constant
> Propagation' on module
> '/usr/src/gnu/usr.bin/clang/libclangAST/../../../llvm/clang/lib/AST/ASTImporter.cpp'.
> c++: error: clang frontend command failed due to signal (use -v to see
> invocation)
> OpenBSD clang version 10.0.1
> Target: amd64-unknown-openbsd6.9
> Thread model: posix
> InstalledDir: /usr/bin
> c++: note: diagnostic msg: PLEASE submit a bug report to
> http://llvm.org/bugs/ and include the crash backtrace, preprocessed source,
> and associated run script.
> 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/ASTImporter-a0794c.cpp
> c++: note: diagnostic msg: /tmp/ASTImporter-a0794c.sh
> c++: note: diagnostic msg:
>
> ********************
> *** Error 254 in gnu/usr.bin/clang/libclangAST (<bsd.lib.mk>:67
> 'ASTImporter.o': @c++ -O2 -pipe  -fno-ret-protector -mno-retpoline
> -std=c++1...)
> *** Error 2 in gnu/usr.bin/clang (<bsd.subdir.mk>:48 'all': @for entry in
> include/llvm/Config libLLVMSupport libLLVMTableGen llvm-tblgen inc...)
> *** Error 2 in gnu/usr.bin (<bsd.subdir.mk>:48 'all': @for entry in cc
> clang cxxfilt cvs binutils binutils-2.17 perl texinfo; do  set -e; if...)
> *** Error 2 in gnu (<bsd.subdir.mk>:48 'all': @for entry in lib usr.bin
> usr.sbin; do  set -e; if test -d /usr/src/gnu/${entry}.amd64; then  ...)
> *** Error 2 in . (<bsd.subdir.mk>:48 'all': @for entry in lib include bin
> libexec sbin usr.bin usr.sbin share games gnu sys; do  set -e; if ...)
> *** Error 2 in . (Makefile:97 'do-build')
> *** Error 2 in /usr/src (Makefile:74 'build')
> --
> Unix is very simple, but it takes a genius to understand the simplicity.