Since the patch from bug PR4454 has been applied to the CVS, ld segfaults when
linking C++/Java code.
Without patch from PR4454:
$ cat test.cpp
#include <iostream>
int main()
{
std::cout << "Hello World!\n" << std::endl;
return 0;
}
$ g++ -o test test.cpp
$ ./test
Hello World!
$
With patch from PR4454:
$ g++ -o test test.cpp
collect2: ld terminated with signal 11 [Segmentation fault]
$
--
Summary: [regression] ld fails to link C++ code
Product: binutils
Version: 2.17
Status: NEW
Severity: critical
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: aurelien at aurel32 dot net
CC: bug-binutils at gnu dot org
GCC build triplet: mipsel-unknown-linux-gnu
GCC host triplet: mipsel-unknown-linux-gnu
GCC target triplet: mipsel-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=4497
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils