Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2014 21:42:30 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        FreeBSD ARM <freebsd-arm@freebsd.org>, FreeBSD-Current <freebsd-current@freebsd.org>, portmgr@freebsd.org, FreeBSD ports <freebsd-ports@freebsd.org>, FreeBSD toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: RFT: Please help testing the llvm/clang 3.5.0 import
Message-ID:  <20141219054230.GA1396@funkthat.com>
In-Reply-To: <9A1A4235-3189-4A29-9942-64BF58A703F8@FreeBSD.org>
References:  <8598B1D4-5485-426F-B6D6-22BF26AC5FE1@FreeBSD.org> <9A1A4235-3189-4A29-9942-64BF58A703F8@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric wrote this message on Tue, Dec 16, 2014 at 20:36 +0100:
> * Big-endian ARM is apparently supposed to work, but I'm not sure if
>   Andrew managed to test it on real hardware.

hmmm... I can't get it to compile...  Maybe I'm missing something... I
tried to do:
# make buildworld TARGET_ARCH=3Darmeb WITH_BOOTSTRAP_CLANG=3D WITH_CLANG=3D=
 WITHOUT_GCC=3D WITHOUT_BOOTSTRAP_GCC=3D

This is from an amd64 host, though it is a month or two out of date...

But it ended w/:
c++   -O -pipe -I/a/src/usr.bin/clang/clang/../../../contrib/llvm/include -=
I/a/src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/include -I/a/=
src/usr.bin/clang/clang/../../../contrib/llvm/tools/clang/tools/driver -I. =
-I/a/src/usr.bin/clang/clang/../../../contrib/llvm/../../lib/clang/include =
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MA=
CROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"armeb-gnueabi-fr=
eebsd11.0\" -DLLVM_HOST_TRIPLE=3D\"armeb-unknown-freebsd11.0\" -DDEFAULT_SY=
SROOT=3D\"\"  -fno-exceptions -fno-rtti   -static -o clang cc1_main.o cc1as=
_main.o driver.o /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/=
clang/libclangfrontendtool/libclangfrontendtool.a /usr/obj/arm.armeb/a/src/=
usr.bin/clang/clang/../../../lib/clang/libclangfrontend/libclangfrontend.a =
/usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libclangdri=
ver/libclangdriver.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../=
lib/clang/libclangserialization/libclangserialization.a /usr/obj/arm.armeb/=
a/src/usr.bin/clang/clang/../../../lib/clang/libclangcodegen/libclangcodege=
n.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libclan=
gparse/libclangparse.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../.=
./lib/clang/libclangsema/libclangsema.a /usr/obj/arm.armeb/a/src/usr.bin/cl=
ang/clang/../../../lib/clang/libclanganalysis/libclanganalysis.a /usr/obj/a=
rm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libclangedit/libclang=
edit.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libc=
langast/libclangast.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../..=
/lib/clang/libclangbasic/libclangbasic.a /usr/obj/arm.armeb/a/src/usr.bin/c=
lang/clang/../../../lib/clang/libclanglex/libclanglex.a /usr/obj/arm.armeb/=
a/src/usr.bin/clang/clang/../../../lib/clang/libllvmoption/libllvmoption.a =
/usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmlink=
er/libllvmlinker.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../li=
b/clang/libllvmirreader/libllvmirreader.a /usr/obj/arm.armeb/a/src/usr.bin/=
clang/clang/../../../lib/clang/libllvmipo/libllvmipo.a /usr/obj/arm.armeb/a=
/src/usr.bin/clang/clang/../../../lib/clang/libllvmvectorize/libllvmvectori=
ze.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllv=
minstrumentation/libllvminstrumentation.a /usr/obj/arm.armeb/a/src/usr.bin/=
clang/clang/../../../lib/clang/libllvmbitwriter/libllvmbitwriter.a /usr/obj=
/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmbitreader/li=
bllvmbitreader.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/=
clang/libllvmasmparser/libllvmasmparser.a /usr/obj/arm.armeb/a/src/usr.bin/=
clang/clang/../../../lib/clang/libllvmarmdisassembler/libllvmarmdisassemble=
r.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvm=
armcodegen/libllvmarmcodegen.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang=
/../../../lib/clang/libllvmarmasmparser/libllvmarmasmparser.a /usr/obj/arm.=
armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmarmdesc/libllvmar=
mdesc.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/lib=
llvmarminfo/libllvmarminfo.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/.=
./../../lib/clang/libllvmarminstprinter/libllvmarminstprinter.a /usr/obj/ar=
m.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmmipsdisassemble=
r/libllvmmipsdisassembler.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/..=
/../../lib/clang/libllvmmipscodegen/libllvmmipscodegen.a /usr/obj/arm.armeb=
/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmmipsasmparser/libllvmm=
ipsasmparser.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/cl=
ang/libllvmmipsdesc/libllvmmipsdesc.a /usr/obj/arm.armeb/a/src/usr.bin/clan=
g/clang/../../../lib/clang/libllvmmipsinfo/libllvmmipsinfo.a /usr/obj/arm.a=
rmeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmmipsinstprinter/li=
bllvmmipsinstprinter.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../.=
./lib/clang/libllvmpowerpccodegen/libllvmpowerpccodegen.a /usr/obj/arm.arme=
b/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmpowerpcasmparser/libl=
lvmpowerpcasmparser.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../..=
/lib/clang/libllvmpowerpcdesc/libllvmpowerpcdesc.a /usr/obj/arm.armeb/a/src=
/usr.bin/clang/clang/../../../lib/clang/libllvmpowerpcinfo/libllvmpowerpcin=
fo.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllv=
mpowerpcinstprinter/libllvmpowerpcinstprinter.a /usr/obj/arm.armeb/a/src/us=
r.bin/clang/clang/../../../lib/clang/libllvmsparcdisassembler/libllvmsparcd=
isassembler.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/cla=
ng/libllvmsparccodegen/libllvmsparccodegen.a /usr/obj/arm.armeb/a/src/usr.b=
in/clang/clang/../../../lib/clang/libllvmsparcasmparser/libllvmsparcasmpars=
er.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllv=
msparcdesc/libllvmsparcdesc.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/=
../../../lib/clang/libllvmsparcinfo/libllvmsparcinfo.a /usr/obj/arm.armeb/a=
/src/usr.bin/clang/clang/../../../lib/clang/libllvmsparcinstprinter/libllvm=
sparcinstprinter.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../li=
b/clang/libllvmx86disassembler/libllvmx86disassembler.a /usr/obj/arm.armeb/=
a/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86asmparser/libllvmx86=
asmparser.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang=
/libllvmx86codegen/libllvmx86codegen.a /usr/obj/arm.armeb/a/src/usr.bin/cla=
ng/clang/../../../lib/clang/libllvmselectiondag/libllvmselectiondag.a /usr/=
obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmasmprinte=
r/libllvmasmprinter.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../..=
/lib/clang/libllvmmcparser/libllvmmcparser.a /usr/obj/arm.armeb/a/src/usr.b=
in/clang/clang/../../../lib/clang/libllvmcodegen/libllvmcodegen.a /usr/obj/=
arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmobjcarcopts/l=
ibllvmobjcarcopts.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../l=
ib/clang/libllvmscalaropts/libllvmscalaropts.a /usr/obj/arm.armeb/a/src/usr=
.bin/clang/clang/../../../lib/clang/libllvminstcombine/libllvminstcombine.a=
 /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmtra=
