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: Roland McGrath <roland at hack dot frob dot com>
- To: <sellcey at imgtec dot com>
- Cc: Paul Eggert <eggert at cs dot ucla dot edu>, Andreas Schwab <schwab at suse dot de>, Jeff Law <law at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 22 Jul 2015 14:29:29 -0700 (PDT)
- 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> <1437578812 dot 19674 dot 161 dot camel at ubuntu-sellcey> <mvmzj2o9nse dot fsf at hawking dot suse dot de> <1437581957 dot 19674 dot 167 dot camel at ubuntu-sellcey> <87pp3kf942 dot fsf at igel dot home> <1437582979 dot 19674 dot 168 dot camel at ubuntu-sellcey> <55AFCCD9 dot 3040805 at cs dot ucla dot edu> <1437585792 dot 19674 dot 172 dot camel at ubuntu-sellcey> <55AFFF99 dot 8080307 at cs dot ucla dot edu> <1437599299 dot 19674 dot 189 dot camel at ubuntu-sellcey>
> It looks like it works for any value where the most significant bit is
> set to 1. Otherwise it gives a different value. I don't know if we can
> count on that bit always being set or not.
DT_EXTRATAGIDX will only ever be used with the values near DT_FILTER. To
follow the other existing models, elf.h should define DT_EXTRARNGLO (same
value as DT_AUXILIARY) and DT_EXTRARNGHI (same value as DT_FILTER) and:
#define DT_EXTRATAGIDX(tag) (DT_EXTRARNGHI - (tag)) /* Reverse order! */
DT_VERSIONRNGLO and DT_VERSIONRNGHI are missing too, though
DT_VERSIONTAGIDX is already defined using the same value that
DT_VERSIONRNGHI should have.