Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2017 16:46:08 +0100
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        freebsd-arm@freebsd.org
Subject:   Re: 12-CURRENT: AARCH64 buildworld broken
Message-ID:  <20170114164608.7ce5d905@thor.intern.walstatt.dynvpn.de>
In-Reply-To: <20170114114515.3ba2ca7b@thor.intern.walstatt.dynvpn.de>
References:  <1825cb2c02420789f5fdb3f63d7a2d62@forodelsectorsocial.org.ar> <20170114114515.3ba2ca7b@thor.intern.walstatt.dynvpn.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/wc=koZIjBrnlNx6M1VvQ4Mf
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Am Sat, 14 Jan 2017 11:45:15 +0100
"O. Hartmann" <o.hartmann@walstatt.org> schrieb:

> I try to compile world of 12-CURRENT (r312163) since a couple of days now=
 (the failure
> started before Christmas 2016, so its weeks now). I'm bothered with the v=
ery same
> problem since then, as the error shown below indicates. There is a miscom=
pilation quite
> shortly after buildworld starts and I do not know what this error is trig=
gered by.
>=20
> I also do not know where to post questions like this, is it list ARM or i=
s it list
> EMBEDDED?
>=20
> The target is to try something on Hardkernel's ODROID-C2, which seems to =
be completely
> unsupported by FreeBSD but is a very promising piece of hardware for seve=
ral projects
> like ASTERISK PBX (if it is working), survailance/monitoring (not even we=
ather/climate)
> and other interesting stuff.
>=20
> Thank you very much in advance for help or hints/tips,
>=20
> Oliver=20

I found out that this error is due to a miscompilation of CLANG 3.9.1 when =
optimisation
level -O3 has been selected. With -O2, the error vanishes.

>=20
> [...]
> mtree -deU -f /pool/sources/CURRENT/src/etc/mtree/BSD.include.dist
> -p /pool/nanobsd/aarch64/ODROIDC2_aarch64/arm64.aarch64/pool/sources/CURR=
ENT/src/tmp/usr/include
> >/dev/null ln
> >-sf /pool/sources/CURRENT/src/sys /pool/nanobsd/aarch64/ODROIDC2_aarch64=
/arm64.aarch64/pool/sources/CURRENT/src/tmp
> >--- _legacy --- =20
> --------------------------------------------------------------
> >>> stage 1.1: legacy release compatibility shims =20
> --------------------------------------------------------------
> cd /pool/sources/CURRENT/src;
> MAKEOBJDIRPREFIX=3D/pool/nanobsd/aarch64/ODROIDC2_aarch64/arm64.aarch64/p=
ool/sources/CURRENT/src/tmp
> INSTALL=3D"sh /pool/sources/CURRENT/src/tools/install.sh"
> TOOLS_PREFIX=3D/pool/nanobsd/aarch64/ODROIDC2_aarch64/arm64.aarch64/pool/=
sources/CURRENT/src/tmp
> PATH=3D/pool/nanobsd/aarch64/ODROIDC2_aarch64/arm64.aarch64/pool/sources/=
CURRENT/src/tmp/legacy/usr/sbin:/pool/nanobsd/aarch64/ODROIDC2_aarch64/arm6=
4.aarch64/pool/sources/CURRENT/src/tmp/legacy/usr/bin:/pool/nanobsd/aarch64=
/ODROIDC2_aarch64/arm64.aarch64/pool/sources/CURRENT/src/tmp/legacy/bin:/sb=
in:/bin:/usr/sbin:/usr/bin
> WORLDTMP=3D/pool/nanobsd/aarch64/ODROIDC2_aarch64/arm64.aarch64/pool/sour=
ces/CURRENT/src/tmp
> MAKEFLAGS=3D"-m /pool/sources/CURRENT/src/tools/build/mk  -j 4 -J 15,16
> -m /pool/sources/CURRENT/src/share/mk" make  -f Makefile.inc1  DESTDIR=3D
> BOOTSTRAPPING=3D1200020  SSP_CFLAGS=3D  MK_HTML=3Dno NO_LINT=3Dyes MK_MAN=
=3Dno  -DNO_PIC
> MK_PROFILE=3Dno -DNO_SHARED  -DNO_CPU_CFLAGS MK_WARNS=3Dno MK_CTF=3Dno  M=
K_CLANG_EXTRAS=3Dno
> MK_CLANG_FULL=3Dno  MK_LLDB=3Dno MK_TESTS=3Dno  MK_INCLUDES=3Dyes legacy =
--- legacy --- =3D=3D=3D>
> tools/build (obj,includes,all,install) --- obj
> --- /pool/nanobsd/aarch64/ODROIDC2_aarch64/arm64.aarch64/pool/sources/CUR=
RENT/src/tmp/pool/sources/CURRENT/src/tools/build
> created for /pool/sources/CURRENT/src/tools/build --- dummy.o --- cc  -O3=
 -pipe
