bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/23812] New: Explicitly mentioned libraries by -lx are not in t


From: dilyan.palauzov at aegee dot org
Subject: [Bug gold/23812] New: Explicitly mentioned libraries by -lx are not in the DT_NEEDED list
Date: Tue, 23 Oct 2018 16:36:14 +0000

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

            Bug ID: 23812
           Summary: Explicitly mentioned libraries by -lx are not in the
                    DT_NEEDED list
           Product: binutils
           Version: 2.32 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: dilyan.palauzov at aegee dot org
                CC: ian at airs dot com
  Target Milestone: ---

With binutils 2.31.51.20181019, for a program

#include <stdio.h>
#include <stdlib.h>
int main(void) {
  printf ("Your new glibc installation seems to be ok.\n");
  exit (0);
}

calling “gcc /src/glibc228/input-file.c -fuse-ld=gold -lc -lBrokenLocale
-lpthread -lcrypt -ldl -lgcc_s -lnsl -lutil -lnss_dns -lnss_compat -lmvec
-lresolv -lnss_db -lm -lnss_files -lrt -lnss_hesiod -lanl -o
/src/glibc228/output-file” does not put BrokenLocale in the output of ldd.

According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87710 this is not a
gcc bug.  With clang 6 the problem also appears, as with using ld.bfd or adding
-Wl,--no-as-needed.

See https://sourceware.org/bugzilla/show_bug.cgi?id=23807 for details.

https://sourceware.org/bugzilla/show_bug.cgi?id=23811 is the same bug report,
but for ld.bfd.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]