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]
Other format: [Raw text]

Re: glibc ABI symbol list checking


Roland McGrath <roland@redhat.com> writes:

>> update-abi does work now for me but if I transfer e.g. the
>> locale/libBrokenLocale.abilist file for i.86 which is:
>> 
>> GLIBC_2.0 i.86-.*-linux.*
>>  GLIBC_2.0 A
>>  __ctype_get_mb_cur_max F
>> 
>> to x86-64 and run update-abi this time as:
>> $ make update-abi update-abi-config='x86_64-.*-linux.*'
>> 
>> I get a new file:
>> GLIBC_2.2.5 x86_64-.*-linux.*
>>  GLIBC_2.2.5 A
>>  __ctype_get_mb_cur_max F
>> 
>> The config for i.86 is removed.  How should those two get merged
>> together correctly?
>
> I cannot reproduce this.  I get both the existing GLIBC_2.0 list and the
> new GLIBC_2.2.5 list just as I should.  What awk are you using?
>

$ awk --version
GNU Awk 3.1.1
[...]

Note it works fine if I run on i686-linux-gnu with another regex so
that the contents is the same:
GLIBC_2.0 i.86-.*-linux.* i686-.*-linux.*
 GLIBC_2.0 A
 __ctype_get_mb_cur_max F

But it fails when I really have different symbol versions like on
x86-64 and i686.

My awk version cases also a problem with make check in current CVS:

/bin/sh tst-cancel-wrappers.sh /builds/glibc/main//libc_pic.a \
    /builds/glibc/main//libc.a \
    /builds/glibc/main/linuxthreads//libpthread_pic.a \
    /builds/glibc/main/linuxthreads//libpthread.a > /builds/glibc/main/linuxthreads/tst-cancel-wrappers.out
awk: cmd. line:52:       if ((!seen_enable || !seen_disable)
awk: cmd. line:52:                                          ^ unexpected newline
awk: cmd. line:53:        && !(object ~ /^pt-system.o/))
awk: cmd. line:53:        ^ parse error
awk: cmd. line:53:        && !(object ~ /^pt-system.o/))
awk: cmd. line:53:                                     ^ parse error


Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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