nsformutils/libllvmtransformutils.a /usr/obj/arm.armeb/a/src/usr.bin/clang/=
clang/../../../lib/clang/libllvmipa/libllvmipa.a /usr/obj/arm.armeb/a/src/u=
sr.bin/clang/clang/../../../lib/clang/libllvmanalysis/libllvmanalysis.a /us=
r/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86desc=
/libllvmx86desc.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib=
/clang/libllvmx86info/libllvmx86info.a /usr/obj/arm.armeb/a/src/usr.bin/cla=
ng/clang/../../../lib/clang/libllvmtarget/libllvmtarget.a /usr/obj/arm.arme=
b/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmx86instprinter/libllv=
mx86instprinter.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib=
/clang/libllvmmc/libllvmmc.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/.=
./../../lib/clang/libllvmobject/libllvmobject.a /usr/obj/arm.armeb/a/src/us=
r.bin/clang/clang/../../../lib/clang/libllvmx86utils/libllvmx86utils.a /usr=
/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/libllvmcore/lib=
llvmcore.a /usr/obj/arm.armeb/a/src/usr.bin/clang/clang/../../../lib/clang/=
libllvmsupport/libllvmsupport.a -lncursesw
/usr/obj/arm.armeb/a/src/tmp/usr/lib/crt1.o: In function `__start':
crt1.c:(.text+0xb4): relocation truncated to fit: R_ARM_CALL against symbol=
 `atexit' defined in .text section in /usr/obj/arm.armeb/a/src/tmp/usr/lib/=
