← Back to team overview

touch-packages team mailing list archive

[Bug 1266348] Re: imacros command line breaks debugging information

 

now fixed in trusty-proposed and vivid in 4.8, and in vivid in 4.9

** Changed in: gcc-4.8 (Ubuntu)
       Status: New => Fix Released

** Changed in: gcc-4.9 (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1266348

Title:
  imacros command line breaks debugging information

Status in The GNU Compiler Collection:
  Fix Released
Status in gcc-4.8 package in Ubuntu:
  Fix Released
Status in gcc-4.9 package in Ubuntu:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1266348/+subscriptions