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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: glibc 2.1 and gabi


On Thu, Jul 20, 2000 at 12:06:37PM -0700, Nick Clifton wrote:
> Hi H.J.
> 
> : I added support for the new DT tags from the new gABI. However, glibc
> : 2.1 doesn't support them. I got
> : 
> : BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!
> : 
> : on DT_RUNPATH and DT_FLAGS when -Bsymbolic and -rpath are used. I
> : checked Solaris 2.7. Solaris ld.so doesn't complain DT_RUNPATH nor
> : DT_FLAGS which it doesn't know. I tend to think it is a glibc 2.1 bug.
> : But I don't want to break glibc 2.1. I'd like to add a new option
> : to ld to turn on the support for the new DT tags. Any suggestions?
> : I am thinking of "-z gabi" for lack of imagination :-). 
> 
> Do we need a switch, or can this be determined "magically" by
> examining the input files ?

No. It is a runtime thing. The same binaries run fine under glibc 2.2.

> 
> If we need a switch, then I would suggest:
> 
>   --enable-dynamic-tags
> 
> and:
> 
>   --no-enable-dynamic-tags
> 
> which presumably would be the default.
> 

Well, it is kind of misleading since glibc 2.1 does support dynamic
tags. It just doesn't support the unknown tags in certain range.

--enable-new-dynamic-tags
--no-enable-new-dynamic-tags

is better.


H.J.

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