[LLVMbugs] [Bug 8003] New: BFD: Dwarf Error: Could not find abbrev number

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 26 14:52:52 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8003

           Summary: BFD: Dwarf Error: Could not find abbrev number
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jingl1345 at gmail.com
                CC: llvmbugs at cs.uiuc.edu


With the patch for Bug 7689, I can build the binary with debug information with
gold right now. But when I do objdump on that binary, I get a lot of "BFD:
Dwarf Error: Could not find abbrev number".

I compiled flex-2.5.35 using:

../configure --prefix=/local/install CFLAGS="-O4 -g" CC="llvm-gcc
-use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" CXX="llvm-g++ -use-gold-plugin
-Wl,-plugin-opt=also-emit-llvm" RANLIB="/bin/true"

make

I am also attaching the final binary, the whole program bytecode, and those per
file bytecode which can be linked to get the final binary by:

llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm  -O4 -g   -o flex 
ccl.o dfa.o ecs.o scanflags.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o
sym.o tblcmp.o yylex.o options.o scanopt.o buf.o tables.o tables_shared.o
filter.o regex.o  -lm 

After getting the flex,
objdump -l -S flex > flex.S
will show a lot of "BFD: Dwarf Error: Could not find abbrev number"

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list