bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/6656] New: [regression] linking with -g results in assembler err


From: doko at debian dot org
Subject: [Bug ld/6656] New: [regression] linking with -g results in assembler error
Date: 18 Jun 2008 19:40:46 -0000

seen with current trunk, not with the 2.18 branch, testcase taken from the darcs
configury.

echo -e '#include "test2.h"\nint main (int argc, char** argv) {callme(); return
1;}' > test2.c
echo 'int callme() {}' > test2.h
gcc -S -g test2.c -o test2.s; gcc test2.s -o test2 -g
test2.s: Assembler messages:
test2.s:31: Error: file number 2 already allocated

omitting the -g for the linking avoids the error.

-- 
           Summary: [regression] linking with -g results in assembler error
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: doko at debian dot org
                CC: bug-binutils at gnu dot org


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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]