> -DNDEBUG -MD  -MF.depend.dummy.o -MTdummy.o -std=3Dgnu99  -Qunused-argume=
nts
> -I/pool/nanobsd/aarch64/ODROIDC2_aarch64/arm64.aarch64/pool/sources/CURRE=
NT/src/tmp/legacy/usr/include
> -c /pool/sources/CURRENT/src/tools/build/dummy.c -o dummy.o --- libegacy.a
> --- ...skipping... numa_getaffinity.pico: In function `numa_getaffinity':=
 (.text+0x8):
> relocation truncated to fit: R_AARCH64_CONDBR19 against symbol `cerror' d=
efined in .text
> section in cerror.pico procctl.pico: In function `procctl': (.text+0x8): =
relocation
> truncated to fit: R_AARCH64_CONDBR19 against symbol `cerror' defined in .=
text section in
> cerror.pico aio_mlock.pico: In function `aio_mlock': (.text+0x8): relocat=
ion truncated
> to fit: R_AARCH64_CONDBR19 against symbol `cerror' defined in .text secti=
on in
> cerror.pico chflagsat.pico: In function `chflagsat': (.text+0x8): relocat=
ion truncated
> to fit: R_AARCH64_CONDBR19 against symbol `cerror' defined in .text secti=
on in
> cerror.pico connectat.pico: In function `connectat': (.text+0x8): relocat=
ion truncated
> to fit: R_AARCH64_CONDBR19 against symbol `cerror' defined in .text secti=
on in
> cerror.pico bindat.pico: In function `bindat': (.text+0x8): relocation tr=
uncated to fit:
> R_AARCH64_CONDBR19 against symbol `cerror' defined in .text section in ce=
rror.pico
> cap_fcntls_get.pico: In function `cap_fcntls_get': (.text+0x8): relocatio=
n truncated to
> fit: R_AARCH64_CONDBR19 against symbol `cerror' defined in .text section =
in cerror.pico
> cap_fcntls_limit.pico: In function `cap_fcntls_limit': (.text+0x8): reloc=
ation truncated
> to fit: R_AARCH64_CONDBR19 against symbol `cerror' defined in .text secti=
on in
> cerror.pico cap_ioctls_get.pico: In function `cap_ioctls_get': (.text+0x8=
): relocation
> truncated to fit: R_AARCH64_CONDBR19 against symbol `cerror' defined in .=
text section in
> cerror.pico cap_ioctls_limit.pico: In function `cap_ioctls_limit': (.text=
+0x8):
> additional relocation overflows omitted from the output cc: error: linker=
 command failed
> with exit code 1 (use -v to see invocation) *** [libc.so.7] Error code 1
>=20
>=20



--=20
O. Hartmann

Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr
Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.=
 4 BDSG).

--Sig_/wc=koZIjBrnlNx6M1VvQ4Mf
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWHpHwAAKCRDS528fyFhY
lA9nAf4wOnYtvIfCcJLTTpO5CSbo9LhhGH53wEcLlYq2hYaVOG0/moz+Q5FaSXI4
d1I5Dndf7xWQxjPEFXnqoBCNSmZJAf0d+cgsC0McfKKZBx9emJvYctJsZrIzB2nq
QYou5kSRhNMRK80LiasVjfc1Ji+uLvUJamegYN4eX6u0CliNPpS4
=p3bp
-----END PGP SIGNATURE-----

--Sig_/wc=koZIjBrnlNx6M1VvQ4Mf--



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