[Bug 240884] Re: -g and compiling via assembly fails
Bug Watch Updater
240884 at bugs.launchpad.net
Fri Dec 2 09:50:49 UTC 2011
** Changed in: gcc-4.3 (Debian)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/240884
Title:
-g and compiling via assembly fails
Status in binutils:
Fix Released
Status in “binutils” package in Ubuntu:
Fix Released
Status in “gcc-4.3” package in Debian:
Fix Released
Bug description:
Binary package hint: gcc-4.3
When attempting to merge the darcs package from Debian, I stumbled
across the following bug in gcc-4.3.
A similar bug is reported on the BTS as debian bug #481592. There it
only affects the IA64 architecture, but in Intrepid I'm seeing it on
amd64, i386 and lpia.
Test case and error taken from the above bug:
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
Results in the error:
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
Failed build logs for darcs in my PPA:
amd64 - https://launchpad.net/~laney/+archive/+build/641764
i386 - https://launchpad.net/~laney/+archive/+build/641765
lpia - https://launchpad.net/~laney/+archive/+build/641766
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/240884/+subscriptions
More information about the foundations-bugs
mailing list