build failure with glibc-2.11 on ia64 due to ifunc code

View: New views
3 Messages — Rating Filter:   Alert me  

build failure with glibc-2.11 on ia64 due to ifunc code

by Mike Frysinger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


signature.asc (853 bytes) Download Attachment

Re: build failure with glibc-2.11 on ia64 due to ifunc code

by H.J. Lu-30 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Nov 6, 2009 at 9:19 AM, Mike Frysinger <vapier@...> 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.

Re: build failure with glibc-2.11 on ia64 due to ifunc code

by Mike Frysinger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 06 November 2009 11:38:58 H.J. Lu wrote:

> On Fri, Nov 6, 2009 at 9:19 AM, Mike Frysinger 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
blah, i even remember seeing that go by.  i guess i forgot since latest git
tree was still broken.  thanks !
-mike


signature.asc (853 bytes) Download Attachment