This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [ping2] Re: [ping] Re: [patch] PR40134, use a linker script on arm-linux to link with -lgcc_s -lgcc
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Andrew Haley <aph at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>, Alexandre Oliva <aoliva at redhat dot com>, Nathan Froyd <froydnj at codesourcery dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, GCJ-patches <java-patches at gcc dot gnu dot org>
- Date: Mon, 02 Nov 2009 17:28:47 +0100
- Subject: Re: [ping2] Re: [ping] Re: [patch] PR40134, use a linker script on arm-linux to link with -lgcc_s -lgcc
- References: <4A530F5C.4040500@ubuntu.com> <20090707091425.GB4462@tyan-ft48-01.lab.bos.redhat.com> <4A5B32BB.5010308@ubuntu.com> <20090909112436.GV14664@tyan-ft48-01.lab.bos.redhat.com> <4AAA8510.8060906@ubuntu.com> <4AB8C07D.3010807@ubuntu.com> <4AB8F3C2.60909@redhat.com> <4ABB2CB3.8090800@ubuntu.com> <4ABB30DE.6050502@redhat.com> <4ABB3BE6.4060800@ubuntu.com> <4ABB4C9B.3070200@redhat.com> <1255527525.4842.29.camel@e200601-lin.cambridge.arm.com> <4ADF0B67.9070505@ubuntu.com> <4AEA2FF1.6060508@ubuntu.com> <4AEA3318.6060607@oracle.com> <4AEF025A.5060403@ubuntu.com>
Matthias Klose wrote:
> I checked that it does (at least on arm-linux-genueabi). IIUC the
> schema to do so implemented by Jakub and Alexandre can be extendend to
> targets that need to link with libgcc as well. Currently it is used
> for powerpc-linux and arm-linux-gnueabi (and linux-sh using it's own
> variant). I would have to look up hppa again.
Yes, my point is exactly that that kind of scheme (
http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00324.html, or equivalent)
must be really adopted, fixing only arm-linux isn't enough. In other
terms, 40134 still blocks 40133, and we cannot fix the latter until the
former is really fully fixed for *all* the affected targets. By the way,
that's why, sorry, I disregarded your ping in the first place, I was
pretty sure it wasn't time yet...
Paolo.