gcc 3.4 doesn't work with glibc on x86

H. J. Lu hjl@lucon.org
Mon Mar 8 22:01:00 GMT 2004


On Mon, Mar 08, 2004 at 06:50:43PM +0100, Andreas Jaeger wrote:
> "H. J. Lu" <hjl@lucon.org> writes:
> 
> > BTW, does gcc 3.4 in CVS works for anyone on x86, x86_64 and ia64? Gcc
> > 3.4 aborted on ia64 when I tried it last time.
> 
> Worked for me last time I tried on AMD64, but I didn't test nptl, just
> linuxthreads.
> 

Gcc 3.4 doesn't like

static int foo (int, int) __attribute ((regparm (2), used));
 
static int
__attribute ((used, noinline))
foo (int x, int y)
{
  return x * y;
}

which is used in the x86 ld.so. I think glibc should be changed to
support gcc 3.4.


H.J.



More information about the Libc-alpha mailing list