[Bug c/58283] Incorrect debug info when precompilation is on
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 2 11:17:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58283
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2013-09-02
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I get
/tmp/xtest> make
g++-4.8 -gdwarf-2 -g3 -O0 -DPRECOMP `wx-config --cflags` -o precomp1.hpp.gch -c
precomp1.hpp
/bin/sh: wx-config: command not found
g++-4.8 -gdwarf-2 -g3 -O0 -DPRECOMP `wx-config --cflags` -o xtest mainmenu.cpp
/bin/sh: wx-config: command not found
nm -C xtest | grep main
U __libc_start_main@@GLIBC_2.2.5
0000000000400620 T main
addr2line -e xtest $(nm -C xtest | grep ' main$' | awk '{print $1}')
/tmp/xtest/mainmenu.cpp:3
Same with including pecomp1.hpp from mainmenu.cpp.
(so, what does wx-config --cflags return?)
Note that you are testing GCC 4.8, not 4.7.
More information about the Gcc-bugs
mailing list