------- Additional Comments From jgrimm2 at us dot ibm dot com 2004-11-16
02:55 -------
Hmmm... the following patch seems to have allowed my build to complete. Changed
sed line and created s-macro_list target/timestamp'd file, similar to what is
done throughout Makefile.in. Dropping into bugzilla in offchance this helps
someone who actually understand the gcc build system.
Index: gcc/gcc/Makefile.in
===================================================================
RCS file: /home/jgrimm/gcc-cvs/gcc/gcc/Makefile.in,v
retrieving revision 1.1422
diff -c -3 -p -r1.1422 Makefile.in
*** gcc/gcc/Makefile.in 14 Nov 2004 16:24:28 -0000 1.1422
--- gcc/gcc/Makefile.in 16 Nov 2004 01:24:53 -0000
*************** stmp-int-hdrs: $(STMP_FIXINC) $(USER_H)
*** 2792,2803 ****
install-gcc-tooldir:
$(mkinstalldirs) $(DESTDIR)$(gcc_tooldir)
! macro_list : $(GCC_PASSES)
echo | $(GCC_FOR_TARGET) -E -dM - | \
! sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p ; \
! s/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
! sort -u > tmp-$@
! $(SHELL) $(srcdir)/../move-if-change tmp-$@ $@
# Build fixed copies of system files.
stmp-fixinc: gsyslimits.h macro_list \
--- 2792,2804 ----
install-gcc-tooldir:
$(mkinstalldirs) $(DESTDIR)$(gcc_tooldir)
! macro_list: s-macro_list; @true
! s-macro_list : $(GCC_PASSES)
echo | $(GCC_FOR_TARGET) -E -dM - | \
! sed -n 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' | \
! sort -u > tmp-macro_list
! $(SHELL) $(srcdir)/../move-if-change tmp-macro_list macro_list
! $(STAMP) s-macro_list
# Build fixed copies of system files.
stmp-fixinc: gsyslimits.h macro_list \
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18486