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

Bug#1004897: hppa: __asm__ directive .global and multiple .symver not supported



Source: gcc-11
Version: 11.2.0-13

At least on hppa combination of __asm__ .global + .symver results in
undefined symbols in the shared library:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003088

https://buildd.debian.org/status/fetch.php?pkg=libkcapi&arch=hppa&ver=1.3.1-1&stamp=1641233787&raw=0

[...]

libtool: link: gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-Wformat -Werror=format-security -fpie -fPIE -DPIE -Wl,-z -Wl,relro
-Wl,-z -Wl,now -pie -o bin/.libs/kcapi-enc
apps/bin_kcapi_enc-kcapi-enc.o apps/bin_kcapi_enc-app-internal.o
./.libs/libkcapi.so
/usr/bin/ld: apps/bin_kcapi_dgst-kcapi-dgst.o: in function `cipher_op':
./apps/kcapi-dgst.c:179: undefined reference to `kcapi_md_final'
/usr/bin/ld: ./apps/kcapi-dgst.c:136: undefined reference to `kcapi_md_final'
[...]


Reply to: