gold linker issues with PostGIS cunit tests

2011-04-15 Thread Sandro Santilli
I've had a few hours of frustration trying to debug a segfault triggered by PostGIS cunit tests to find it was gold's fault instead. This is : binutils-gold 2.20.1-3ubuntu5 To reproduce: git clone git://github.com/strk/postgis.git cd postgis && git checkout 728e94ab0325a89fa3ac4548d8617d144a0

[Bug ld/12677] New: [Meta] LTO linker bugs

2011-04-15 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12677 Summary: [Meta] LTO linker bugs Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sources.redha

Re: gold linker issues with PostGIS cunit tests

2011-04-15 Thread Ian Lance Taylor
Sandro Santilli writes: > This is : > binutils-gold 2.20.1-3ubuntu5 The Ubuntu distributors have decided to ship a version of gold which does not work with the version of libc that they ship. You need to use the gold from the binutils 2.21 release instead. See https://bugs.launchpad.net/ubun

[Bug ld/12677] [Meta] LTO linker bugs

2011-04-15 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12677 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #1 fr

[Bug ld/12677] [Meta] LTO linker bugs

2011-04-15 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12677 --- Comment #2 from H.J. Lu 2011-04-15 18:53:52 UTC --- (In reply to comment #1) > > FAIL: ld-plugin/lto-4r-a > FAIL: ld-plugin/lto-4r-b > FAIL: ld-plugin/lto-4r-c > FAIL: ld-plugin/lto-4r-d > FAIL: LTO 4a > FAIL: LTO 4c > FAIL: LTO 4d > FAIL