[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-06-28 Thread Launchpad Bug Tracker
This bug was fixed in the package binutils - 2.20.1-3ubuntu6

---
binutils (2.20.1-3ubuntu6) lucid-proposed; urgency=low

  * Apply proposed patch for ARM: Add option to disable merging of adjacent
exidx unwinder entries. Addresses PR libgcj/40860. LP: #593564.
  * Fix PR gold/10893, IFUNC support for gold backported from the trunk.
LP: #582754.
 -- Matthias Klose d...@ubuntu.com   Mon, 14 Jun 2010 10:18:35 +0200

** Changed in: binutils (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-06-18 Thread Martin Pitt
Accepted binutils into lucid-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: binutils (Ubuntu Lucid)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-06-18 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/binutils

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-06-18 Thread Justin Lebar
The proposed package works for me.  Note to others: you need to install
the proposed version of both binutils and binutils-gold.  I ran

apt-get install binutils/lucid-proposed binutils-gold/lucid-proposed

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-06-18 Thread Martin Pitt
** Tags added: verification-done
** Tags removed: verification-needed

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-06-15 Thread Bug Watch Updater
** Changed in: binutils (Debian)
   Status: Confirmed = Fix Released

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-06-14 Thread Matthias Klose
fixed in maverick

** Also affects: binutils (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Changed in: binutils (Ubuntu)
   Status: New = Fix Released

** Changed in: binutils (Ubuntu Lucid)
   Status: New = In Progress

** Bug watch added: Debian Bug tracker #584778
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584778

** Also affects: binutils (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584778
   Importance: Unknown
   Status: Unknown

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-06-14 Thread Bug Watch Updater
** Changed in: binutils (Debian)
   Status: Unknown = Confirmed

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-05-24 Thread George
For me, many C programs compiled on lucid amd64 with binutils-gold,
(starting with a pre-release and continuing thru updates) gave SIGSEGV
on one of the str functions.   There is no problem on a fresh install of
lucid (amd64) with the normal binutils.   From 'ld --version' on the two
installs:

Works: GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303

Fails: GNU gold (GNU Binutils for Ubuntu 2.20.1-system.20100303) 1.9

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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


[Bug 582754] Re: lucid gold makes nearly all C++ applications segfault before main()

2010-05-23 Thread Guillaume Melquiond
It is worse for me. Absolutely no applications, be they C++ or C, are
linked properly. Consider this small example:

#include stdio.h
#include string.h

__attribute__((noinline))
int f(const char *a, const char *b) { return strcmp(a, b); }

int main() { printf(%x\n, f(foo, bar)); }

If you compile it dynamically, you get a segfault due to strcmp being placed in 
a non-executable page.
If you compile it statically, you get the address of function _libc_start 
instead of executing strcmp.

Same thing happens with strlen et al, which explains that all
applications a bit complicated will segfault before even reaching main
(due to dynamic loading relying on strlen).

This is on Lucid Lynx with binutils 2.20.1-3ubuntu5 on amd64. It was
working fine on Karmic.

-- 
lucid gold makes nearly all C++ applications segfault before main()
https://bugs.launchpad.net/bugs/582754
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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