This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]