collect2: ld terminated with signal 11 [Segmentation fault]

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

 



Hello,

trying to link a .o-file with a some .a-library,
I get

collect2: ld terminated with signal 11 [Segmentation fault]

The same program compiles, links and runs on other platforms,
however those are 32-bit, while here we have 64-bit.

Now how can I find out more about this?

I tested all gcc-versions from 3.4.3 to 4.2.1, it's always the same.

I assume that a local installation of gcc brings it's own linker
with it? Or how can I find out about the version of the linker actually
used (with the local installation)?

The system version of gcc is

> g++ --version
g++ (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)

and the system linker is

> ld --version
GNU ld version 2.16.91.0.2 20050720 (SuSE Linux)

And also with this system gcc the segmentation fault
occurs.


It seems that ld is a completely arcane piece of software?
It seems that the newest version of binutils is 2.18,
however
http://www.gnu.org/software/binutils/
seems unreachable?

I would be glad for every hint!

Oliver


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux