Re: temp preprocessed filename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luckily(?), this isn't a ccache issue.  I was able to reproduce it with
g++.  We're using an ARM cross-compiler from CodeSourcery (Sourcery G++
4.3-234).

To reproduce what I'm seeing:

 % cat foo.cpp
 #include <cstdlib>

 void foo() {}
 % g++ -g -E foo.cpp > foo.ii
 % g++ -g -c foo.ii
 % readelf -wl foo.o | grep foo
   1	0	0	0	foo.cpp
   6	0	0	0	foo.ii

There is something in <cstdlib> that is triggering this behavior, but I
don't know if it is a cstdlib bug or a compiler bug.

I'll file a bug report with CodeSourcery, but was curious if anyone here
had any thoughts.  I will also try to dig into <cstdlib> and see if I
can isolate this further.

  Michael


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux