temp preprocessed filename
Michael Morrell
morrell@alumni.ucsd.edu
Tue Mar 2 21:13:00 GMT 2010
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
More information about the Gcc-help
mailing list