libc.a(atexit.o)
crt1.c:(.text+0xbc): relocation truncated to fit: R_ARM_CALL against symbol=
 `_init_tls' defined in .text section in /usr/obj/arm.armeb/a/src/tmp/usr/l=
ib/libc.a(tls.o)
crt1.c:(.text+0xc4): relocation truncated to fit: R_ARM_CALL against symbol=
 `atexit' defined in .text section in /usr/obj/arm.armeb/a/src/tmp/usr/lib/=
libc.a(atexit.o)
crt1.c:(.text+0x164): relocation truncated to fit: R_ARM_CALL against symbo=
l `exit' defined in .text section in /usr/obj/arm.armeb/a/src/tmp/usr/lib/l=
ibc.a(exit.o)
/usr/obj/arm.armeb/a/src/tmp/usr/lib/crt1.o: In function `finalizer':
crt1.c:(.text+0x1d4): relocation truncated to fit: R_ARM_CALL against symbo=
l `_fini' defined in .fini section in /usr/obj/arm.armeb/a/src/tmp/usr/lib/=
crti.o
cc1_main.o: In function `__static_initialization_and_destruction_0(int, int=
)':
cc1_main.cpp:(.text+0xdc): relocation truncated to fit: R_ARM_CALL against =
symbol `getenv' defined in .text section in /usr/obj/arm.armeb/a/src/tmp/us=
r/lib/libc.a(getenv.o)
cc1_main.cpp:(.text+0x2c4): relocation truncated to fit: R_ARM_CALL against=
 symbol `std::basic_string<char, std::char_traits<char>, std::allocator<cha=
r> >::basic_string(char const*, std::allocator<char> const&)' defined in .t=
ext._ZNSsC1EPKcRKSaIcE[_ZNSsC1EPKcRKSaIcE] section in /usr/obj/arm.armeb/a/=
src/tmp/usr/lib/libstdc++.a(string-inst.o)
cc1_main.cpp:(.text+0x374): relocation truncated to fit: R_ARM_JUMP24 again=
st symbol `__gnu_cxx::__exchange_and_add(int volatile*, int)' defined in .t=
ext._ZN9__gnu_cxx18__exchange_and_addEPVii section in /usr/obj/arm.armeb/a/=
src/tmp/usr/lib/libstdc++.a(atomicity.o)
cc1_main.cpp:(.text+0x388): relocation truncated to fit: R_ARM_JUMP24 again=
st symbol `std::string::_Rep::_M_destroy(std::allocator<char> const&)' defi=
ned in .text._ZNSs4_Rep10_M_destroyERKSaIcE[_ZNSs4_Rep10_M_destroyERKSaIcE]=
 section in /usr/obj/arm.armeb/a/src/tmp/usr/lib/libstdc++.a(string-inst.o)
cc1_main.cpp:(.text+0x3a0): relocation truncated to fit: R_ARM_CALL against=
 symbol `std::basic_string<char, std::char_traits<char>, std::allocator<cha=
r> >::basic_string(char const*, std::allocator<char> const&)' defined in .t=
ext._ZNSsC1EPKcRKSaIcE[_ZNSsC1EPKcRKSaIcE] section in /usr/obj/arm.armeb/a/=
src/tmp/usr/lib/libstdc++.a(string-inst.o)
cc1_main.cpp:(.text+0x44c): additional relocation overflows omitted from th=
e output
*** Error code 1

Stop.
make[5]: stopped in /a/src/usr.bin/clang/clang
*** Error code 1

Stop.
make[4]: stopped in /a/src/usr.bin/clang
*** Error code 1

Stop.
make[3]: stopped in /a/src/usr.bin
*** Error code 1

Stop.
make[2]: stopped in /a/src
*** Error code 1

Stop.
make[1]: stopped in /a/src
*** Error code 1

Stop.
make: stopped in /a/src

--=20
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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