PI_STATIC_AND_HIDDEN does not work on ppc32

Jakub Jelinek jakub@redhat.com
Mon Mar 3 13:25:00 GMT 2003


On Mon, Mar 03, 2003 at 12:14:11PM +0100, Andreas Schwab wrote:
> Roland McGrath <roland@redhat.com> writes:
> 
> |> > PI_STATIC_AND_HIDDEN does not work on ppc32 even with the latest gcc
> |> > (cvs mainline as of today).  I had to remove the definition from
> |> > sysdeps/powerpc/powerpc32/elf/configure.in to make ld.so work.
> |> 
> |> That's odd.  It's working fine for me, using debian sid gcc 3.2.2-0.
> 
> Does your compiler support the visibility attribute? gcc 3.2 does not, but
> it is a prerequisite for DONT_USE_BOOTSTRAP_MAP.

I can confirm PI_STATIC_AND_HIDDEN doesn't work when compiled with
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
I don't think there are even suitable relocations for it to work.

	Jakub



More information about the Libc-alpha mailing list