c++/9265: exception handling faulty wenn linking PIC objects to non PIC ones
Robert Schiele
rschiele@uni-mannheim.de
Tue Jan 14 09:07:00 GMT 2003
On Tue, Jan 14, 2003 at 08:03:01AM +0100, Robert Schiele wrote:
> Thanks. With your crtbegin.o it also works for me. So I will try to
> build a gcc 3.2 with binutils 2.12.x.x.x to check whether it makes a
> difference which binutils are used to build the compiler.
Well, I got the switch that triggers it: HAVE_LD_EH_FRAME_HDR
If this Macro was defined, the crtbegin code cannot handle the
situation I described in the bug report. Without it can handle the
situation quite sane. This is the case with _all_ compilers since 3.2
release. (I haven't an older one at hand to test.)
Obviously this switched is on if you used binutils 2.12.x.x.x at
configure time as they support this feature, but 2.11.x.x.x do not and
such it is turned off there. So it is perfectly clear now, why you
couldn't reproduce the problem.
This means the problem obviously is in the crtstuff code that handles
eh_frame_hdr stuff.
So we need some binutils gurus here.
Robert
--
Robert Schiele Tel.: +49-621-181-2517
Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20030114/453210df/attachment.sig>
More information about the Gcc-bugs
mailing list