[PATCH] Improve and consolidate sparc PIC assembler.
David Miller
davem at davemloft.net
Tue Apr 16 14:31:50 CEST 2013
From: Torbjorn Granlund <tg at gmplib.org>
Date: Tue, 16 Apr 2013 12:29:27 +0200
> David Miller <davem at davemloft.net> writes:
>
> In talking to my Oracle contact and doing some data mining, I'm
> pretty sure we were hitting bug 6274959 in the assembler. He
> says lots of people hit that as well as the TLS symbol thing
> we hit too.
>
> Take a look at:
>
> https://getupdates.oracle.com/readme/README.118683-08
>
> and down in the "from 118683-02" section it says:
>
> 6274959 'fbe' assembler generates wrong code related to %gdop_lox10 in shared library
>
> 118683-02 is a patch which was released more than 6 years ago.
>
> Solaris < 11 would be affected if I understand correctly.
> Patched older releases would be unaffected, of course.
Solaris 9's assembler does not support these relocations at all and
would therefore not pass my acinclude.m4 test, just as the same test
does not pass on Solaris 9 when building GCC with the system assembler.
> Now, once I have the tarball of images created on a machine that has
> the buggy assembler with the -D__PIC__ thing added to the gcc command
> line, I could look and see how feasible it would be to write detection
> code for this bug in the GMP acinclude.m4 macros.
>
> That would be the best approach. If that is not viable, I think we have
> to assume solaris <11 (or 12?) has this non-working reloc.
Solaris <10 doesn't support the reloc at all. Solaris 10 and later does
but Solaris 10 needs the bug fix.
BTW, I also didn't today's email from you with the test tarball
results, are you getting a bounce at least?
More information about the gmp-devel
mailing list