Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1020440
| From | Mike Hommey <mh@glandium.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package |
| Date | 2020-08-03 22:40 +0200 |
| Message-ID | <AzPpv-7Bi-1@gated-at.bofh.it> (permalink) |
| References | (7 earlier) <AzuuJ-36F-1@gated-at.bofh.it> <mIxOq-13c-13@gated-at.bofh.it> <AzD50-8sN-29@gated-at.bofh.it> <mIxOq-13c-13@gated-at.bofh.it> <AzD50-8sN-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Aug 03, 2020 at 06:42:46AM +0200, Helmut Grohne wrote: > Hi Mike, > > On Mon, Aug 03, 2020 at 07:12:20AM +0900, Mike Hommey wrote: > > Upstream's nss-config uses pkg-config for 3 things: > > - getting exec_prefix. It's always /usr, independently of the pkg-config > > you use > > - getting includedir. It's always /usr/include/nss, independently of the > > pkg-config you use > > Agreed. > > > - getting libdir. This varies dependending on the pkg-config you use, > > but so does the content of the current nss-config, and as was said > > up-thread, nothing uses that. > > Subtly wrong. The --libdir flag is not used by anything in Debian. > However the upstream nss-config --libs also emits: > > -Wl,-rpath-link,$libdir -L$libdir > > So we are injecting a wrong library directory in some practical > situations. The rpath is a difference to the current nss-config. I > suspect that it alone would break stuff. How so? a) it's not -rpath, and doesn't do something very relevant to the produced binary except add a search path for dependencies of dependencies b) LD happily ignores libraries it finds in the various search paths when they are not for the right architecture. The worst that happens is that you get warnings like: /usr/bin/ld: skipping incompatible /usr/lib/i386-linux-gnu/libnss3.so when searching for -lnss3 Mike
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Helmut Grohne <helmut@subdivi.de> - 2020-08-02 10:30 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Mike Hommey <mh@glandium.org> - 2020-08-02 22:50 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Helmut Grohne <helmut@subdivi.de> - 2020-08-03 00:00 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Mike Hommey <mh@glandium.org> - 2020-08-03 00:20 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Helmut Grohne <helmut@subdivi.de> - 2020-08-03 09:30 +0200
Bug#737855: libnss3-dev: arch-dependent file in "Multi-Arch: same" package Mike Hommey <mh@glandium.org> - 2020-08-03 22:40 +0200
csiph-web