Executing on host: /home/dave/gnu/gcc-4.5/objdir/gcc/xgcc -B/home/dave/gnu/gcc-4 .5/objdir/gcc/ -ggdb3 -DDEBUG_ASSERT -I/home/dave/gnu/gcc-4.5/gcc/libmudflap/tes tsuite -I/home/dave/gnu/gcc-4.5/gcc/libmudflap/testsuite/.. -I.. -L/home/dave/gn u/gcc-4.5/objdir/hppa-linux/./libmudflap/.libs /home/dave/gnu/gcc-4.5/gcc/libmudflap/testsuite/libmudflap.c/fail17-frag.c -static -fmudflap -lmudflap -L/home/dave/gnu/gcc-4.5/objdir/hppa-linux/./libmudflap/testsuite -ldl -lm -o ./fail17-frag.exe (timeout = 300)/home/dave/opt/gnu/bin/ld: Dwarf Error: mangled line number section. ... I suspect this is caused by the new line table discriminator support.
Hi John, Can you create a standalone testcase to reproduce this problem ? I can build an hppa-linux-gnu compiler, but I do not have a sysroot suitable for creating an entire toolchain. Cheers Nick
Subject: Re: ld: Dwarf Error: mangled line number section. Hi Nick, > Can you create a standalone testcase to reproduce this problem ? I can build > an hppa-linux-gnu compiler, but I do not have a sysroot suitable for creating an > entire toolchain. When I get a chance, I think that I will have to debug the linker to see if I can determine which file/library is the source of the problem. Possibly, there's an issue with old libraries. At the moment, I'm working on several other bugs. Probably, could arrange an account on gsyprf11.external.hp.com ;) The problem only occurs with a few tests in the libmudflap testsuite. I looked at the assembly autput from the first fail and all the .loc directives seemed reasonable. I tried running the mudflap testsuite reverting first to the stock debian ld and then gas. Changing to debian ld didn't make a difference in the message. However, debian gas complained about the .loc directives. This appeared when I did an binutils update on June 20. Regards, Dave
Fixed with: http://sourceware.org/ml/binutils/2009-06/msg00489.html