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 libc/6024] New: lack of e.g. GLIBC_2.2.5 symbols when using too low value in --enable-oldest-abi


When compiling glibc (2.6.1) on x86_64 with configure options
--enable-oldest-abi=2.0 or --enable-oldest-abi=2.2 the resulting libc.so lacks
symbols for GLIBC_2.2.5 without complaining that the oldest available abi for
x86_64 is 2.2.5.

to reproduce:

with --enable-oldest-abi=2.0 or able-oldest-abi=2.2

# objdump -T /lib/libc.so.6  | grep ctype_b
0000000000029db0 g    DF .text  0000000000000037  GLIBC_2.3   __ctype_b_loc

with --enable-oldest-abi=2.2.5 or without --enable-oldest-abi:

# objdump -T /lib/libc.so.6  | grep ctype_b
000000000023b648 g    DO .data  0000000000000008 (GLIBC_2.2.5) __ctype_b
000000000002a100 g    DF .text  0000000000000037  GLIBC_2.3   __ctype_b_loc

I consider this a bug! (since 2.0 < 2.2.5, so 2.0 should include 2.2.5)

To produce usable libraries it should at least switch to the oldest supported
abi (2.2.5) instead or ignore this option completely or give an error breaking
the configuration and/or build-process.

regards,

marius tolzmann

-- 
           Summary: lack of e.g. GLIBC_2.2.5 symbols when using too low
                    value in --enable-oldest-abi
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: marius dot tolzmann at fortytwo-hosting dot de
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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