https://sourceware.org/bugzilla/show_bug.cgi?id=29998
--- Comment #9 from Nick Clifton <nickc at redhat dot com> ---
Hi Jan,
Dang - I still cannot reproduce this problem. The issue now is that I have the
wrong version of the compiler installed on my system (an x86_64 box running
Fedora 36):
lto1: fatal error: bytecode stream in file 'test2.obj' generated with LTO
version 12.0 instead of the expected 11.2
compilation terminated.
The generate_reloc() function is quite complex, so it is not so surprising that
there might be a problem in it. If you are able to rebuild the linker, would
you mind adding some printf() statements around the problematic line
(pe-dll.c:1538) ? Looking at the sources I have, this is:
if (s->output_section->vma == 0)
So possibly s->output_section is not a valid pointer ? Mind you this does seem
unlikely as that very same indirection has been used in several places before
line 1538. To be honest though, I have never really trusted the line numbers
displayed in stack backtraces...
Sorry I cannot be of much help. but without the ability to reproduce the
problem I cannot investigate it.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.