Re: ld build-id crash on ARM linking gcc

2011-09-24 Thread Daniel Drake
On Sat, Sep 24, 2011 at 8:37 PM, Ian Lance Taylor wrote: > Daniel Drake writes: > >> We have found a ld segfault that occurs early in the gcc compile >> process - the first time it tries to link cc1. This is testing on >> armv5tel. > > Issues with the GNU binutil

Re: ld build-id crash on ARM linking gcc

2011-09-24 Thread Daniel Drake
On Sat, Sep 24, 2011 at 1:26 PM, Daniel Drake wrote: > I have identified that binutils-2.21.51.0.9 is the last binutils > version that reproduces the problem, binutils-2.21.52.0.1 is fine. That was a typo, sorry. binutils-2.21.51.0.8 reproduces the crash binutils-2.21.51.0.9 works fin

ld build-id crash on ARM linking gcc

2011-09-24 Thread Daniel Drake
Hi, I'm one of the contributors working to bring Fedora 15 and onwards to the ARM platform. (yes, F15 is painfully old, but its the first step in us "catching up") We have found a ld segfault that occurs early in the gcc compile process - the first time it tries to link cc1. This is testing on ar

Re: Bug or feature? C++ code that no longer compiles under GCC 4.2

2007-08-30 Thread Daniel Drake
ember function 'void My::test()': test.cpp:12: error: invalid initialization of non-const reference of type 'void (&)()' from a temporary of type 'void ()()' test.cpp:4: error: in passing argument 1 of 'void foo(const Op&) [with Op = void ()()]'

Bug or feature? C++ code that no longer compiles under GCC 4.2

2007-08-29 Thread Daniel Drake
;void ()()' test.cpp:4: error: in passing argument 1 of 'void foo(Op&) [with Op = void ()()]' We found an alternative way to make the code compile (comment out the first line) which works with both versions, but I'm wondering whether this should be reported as a bug or

-fwhole-program for a shared library object

2006-09-13 Thread Daniel Drake
Hi, I'm interested in the new -fwhole-program -combine functionality offered in GCC 4.1 but am having trouble applying it to this particular scenario. Is -fwhole-program supposed to cover situations like this? Should I be doing this another way? Is this a bug? I am building a .so library from s