[Bug 599485] [NEW] clang -g dies with bogus assembler error: duplicate .debug_line sections

Launchpad Bug Tracker 599485 at bugs.launchpad.net
Fri Aug 6 21:33:08 BST 2010


You have been subscribed to a public bug by Anders Kaseorg (anders-kaseorg):

Binary package hint: binutils

$ echo 'int main(){}' > test.c
$ clang -g -c test.c
/tmp/cc-xPGs3W.s: Assembler messages:
/tmp/cc-xPGs3W.s:413: Fatal error: duplicate .debug_line sections
clang: error: assembler command failed with exit code 1 (use -v to see invocation)

http://llvm.org/bugs/show_bug.cgi?id=6218 says this is a binutils bug.
(“… there's nothing wrong with having multiple .debug_line section
directives in a single .s file.  Compilers do this all the time.”)  This
assembler message does not exist in upstream binutils or in Debian; it
was added by the Ubuntu patch binutils/debian/patches/214-binutils-
group.patch.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: binutils 2.20.51.20100617-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-5.6-generic 2.6.35-rc3
Uname: Linux 2.6.35-5-generic x86_64
NonfreeKernelModules: openafs nvidia wl
Architecture: amd64
Date: Mon Jun 28 14:18:03 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: binutils

** Affects: llvm
     Importance: Unknown
         Status: Unknown

** Affects: clang (Ubuntu)
     Importance: Medium
         Status: New


** Tags: amd64 apport-bug maverick
-- 
clang -g dies with bogus assembler error: duplicate .debug_line sections
https://bugs.launchpad.net/bugs/599485
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list