[Desktop-packages] [Bug 1340250] Re: "#pragma weak" symbol is 0 even when defined

2019-03-21 Thread Gianfranco Costamagna
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=cca32830b57e91f837c01d15b8732f23ff97fc36 Upstream fix ** Changed in: libidn (Ubuntu) Status: New => Fix Released ** Changed in: libunistring (Ubuntu) Status: New => Fix Released -- You received this bug notification

[Desktop-packages] [Bug 1340250] Re: "#pragma weak" symbol is 0 even when defined

2018-07-24 Thread LocutusOfBorg
gcc u.c -Wl,--no-as-needed -lm; ./a.out; echo $? 0 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libunistring in Ubuntu. https://bugs.launchpad.net/bugs/1340250 Title: "#pragma weak" symbol is 0 even when defined Status in binutils

[Desktop-packages] [Bug 1340250] Re: "#pragma weak" symbol is 0 even when defined

2018-07-24 Thread LocutusOfBorg
Wl,--no-as-needed works, while adding a manual "-lpthread" doesn't, because the library doesn't get linked to the program. Reason is probably that weak symbols are not added by the linker -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to

[Desktop-packages] [Bug 1340250] Re: "#pragma weak" symbol is 0 even when defined

2018-07-23 Thread Matthias Klose
the Ubuntu gcc (as well as the OpenSuse gcc) sets ---as-needed as the default, so your configure test fails, making wrong assumptions. So better build your configure test with -Wl,--no-as-needed. ** Changed in: gcc-defaults (Ubuntu) Importance: High => Undecided ** Changed in: gcc-defaults

[Desktop-packages] [Bug 1340250] Re: "#pragma weak" symbol is 0 even when defined

2018-07-23 Thread LocutusOfBorg
** Also affects: binutils (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libunistring in Ubuntu. https://bugs.launchpad.net/bugs/1340250 Title: "#pragma weak" symbol is 0 even when

[Desktop-packages] [Bug 1340250] Re: "#pragma weak" symbol is 0 even when defined

2018-07-23 Thread LocutusOfBorg
https://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00061.html -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libunistring in Ubuntu. https://bugs.launchpad.net/bugs/1340250 Title: "#pragma weak" symbol is 0 even when defined

[Desktop-packages] [Bug 1340250] Re: "#pragma weak" symbol is 0 even when defined

2018-07-23 Thread LocutusOfBorg
this seems to be the reason for libunistring and libidn failures ** Changed in: gcc-defaults (Ubuntu) Status: New => Confirmed ** Changed in: gcc-defaults (Ubuntu) Importance: Undecided => High ** Also affects: libunistring (Ubuntu) Importance: Undecided Status: New ** Also