[Bug gas/10304] New: ld: Dwarf Error: mangled line number section.

View: New views
5 Messages — Rating Filter:   Alert me  

[Bug gas/10304] New: ld: Dwarf Error: mangled line number section.

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

--
           Summary: ld: Dwarf Error: mangled line number section.
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: danglin at gcc dot gnu dot org
                CC: bug-binutils at gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=10304

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10304] ld: Dwarf Error: mangled line number section.

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From nickc at redhat dot com  2009-06-22 11:47 -------
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


--


http://sourceware.org/bugzilla/show_bug.cgi?id=10304

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10304] ld: Dwarf Error: mangled line number section.

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2009-06-22 14:01 -------
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


--


http://sourceware.org/bugzilla/show_bug.cgi?id=10304

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10304] ld: Dwarf Error: mangled line number section.

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



--
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sources dot   |ccoutant at google dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=10304

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10304] ld: Dwarf Error: mangled line number section.

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From ccoutant at google dot com  2009-10-29 21:15 -------
Fixed with:
http://sourceware.org/ml/binutils/2009-06/msg00489.html

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10304

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils