On 2010-10-07 09:27, Dmitry Krivenok wrote: > c++: Internal error: Killed: 9 (program ld) > Please submit a full bug report. > See<URL:http://gcc.gnu.org/bugs.html> for instructions. > root_at_csx-spb-freebsd9 11:12:52 /usr/src/obj/usr/src/usr.bin/clang/clang # [1] > > Have anyone seen this problem before? Any workarounds? > Should I go ahead and submit gcc bug? This is 'ld' dying, not gcc. As to what the cause of the problem is, I have no idea, since it links fine here, I just tested it. Can you try appending "-Wl,--verbose" to your link command line, and post the output somewhere? Alternatively, add "-v" to the command line, figure out what arguments c++ calls ld with, and run that command separately under gdb. E.g. it should run something similar to (formatted for clarity): /usr/obj/usr/src/tmp/usr/bin/ld \ --eh-frame-hdr \ -V \ -dynamic-linker /libexec/ld-elf.so.1 \ -o clang \ /usr/obj/usr/src/tmp/usr/lib/crt1.o \ /usr/obj/usr/src/tmp/usr/lib/crti.o \ /usr/obj/usr/src/tmp/usr/lib/crtbegin.o \ -L/usr/obj/usr/src/tmp/usr/lib \ -L/usr/obj/usr/src/tmp/usr/lib \ cc1_main.o \ cc1as_main.o \ driver.o \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangfrontendtool/libclangfrontendtool.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangfrontend/libclangfrontend.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangdriver/libclangdriver.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangserialization/libclangserialization.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangcodegen/libclangcodegen.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangparse/libclangparse.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangsema/libclangsema.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangchecker/libclangchecker.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclanganalysis/libclanganalysis.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangindex/libclangindex.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangrewrite/libclangrewrite.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangast/libclangast.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclanglex/libclanglex.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libclangbasic/libclangbasic.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvminstcombine/libllvminstcombine.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmipo/libllvmipo.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmbitwriter/libllvmbitwriter.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmbitreader/libllvmbitreader.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmpowerpccodegen/libllvmpowerpccodegen.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmpowerpcasmprinter/libllvmpowerpcasmprinter.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmpowerpcinfo/libllvmpowerpcinfo.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86asmparser/libllvmx86asmparser.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86disassembler/libllvmx86disassembler.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86codegen/libllvmx86codegen.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86asmprinter/libllvmx86asmprinter.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86info/libllvmx86info.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmipsasmprinter/libllvmmipsasmprinter.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmipscodegen/libllvmmipscodegen.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmipsinfo/libllvmmipsinfo.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmarmasmparser/libllvmarmasmparser.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmarmcodegen/libllvmarmcodegen.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmarmasmprinter/libllvmarmasmprinter.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmasmparser/libllvmasmparser.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmselectiondag/libllvmselectiondag.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmasmprinter/libllvmasmprinter.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmcodegen/libllvmcodegen.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmscalaropts/libllvmscalaropts.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmtransformutils/libllvmtransformutils.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmc/libllvmmc.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmcparser/libllvmmcparser.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmipa/libllvmipa.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmanalysis/libllvmanalysis.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmtarget/libllvmtarget.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmmc/libllvmmc.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmcore/libllvmcore.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmarminfo/libllvmarminfo.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmsupport/libllvmsupport.a \ /usr/obj/usr/src/usr.bin/clang/clang/../../../lib/clang/libllvmsystem/libllvmsystem.a \ -lstdc++ \ -lm \ -lgcc_s \ -lgcc \ -lc \ -lssp_nonshared \ -lgcc_s \ -lgcc \ /usr/obj/usr/src/tmp/usr/lib/crtend.o \ /usr/obj/usr/src/tmp/usr/lib/crtn.oReceived on Thu Oct 07 2010 - 07:52:43 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC