This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/53240] New: gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES
- From: "felix-gcc at fefe dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 04 May 2012 21:54:39 +0000
- Subject: [Bug bootstrap/53240] New: gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53240
Bug #: 53240
Summary: gcc 4.7 cross compiler build fails in libssp; link
test not allowed after GCC_NO_EXECUTABLES
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: felix-gcc@fefe.de
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... configure: error: Link tests are not
allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libssp] Error 1
make[1]: Leaving directory `/home/leitner/cross-build/arm/obj/gcc3'
make: *** [all] Error 2
I ran the original configure with
--target=arm-linux-gnueabi --prefix=/opt/cross
--with-sysroot=/opt/cross/arm-linux-gnueabi --enable-languages=c,c++
The eglibc documentation on how to get a cross toolchain recommends disabling
SSP, but I need SSP! That's an integral security feature, it needs to work!