From owner-freebsd-arm@freebsd.org Sat Jan 14 15:46:23 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF689CAD58F for ; Sat, 14 Jan 2017 15:46:23 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 20CF61166 for ; Sat, 14 Jan 2017 15:46:22 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([78.52.169.141]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M5r89-1cdnHr2YQL-00xseZ for ; Sat, 14 Jan 2017 16:46:14 +0100 Date: Sat, 14 Jan 2017 16:46:08 +0100 From: "O. Hartmann" 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> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/wc=koZIjBrnlNx6M1VvQ4Mf"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:Nvy7FIhqfavn4zLCsy9d9AQmBcdZDxfkMuIQ0KBiuHjX5DRsgut PTNXjCSprnXegz+e03Pj3yKaXxWLzTA9psEPLIl31Xv7XHiw9n/glL51iZv8w4GetF/Nawx vX+BQXJuJKz2+XP1cvGsB9JIv84YMfzQbIDPV+kuaeZiGjTYdlqFmqinsxFsxBbASVbJn4c 8iS1VE/aJIefmJqz8OMrw== X-UI-Out-Filterresults: notjunk:1;V01:K0:WH2n1FLf+Kg=:Eph8mDoBnF9T2AtaWABzYK DKtyF0tc8NWwoM7IYzE8guYjhX0E3CpAI7oe8nhqtVcToWKddZOO/9/dN4myah+4rkvOBrHIW T9I9Be4QAeQN7vA76E97l7yAE69pxa2BhMQksvZonli50+e0aVWpHe5sPD4RcmJAVp0EYti75 OxwejjxXat2CVQxzYTGiw5ueBMGmjaaLmFfq4FG+6VtNcCkodNsokSIE5L2rLmKH4KI+pWTVU BcMU5b1dZLWxNHXw36JjawFA3nR65lrPLX17tD6dWlJZTgT1NXw51j3D52cJxNsLQbZMD7VO3 4X87DICoD2LWItLb4udeahzsdIODBHn7laT/fJKfUgBj3n8bSCdK4PaBYV4db8o9Yy8/0/bBy kfyo25Qaly+qyI1JKCAmCfRB/13Oung+YS94tGN4xe1AI21pMay3uppSKfOKjipO5gaQ7e/Y7 3O9/oWt42rHTgK2ewJR0wx+cLDnQ+n0cfWSArFYIl+UGp5cDp2qgGMlSctFkeUMp153O/HVGx A6CW0EQaXPmDcpFR31I34q8uoY7FjZmejlHejROy5TGdN+TjGes8UnQtFIg1Sc/SX5Ud3N5In /pYZjtR15OXuaEUnpP1W/KcrjgMF9FudR9xqAyJ6QK1uqf0xY61W6ahaHEjE1mYtC46jqLd3s ioaxc2UFMxORJ7Zp60+mvD4X6sPWo/+0gsP12EqLqWV3Am+JztV3zLOzVXICLYy2UHfn4dYmA g+DOoJSsXn0pq/gNE5woNqzGQyxw9E9R0yfPh/MZ7+i6oVB6Uyn5Ny494tA= X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2017 15:46:23 -0000 --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" 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--