This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]