This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?
- From: Peter O'Gorman <peter at pogma dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Arnaud Charlet <charlet at adacore dot com>, Geoff Keating <geoffk at apple dot com>, Andrew Pinski <pinskia at physics dot uc dot edu>, gcc at gcc dot gnu dot org, Chris Douty <Chris_Douty at ampex dot com>, Laurent GUERBY <laurent at guerby dot net>
- Date: Mon, 23 Jan 2006 23:58:36 +0900
- Subject: Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?
- References: <1137484110.20435.1003.camel@pc.site> <20060123090442.GE27582@adacore.com> <43D4E34A.4010903@pogma.com> <200601231523.47620.ebotcazou@adacore.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Eric Botcazou wrote:
|>Attached is a patch to the 4.1 branch, I think it will apply to mainline
|>too. Branch built fine on powerpc-apple-darwin8.4.0 with c,ada enabled.
|
|
| That's not sufficient: the compiler bootstraps fine, but all the ACATS tests
| fail to link:
|
| collect2: ld returned 1 exit status
|
| So, on Darwin, unlike any other platforms, you need to explicitly pass either
| -static-libgcc or -shared-libgcc to link the EH machinery. That seems weird.
|
| Geoff, any chance to bring Darwin back on par with the other platforms?
|
Since Geoff is worried about future binary compatibility apparently, it
would probably be easier to modify gnatlink.adb to emit -static-libgcc or
- -shared-libgcc depending on whether static or shared gnatlib is used.
Sorry, I know nothing about ada or I'd help.
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQ9TvHLiDAg3OZTLPAQK3dgP/azit2VsBNmWlufxp4PZpbWtO28uZNO15
Zmp0Vh+/439x7dhx8sF3JpD4ryyKg40LiLHe2Qtdx4NyYYrD5rrjabJZ03TmVOV1
9p27Zo0ze/jcXuQvuvmu9Xcu3YDZ87AS1aPyuhIHRJIy/097yQN6yubd/t9WqZMN
AyCMVCKi6gY=
=Hkol
-----END PGP SIGNATURE-----