[LLVMbugs] [Bug 9758] New: r129518 breaks bootstrap on FreeBSD with binutils 2.15
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 20 10:43:27 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=9758
Summary: r129518 breaks bootstrap on FreeBSD with binutils 2.15
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: pawel.worach at gmail.com
CC: llvmbugs at cs.uiuc.edu
Hi,
On FreeBSD 8.2 the binutils version is 2.15 [FreeBSD] 2004-05-23.
Since r129518 and r129571 (when the change was re-introduced after a backout in
r129557) boostrapping llvm/clang on FreeBSD has been broken.
The second stage build dies with:
llvm[2]: Linking Release+Asserts executable tblgen (without symbols)
local symbol 0: discarded in section `.text._ZN4llvm15TableGenBackendD1Ev' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmMatcherEmitter.o
local symbol 1: discarded in section `.text._ZN4llvm15TableGenBackendD0Ev' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmMatcherEmitter.o
local symbol 2: discarded in section `.text._ZN4llvm13CodeGenTargetD2Ev' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmMatcherEmitter.o
local symbol 3: discarded in section `.text._ZN4llvm20CodeGenRegisterClassD2Ev'
from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmMatcherEmitter.o
local symbol 4: discarded in section
`.text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 5: discarded in section
`.text._ZNSt6vectorIPKN4llvm18CodeGenInstructionESaIS3_EEaSERKS5_' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 6: discarded in section
`.text._ZNSt6vectorIjSaIjEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPjS1_EERKj'
from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 7: discarded in section `.text._ZN4llvm15TableGenBackendD1Ev' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 8: discarded in section `.text._ZN4llvm15TableGenBackendD0Ev' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 9: discarded in section
`.text._ZN4llvm11raw_ostream11changeColorENS0_6ColorsEbb' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 10: discarded in section
`.text._ZN4llvm11raw_ostream10resetColorEv' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 11: discarded in section
`.text._ZNK4llvm11raw_ostream12is_displayedEv' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 12: discarded in section
`.text._ZNK4llvm18raw_string_ostream11current_posEv' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 13: discarded in section `.text._ZN4llvm7TGErrorD1Ev' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
local symbol 14: discarded in section `.text._ZN4llvm13CodeGenTargetD2Ev' from
/data/buildslave/freebsd-clang-amd64/obj/obj-llvm.2/utils/TableGen/Release+Asserts/AsmWriterEmitter.o
...
<plenty more messages like these>
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can this be fixed in a way that does not require binutils to be upgraded ?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list