Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 202269
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexis Ballier <aballier@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnutls-2.2.0-selflink.patch gnutls-2.2.0-selflink.patch patch Alon Bar-Lev (RETIRED) 2007-12-14 17:41 0000 778 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 202269 depends on: Show dependency tree
Bug 202269 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-14 16:43 0000
after upgrading from 2.0.4 to 2.2.0:
ldd /usr/lib64/libgnutls-extra.so.26.1.1 | grep tls
        libgnutls.so.13 => not found

relink command:
powerpc64-unknown-linux-gnu-gcc -std=gnu99 -shared  .libs/gnutls_extra.o
.libs/gnutls_openpgp.o .libs/gnutls_ia.o -Wl,--whole-archive
openpgp/.libs/libgnutls_openpgp.a ../lgl/.libs/liblgnu.a -Wl,--no-whole-archive
 -L/usr/lib64 -L/var/tmp/portage/net-libs/gnutls-2.2.0/image//usr/lib64
-lopencdk -lnsl -lz -llzo2 -lgcrypt -lgpg-error -lgnutls  -mcpu=970 -mtune=970
-maltivec -mabi=altivec -mcpu=970 -mtune=970 -maltivec -mabi=altivec
-Wl,--version-script=./libgnutls-extra.vers -Wl,--as-needed -Wl,-O1
-Wl,--sort-common -Wl,-soname -Wl,libgnutls-extra.so.26 -o
.libs/libgnutls-extra.so.26.1.1


See the -L/usr/lib64 coming before the sandbox one.
This is very similar to bug #157746 ; one could argue its libtool fault, but
please read that bug before.


For example:
 gnutls-2.2.0 # grep LTLIBOPENCDK *
config.log:LTLIBOPENCDK='-L/usr/lib64 -lopencdk -L/usr/lib64 -lgcrypt
-L/usr/lib64 -lnsl -L/usr/lib64 -lgpg-error -L/usr/lib64 -lz'

and in libextra/Makefile.am:
libgnutls_extra_la_LDFLAGS += $(LTLIBOPENCDK)

I'd bet using LIBADD instead of LDFLAGS would fix it.

------- Comment #1 From Alon Bar-Lev (RETIRED) 2007-12-14 17:41:11 0000 -------
Created an attachment (id=138481) [details]
gnutls-2.2.0-selflink.patch

------- Comment #2 From Alon Bar-Lev (RETIRED) 2007-12-14 17:41:25 0000 -------
Fixed thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug