egcs-1.0.3/libc 5 problems
Jeffrey A Law
law@cygnus.com
Thu May 28 22:04:00 GMT 1998
In message < 199805282053.QAA06130@shell1.tiac.net >you write:
> 1) libgcc is included twice in the following link line (to build a
> shared object). This causes multiple definition problems for some
> reason (might be a linker bug, but whatever). If it matters, I'm
> using binutils 2.8.1.0.23.
This is desirable and necessary.
The problem is the "--whole-archive" option used on the link line.
That causes all of libgcc to be sucked in by the first reference,
then again on the second reference, leading to the errors.
jeff
More information about the Gcc-bugs
mailing list