Date: Mon, 10 Nov 2014 14:29:31 -0500 From: Shawn Webb <lattera@gmail.com> To: freebsd-arm@freebsd.org Subject: Re: building cross-compiling tools on -CURRENT Message-ID: <5461121B.50604@gmail.com> In-Reply-To: <1414689732.17308.173.camel@revolution.hippie.lan> References: <54527218.2090008@ceetonetechnology.com> <1414689732.17308.173.camel@revolution.hippie.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/30/2014 1:22 PM, Ian Lepore wrote: > On Thu, 2014-10-30 at 13:15 -0400, George Rosamond wrote: >> Using a new build box running head with r273764, and running into an >> issue building the cross compiler tools. Using source based in /usr/src >> on an amd64 box. I do have devel/gperf installed as per /usr/src/UPDATING. >> >> Running this from /usr/src: >> >> make TARGET=arm TARGET_ARCH=armv6 WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 >> WITHOUT_CLANG=1 WITHOUT_CLANG_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1 xdev >> >> I changed "XDEV" and "XDEV_ARCH to "TARGET" and "TARGET_ARCH" as per >> /usr/src/UPDATING from 20140723, but also tried "XDEV" "XDEV_ARCH". If >> I'm reading this right, Crochet should take that into account. >> >> I did clear out /usr/obj, updated and cleaned /usr/src... >> >> Anyone else? Here's the relevant end of the failure AFAIK: >> >> except.o: In function `nothrow_libfn_p': >> /usr/src/gnu/usr.bin/cc/cc1plus/../../../../contrib/gcc/cp/except.c:(.text+0x10fb): >> undefined reference to `libc_name_p' >> cc: error: linker command failed with exit code 1 (use -v to see invocation) >> *** Error code 1 >> >> Stop. >> make[3]: stopped in /usr/src/gnu/usr.bin/cc/cc1plus >> *** Error code 1 >> >> Stop. >> make[2]: stopped in /usr/src/gnu/usr.bin/cc >> *** Error code 1 >> >> Stop. >> make[1]: stopped in /usr/src >> *** Error code 1 >> >> Stop. >> make: stopped in /usr/src > > You might think you've tweaked enough knobs there, but I think maybe > there's one more: WITH_GNUCXX > > When I want to test building everything with gcc instead of clang, I > uncomment these in my make.conf: > > #WITH_GCC=yes > #WITH_GNUCXX=yes > #WITH_GCC_BOOTSTRAP=yes > #WITHOUT_CLANG=yes > #WITHOUT_CLANG_IS_CC=yes > #WITHOUT_CLANG_BOOTSTRAP=yes > > -- Ian With an 11-CURRENT checkout as of today, I'm still getting the same error the original poster got. I've added the uncommented lines to my make.conf and still get it. Is there any documentation regarding xdev? Thanks, Shawn > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJUYRIaAAoJEGqEZY9SRW7uqKwP/1vR90l9Qwyhlgz2PUm6+ZzI 1YDR8FxmCFdAcgHpJ76o2GOmlmmjZqP/D6O5OGgHOsdzTkiuYgyP+K0Fna+jpA3i rGM+fAyVeTtwO+24Dre2ogCHLhmiIbeTAvwvLRJNRoASXQZduYAK6ir3wJnhpkd+ 7Empd8QN0CQrZ+Uddpa3PJpvCP3wUGrpWiQO5BkjbrLf12O23E8ixxJMLSeC2nVj VPiSHrsv+5sNMh7vqe6r0zEbI+F7rKW1g8AI0b+MdFzzjBNvzmYeWhjTOCq1nq78 NNd+yHlGyNu+XrQkQg7GqK74kjZOZ4NqTuwMmkhSc00vbX0E5oSrXGT0Z1Zq2ABR jg3Y3Qr8N+DU9c7XAM65J8G555vur9UyBou2QFfQdybKklyBnvflIQ7TvNb4Vbtj LyZdkqeYE8I1qd7o0EmWewq30t7M8+/bAtTP7LzAAJiflKi1tSAJhdJDkU2HXQRw O6HssZXXBIuIJD3+w2aiSZzgqIjM2ZTehySHOfKB1Q9rglDwWcd5clS4+K1UQqxj 82HIy9v204rDkw0PU8lmUUbIQfXzyfNzbepCcew+x82vqff1kVTEF2R99SyBv+YA p58MWEM/OtDlDDqHpZ1Hj+TX8O9wf40UONwOLvWQ+1/JzTcj7k2Nt/LKovVWh4w9 8DQztFpLFQ8UCDnENOCO =jfFU -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5461121B.50604>