public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53240] New: gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES
@ 2012-05-04 21:54 felix-gcc at fefe dot de
2012-05-04 22:05 ` [Bug bootstrap/53240] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: felix-gcc at fefe dot de @ 2012-05-04 21:54 UTC (permalink / raw)
To: gcc-bugs
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!
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/53240] gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES
2012-05-04 21:54 [Bug bootstrap/53240] New: gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES felix-gcc at fefe dot de
@ 2012-05-04 22:05 ` pinskia at gcc dot gnu.org
2012-05-04 22:30 ` felix-gcc at fefe dot de
2012-05-04 22:42 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-05-04 22:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53240
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-04 22:04:52 UTC ---
> The eglibc documentation on how to get a cross toolchain recommends disabling
> SSP, but I need SSP!
The first stage GCC should have ssp disabled. And then enabled for the second
stage one.
The reason is because libssp links against libc which you have not created yet.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/53240] gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES
2012-05-04 21:54 [Bug bootstrap/53240] New: gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES felix-gcc at fefe dot de
2012-05-04 22:05 ` [Bug bootstrap/53240] " pinskia at gcc dot gnu.org
@ 2012-05-04 22:30 ` felix-gcc at fefe dot de
2012-05-04 22:42 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: felix-gcc at fefe dot de @ 2012-05-04 22:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53240
--- Comment #2 from felix-gcc at fefe dot de 2012-05-04 22:30:45 UTC ---
I was talking about the second gcc.
Turns out the steps until then broke something.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/53240] gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES
2012-05-04 21:54 [Bug bootstrap/53240] New: gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES felix-gcc at fefe dot de
2012-05-04 22:05 ` [Bug bootstrap/53240] " pinskia at gcc dot gnu.org
2012-05-04 22:30 ` felix-gcc at fefe dot de
@ 2012-05-04 22:42 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-05-04 22:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53240
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-04 22:41:45 UTC ---
Look at the config.log to see what is going wrong.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-04 22:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-04 21:54 [Bug bootstrap/53240] New: gcc 4.7 cross compiler build fails in libssp; link test not allowed after GCC_NO_EXECUTABLES felix-gcc at fefe dot de
2012-05-04 22:05 ` [Bug bootstrap/53240] " pinskia at gcc dot gnu.org
2012-05-04 22:30 ` felix-gcc at fefe dot de
2012-05-04 22:42 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).