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

Anders Kaseorg andersk at mit.edu
Fri Aug 6 22:36:32 BST 2010


** Bug watch added: Debian Bug tracker #592012
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592012

** Also affects: clang (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592012
   Importance: Unknown
       Status: Unknown

-- 
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.

Status in The Low Level Virtual Machine Compiler Infrastructure: Unknown
Status in “clang” package in Ubuntu: New
Status in “clang” package in Debian: Unknown

Bug description:
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





More information about the Ubuntu-sponsors mailing list