public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/14664] New: changing prefix breaks "make check-abi-libc"
@ 2012-10-03 19:18 jrnieder at gmail dot com
  2012-10-03 20:24 ` [Bug build/14664] " schwab@linux-m68k.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jrnieder at gmail dot com @ 2012-10-03 19:18 UTC (permalink / raw)
  To: glibc-bugs


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/14664] changing prefix breaks "make check-abi-libc"
  2012-10-03 19:18 [Bug build/14664] New: changing prefix breaks "make check-abi-libc" jrnieder at gmail dot com
@ 2012-10-03 20:24 ` schwab@linux-m68k.org
  2012-10-03 20:28 ` jrnieder at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2012-10-03 20:24 UTC (permalink / raw)
  To: glibc-bugs


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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2012-10-03 20:24:14 UTC ---
Since the size is part of the ABI this cannot be relaxed.

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/14664] changing prefix breaks "make check-abi-libc"
  2012-10-03 19:18 [Bug build/14664] New: changing prefix breaks "make check-abi-libc" jrnieder at gmail dot com
  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
  3 siblings, 0 replies; 5+ messages in thread
From: jrnieder at gmail dot com @ 2012-10-03 20:28 UTC (permalink / raw)
  To: glibc-bugs


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

Jonathan Nieder <jrnieder at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from Jonathan Nieder <jrnieder at gmail dot com> 2012-10-03 20:28:28 UTC ---
Are you saying that changing the prefix is not supported?  configure
should refuse to set the prefix and error out in that case.

Or are you saying that programs will break due to _nl_default_dirname
changing size?  Perhaps _nl_default_dirname should not change based on
the prefix then?

I can't see how unexplained build failures when passing --prefix would
not be a bug, so I'm reopening the report.  I'll be happy to mark the
bug as invalid myself if I have made a mistake.

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/14664] changing prefix breaks "make check-abi-libc"
  2012-10-03 19:18 [Bug build/14664] New: changing prefix breaks "make check-abi-libc" jrnieder at gmail dot com
  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
  3 siblings, 0 replies; 5+ messages in thread
From: siddhesh at redhat dot com @ 2012-10-27  7:43 UTC (permalink / raw)
  To: glibc-bugs

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

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |siddhesh at redhat dot com

-- 
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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug build/14664] changing prefix breaks "make check-abi-libc"
  2012-10-03 19:18 [Bug build/14664] New: changing prefix breaks "make check-abi-libc" jrnieder at gmail dot com
                   ` (2 preceding siblings ...)
  2012-10-27  7:43 ` siddhesh at redhat dot com
@ 2014-06-17  4:11 ` fweimer at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-06-17  4:11 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-17  4:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-03 19:18 [Bug build/14664] New: changing prefix breaks "make check-abi-libc" jrnieder at gmail dot com
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

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).