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

2019-03-21 Thread Gianfranco Costamagna via ubuntu-bugs
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 because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1340250

Title:
  "#pragma weak" symbol is 0 even when defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1340250/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-07-24 Thread LocutusOfBorg via ubuntu-bugs
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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1340250

Title:
  "#pragma weak" symbol is 0 even when defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1340250/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-07-24 Thread LocutusOfBorg via ubuntu-bugs
gcc u.c -Wl,--no-as-needed -lm; ./a.out; echo $?
0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1340250

Title:
  "#pragma weak" symbol is 0 even when defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1340250/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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 (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: binutils (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1340250

Title:
  "#pragma weak" symbol is 0 even when defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1340250/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-07-23 Thread LocutusOfBorg via ubuntu-bugs
** Also affects: binutils (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1340250

Title:
  "#pragma weak" symbol is 0 even when defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1340250/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-07-23 Thread LocutusOfBorg via ubuntu-bugs
https://lists.gnu.org/archive/html/bug-gnulib/2014-07/msg00061.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1340250

Title:
  "#pragma weak" symbol is 0 even when defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1340250/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-07-23 Thread LocutusOfBorg via ubuntu-bugs
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 affects: libidn (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1340250

Title:
  "#pragma weak" symbol is 0 even when defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1340250/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs