http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46988
Summary: gcc/cp/cfns.h is modified even when the object
directory is out of tree
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: [email protected]
ReportedBy: [email protected]
Host: i686-pc-linux-gnu
Target: i586-none-linux-gnu
Build: i686-pc-linux-gnu
when building cross compiler for i586 it ends up modifying gcc/cp/cfns.h
Here is diff
diff --git a/gcc/cp/cfns.h b/gcc/cp/cfns.h
index 62cdfab..72aaf77 100644
--- a/gcc/cp/cfns.h
+++ b/gcc/cp/cfns.h
@@ -1,5 +1,5 @@
/* ANSI-C code produced by gperf version 3.0.3 */
-/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L ANSI-C
cfns.gperf */
+/* Command-line: gperf -o -C -E -k '1-6,$' -j1 -D -N libc_name_p -L ANSI-C
/home/kraj/work/cross/i586-none-linux-gnu/../../gcc.git/gcc/cp/cfns.gperf */
#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
&& ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
@@ -28,7 +28,7 @@
#error "gperf generated tables don't work with this execution character set.
Please report a bug to <[email protected]>."
#endif
-#line 1 "cfns.gperf"
+#line 1
"/home/kraj/work/cross/i586-none-linux-gnu/../../gcc.git/gcc/cp/cfns.gperf"
/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
The compiler is configured as below
Using built-in specs.
COLLECT_GCC=i586-none-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/home/kraj/work/cross/i586-none-linux-gnu/tools/libexec/gcc/i586-none-linux-gnu/4.6.0/lto-wrapper
Target: i586-none-linux-gnu
Configured with:
/home/kraj/work/cross/i586-none-linux-gnu/../../gcc.git/configure
--target=i586-none-linux-gnu
--prefix=/home/kraj/work/cross/i586-none-linux-gnu/tools
--with-sysroot=/home/kraj/work/cross/i586-none-linux-gnu/sysroot
--enable-__cxa_atexit --disable-libssp --disable-libgomp --disable-libmudflap
--enable-languages=c,c++ --with-arch=i586
Thread model: posix
gcc version 4.6.0 20101212 (experimental) (GCC)