This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/14664] New: changing prefix breaks "make check-abi-libc"


http://sourceware.org/bugzilla/show_bug.cgi?id=14664

             Bug #: 14664
           Summary: changing prefix breaks "make check-abi-libc"
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jrnieder@gmail.com
                CC: carlos@systemhalted.org
    Classification: Unclassified


sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist contains the line

 _nl_default_dirname D 0x12

That 0x12 is sizeof("/usr/share/locale"), including terminating NUL.
Building with

  ../configure --prefix=/some/other/place
  make

produces an _nl_default_dirname with different size, making the ABI
check fail:

 diff -p -U 0 ../sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist
[...]/build/libc.symlist
 --- ../sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist      2012-10-03
00:41:39.269593517 -0700
 +++ [...]/build/libc.symlist      2012-10-03 11:59:06.569765238 -0700
 @@ -508 +508 @@ GLIBC_2.2.5
 - _nl_default_dirname D 0x12
 + _nl_default_dirname D 0x21
 make[2]: *** [check-abi-libc] Erreur 1

Is the size of this string really part of the ABI?

Could scripts/abilist.awk be taught to fuzz this out?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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