This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: build failure with glibc-2.11 on ia64 due to ifunc code
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: Andreas Schwab <schwab at redhat dot com>, libc-alpha at sourceware dot org
- Date: Fri, 6 Nov 2009 09:38:58 -0700
- Subject: Re: build failure with glibc-2.11 on ia64 due to ifunc code
- References: <200911061119.07161.vapier@gentoo.org>
On Fri, Nov 6, 2009 at 9:19 AM, Mike Frysinger <vapier@gentoo.org> wrote:
> commit bc5e8462188bdd9919e804fbba44e4b983b7724a added to elf/dl-sym.c:
> ? ? ? ?value = ((DL_FIXUP_VALUE_TYPE (*) (void)) DL_FIXUP_VALUE_ADDR (value)) ();
>
> where value is a void *.
>
> but on ia64 where DL_FIXUP_VALUE_TYPE expands to struct fdesc, this causes a
> build failure:
> dl-sym.c: In function 'do_sym':
> dl-sym.c:197: error: incompatible types when assigning to type 'void *' from
> type 'struct fdesc'
> -mike
>
See:
http://sourceware.org/ml/libc-alpha/2009-11/msg00001.html
--
H.J.