public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jrnieder at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug build/14664] New: changing prefix breaks "make check-abi-libc"
Date: Wed, 03 Oct 2012 19:18:00 -0000	[thread overview]
Message-ID: <bug-14664-131@http.sourceware.org/bugzilla/> (raw)


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.


             reply	other threads:[~2012-10-03 19:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03 19:18 jrnieder at gmail dot com [this message]
2012-10-03 20:24 ` [Bug build/14664] " schwab@linux-m68k.org
2012-10-03 20:28 ` jrnieder at gmail dot com
2012-10-27  7:43 ` siddhesh at redhat dot com
2014-06-17  4:11 ` fweimer at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14664-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).