This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Another GLIBC build error with GCC6
- From: Steve Ellcey <sellcey at imgtec dot com>
- To: Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: Roland McGrath <roland at hack dot frob dot com>, Jeff Law <law at redhat dot com>, "GNU C Library" <libc-alpha at sourceware dot org>
- Date: Wed, 22 Jul 2015 08:26:52 -0700
- Subject: Re: Another GLIBC build error with GCC6
- Authentication-results: sourceware.org; auth=none
- References: <1437496279 dot 19674 dot 126 dot camel at ubuntu-sellcey> <1437507995 dot 19674 dot 136 dot camel at ubuntu-sellcey> <55AEA71B dot 2020405 at redhat dot com> <1437509796 dot 19674 dot 138 dot camel at ubuntu-sellcey> <55AEB7FF dot 1000405 at redhat dot com> <1437518197 dot 19674 dot 152 dot camel at ubuntu-sellcey> <20150721224637 dot 1E0102C3B32 at topped-with-meat dot com> <55AF30A1 dot 2030402 at cs dot ucla dot edu>
- Reply-to: <sellcey at imgtec dot com>
On Tue, 2015-07-21 at 22:56 -0700, Paul Eggert wrote:
> Anyway, if I understand this one correctly it should be easy enough to fix
> portably. Something like the attached patch, say. (I haven't tested it.)
This doesn't address the problem with the DT_EXTRATAGIDX macro. That is
the one that I am not sure how to fix.
The macro is:
#define DT_EXTRATAGIDX(tag) ((Elf32_Word)-((Elf32_Sword) (tag) <<1>>1)-1)
and it is called with tag being a constant value of either 0x7fffffff or
0x7ffffffd.
Steve Ellcey
sellcey@imgtec.com