CVSROOT:        /cvs
Module name:    src
Changes by:     st...@cvs.openbsd.org   2019/11/26 03:58:23

Modified files:
        gnu/usr.bin/clang: Makefile.inc 

Log message:
Revert previous "honour DEBUG", otherwise clang uses -g resulting in huge
objects and it running out of memory in the "building shared LLVM library"
stage (at least on i386).

building standard LLVM library
building shared LLVM library (version 1.0)
cc -shared -Wl,-soname,libLLVM.so.1.0 -fpic -o libLLVM.so.1.0  `echo 
AMDGPUAsmParser.so AMDGPUInstPrinter.so AMDGPUAliasAnalysis.so 
AMDGPUAlwaysInlinePass.so AMDGPUAnnotateKernelFeatures.so 
AMDGPUAnnotateUniformValues.so AMDGPUArgumentUsageInfo.so [...snip lots of 
.so...] ThinLTOBitcodeWriter.so WholeProgramDevirt.so | tr ' ' '\n' | sort -R` 
-Wl,--start-group -Wl,--end-group
LLVM ERROR: out of memory
cc: error: unable to execute command: Abort trap
cc: error: linker command failed due to signal (use -v to see invocation)
ar: libLLVM.a: No space left on device
*** Error 1 in gnu/usr.bin/clang/libLLVM (<bsd.lib.mk>:193 'libLLVM.a': @ar cqD 
libLLVM.a `lorder AMDGPUAsmParser.o AMDGPUIn
stPrinter.o AMDG...)
*** Error 254 (<bsd.lib.mk>:225 'libLLVM.so.1.0')

Reply via email to