This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: IBM POWER6/AIX6 current state?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
would your patch apply to binutils (as it seems to me) or to gcc or to
both of them?
Am 24.01.2010 14:50, schrieb Richard Sandiford:
> Franz Fehringer <fehrin@t-online.de> writes:
>> Thanks, i think i will give it a try as soon as gcc 4.5 is released.
>> In the meantime i would like to ask you for some additional background
>> information:
>> Last time i went this route it was with gcc 4.4.0 and some binutils 2.20
>> prerelease (it could have been a post 2.19 snapshot from the trunk as well).
>> The gcc build came to a grinding halt, when in stage 2 the gcc compiler
>> built in stage 1 advised gas to generate POWER6 machine instructions
>> (the flag was -pwr6 i think) and gas choked because id did not
>> understand this command line parameter (IIRC only up to -pwr2 was
>> possible then, but i am not 100% sure about this anymore).
>
> Ah. As I mentioned, I've only tested a cross toolchain, and this is
> something that would only show up natively. It appears the GCC AIX
> port and native assembler use -pwr{4,5,6} whereas the GCC GNU/Linux
> port and GAS use -mpower{4,5,6}. So while the support is there,
> it's under the wrong name as far as AIX is concerned. The same
> problem applies to the ".machine" pseudo-op.
>
> I'll try to add pwrX synonyms for powerX, but I can't promise when.
> (The patch itself should be simple. It's finding time to test it
> properly that's the issue.)
>
> GCC 4.4 doesn't support binutils on AIX. As you said in your follow-up,
> pre-2.20 versions of binutils could not create shared libraries on at
> least AIX 5 and above, so libtool always behaved as if --disable-shared
> had been passed. Pre-2.20 binutils also didn't support AIX weak symbols,
> which stopped many things from working properly.
>
> These problems should have been fixed in binutils 2.20. The libtool
> in GCC 4.5 therefore allows shared libraries to be created with
> binutils 2.20 and above.
>
> Richard
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJLXI0qAAoJEETPNNlkrKDyXcQIAIxRf1xnDlVQayYKa1YvVRrl
jnSeXBtdRgHpApm5C/++DMDOIdkNd0roNgvTFAGNr/wdG37ZXh94BuFj239epqaL
ctod97tbPHT9VEzPcDILou1swYM6Aggs9P0UF3LHTk62CyNUnIOr8KDEqpEiKEay
M1TIz5ugLseWikDHjadg2/RS1EF6f8XflHLusirizfWsKOHjQKg6S5UjKTv4515R
4V5YqqPo99oj8O6xRzTTAOQFrQYAMHyZNrzujfLu1kUlkJrJ6j/yoKdLLaAeV8Wn
Kxt7Hjz2kw+T5fdrHN9bolBtDr1fAv7MwJyBUo4Eozb5jTFlUN8xBHCcq7ML12I=
=wecu
-----END PGP SIGNATURE-----