[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/4497] New: [regression] ld fails to link C++ code

From: aurelien at aurel32 dot net
Subject: [Bug ld/4497] New: [regression] ld fails to link C++ code
Date: 12 May 2007 10:37:15 -0000

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


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]