Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Nov 2011 15:09:12 -0400
From:      "Michael W. Lucas" <mwlucas@blackhelicopters.org>
To:        current@freebsd.org
Subject:   9.0/i386 build failure
Message-ID:  <20111104190912.GA21948@bewilderbeast.blackhelicopters.org>

next in thread | raw e-mail | index | archive | help

I suspect I'm building on a system that's too old, but it's worth
asking.

FreeBSD eyeball.lodden.com 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Sat Aug 29 0=
0:31:14 EDT 2009     mwlucas@stretchlimo.blackhelicopters.org:/usr/obj/usr/=
src/sys/GENERIC  i386

csup today.  no /etc/src.conf, /etc/make.conf only contains a perl
definition.

=2E..
c++ -O2 -pipe -I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/include=
 -I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/tools/clang/include =
-I/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/utils/TableGen -I. -I=
/usr/src/usr.bin/clang/tblgen/../../../contrib/llvm/../../lib/clang/include=
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_M=
ACROS -DLLVM_HOSTTRIPLE=3D\"i386-unknown-freebsd9.0\" -I/usr/obj/usr/src/tm=
p/legacy/usr/include  -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o tblg=
en ARMDecoderEmitter.o AsmMatcherEmitter.o AsmWriterEmitter.o AsmWriterInst=
.o CallingConvEmitter.o CodeEmitterGen.o CodeGenDAGPatterns.o CodeGenInstru=
ction.o CodeGenRegisters.o CodeGenTarget.o DAGISelEmitter.o DAGISelMatcher.=
o DAGISelMatcherEmitter.o DAGISelMatcherGen.o DAGISelMatcherOpt.o Disassemb=
lerEmitter.o EDEmitter.o FastISelEmitter.o FixedLenDecoderEmitter.o InstrEn=
umEmitter.o InstrInfoEmitter.o IntrinsicEmitter.o PseudoLoweringEmitter.o R=
egisterInfoEmitter.o SetTheory.o StringMatcher.o SubtargetEmitter.o TGValue=
Types.o TableGen.o X86DisassemblerTables.o X86RecognizableInstr.o /usr/obj/=
usr/src/tmp/usr/src/usr.bin/clang/tblgen/../../../lib/clang/libllvmtablegen=
/libllvmtablegen.a /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblgen/../../=
../lib/clang/libllvmsupport/libllvmsupport.a -legacy
/usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblgen/../../../lib/clang/libllv=
msupport/libllvmsupport.a(Atomic.o)(.text+0x25): In function `llvm::sys::At=
omicIncrement(unsigned int volatile*)':
: undefined reference to `__sync_add_and_fetch_4'
/usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblgen/../../../lib/clang/libllv=
msupport/libllvmsupport.a(Atomic.o)(.text+0x45): In function `llvm::sys::At=
omicDecrement(unsigned int volatile*)':
: undefined reference to `__sync_sub_and_fetch_4'
/usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblgen/../../../lib/clang/libllv=
msupport/libllvmsupport.a(Atomic.o)(.text+0x5): In function `llvm::sys::Ato=
micAdd(unsigned int volatile*, unsigned int)':
: undefined reference to `__sync_add_and_fetch_4'
/usr/obj/usr/src/tmp/usr/src/usr.bin/clang/tblgen/../../../lib/clang/libllv=
msupport/libllvmsupport.a(Atomic.o)(.text+0x61): In function `llvm::sys::Co=
mpareAndSwap(unsigned int volatile*, unsigned int, unsigned int)':
: undefined reference to `__sync_val_compare_and_swap_4'
*** Error code 1

Stop in /usr/src/usr.bin/clang/tblgen.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1



--=20
Michael W. Lucas =09
http://www.MichaelWLucas.com/, http://blather.MichaelWLucas.com/
Latest book: Network Flow Analysis http://www.networkflowanalysis.com/
mwlucas@BlackHelicopters.org, Twitter @mwlauthor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111104190912.GA21948>