PR28149, debug info with wrong file association
Alan Modra
amodra@gmail.com
Fri Sep 17 09:02:36 GMT 2021
On Fri, Sep 17, 2021 at 10:49:20AM +0200, Eric Botcazou wrote:
> > A freshly built x86_64-linux mainline gcc compiling this testcase
> >
> > asm("nop");
> > int main ()
> > {
> > return 0;
> > }
> >
> > ~/build/gcc/gcc/xgcc -B ~/build/gcc/gcc/ -g pr28149.c -v -save-temps
> > shows the assembler being invoked with --gdwarf-5 on the following
>
> Your compiler does not seem to be properly configured, here's mine:
I'm sorry, I see I had a mainline gcc built from older sources..
Today's build was commit a6aa2458a92f from the top of the gcc-11
branch. That one does show the problem. I'll build a fresh gcc from
mainline which will no doubt behave as you say.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list