Public bug reported: Hello,
Currently, the gcc ubuntu package has a bug that comes from upstream: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653 The effect of the bug is if one compiles a file with the option -imacros, the filename and all useful debugging information disappears. Here is a simple example of that: imacros-test$ cat somefile.c #warning some warning imacros-test$ cat macros.h #define SOME_MACRO imacros-test$ gcc -c somefile.c somefile.c:1:2: warning: #warning some warning [-Wcpp] #warning some warning ^ imacros-test$ gcc -c somefile.c -imacros macros.h <command-line>:1:2: warning: #warning some warning [-Wcpp] This also affects the debugging information embedded within the files, rendering debugging pretty useless. While I am aware this is a bug from upstream, it's been sitting there for a while with a simple patch. It'd be nice to apply that patch on the ubuntu package in the meantime. Thanks! ProblemType: Bug DistroRelease: Ubuntu 13.10 Package: gcc 4:4.8.1-2ubuntu3 ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8 Uname: Linux 3.8.0-19-generic x86_64 ApportVersion: 2.12.5-0ubuntu2.2 Architecture: amd64 Date: Mon Jan 6 05:41:13 2014 MarkForUpload: True ProcEnviron: TERM=screen PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: gcc-defaults UpgradeStatus: Upgraded to saucy on 2013-10-19 (78 days ago) ** Affects: gcc-defaults (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug saucy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1266348 Title: imacros command line breaks debugging information To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1266348/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
