This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: gcc bug impacts glibc cvs
Daniel Jacobowitz <dmj+@andrew.cmu.edu> writes:
> extern void *xyzzy __attribute__ ((__weak__));
> int
> main (void)
> {
> return &xyzzy ? ((int)xyzzy) : 0;
> }
This works just fine on x86 as well. In fact I have never seen this
problem on x86.
> While it's certainly a bit too fragile of a test, could we at least use
> this to autoconf for the bug until someone thinks of a better one?
If this is what exposes the problem, sure.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------