PATCH: Fix gcc 3.1 build failure linking cc1plus on PA

law@redhat.com law@redhat.com
Thu Jul 12 12:08:00 GMT 2001


  In message < 200107111821.OAA12728@hiauly1.hia.nrc.ca >you write:
  > This fixes a breakage that resulted from Neil Booth's
  > `Target FUNCTION_PROLOGUE and FUNCTION_EPILOGUE' patch.  Bootstrapped and
  > checked under hppa1.1-hp-hpux10.20.  There is an issue with these
  > warnings which cause quite a few testsuite failures:
  > 
  > Executing on host: /xxx/gnu/gcc-3.1/objdir/gcc/g++ -B/xxx/gnu/gcc-3.1/objdi
  > r/gcc/ -nostdinc++ -L/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++
  > -v3/src -L/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src/.li
  > bs -B/usr/local/hppa1.1-hp-hpux10.20/bin/ -B/usr/local/hppa1.1-hp-hpux10.20
  > /lib/ -isystem /usr/local/hppa1.1-hp-hpux10.20/include -ggdb3 -DDEBUG_ASSER
  > T -nostdinc++ -I/xxx/gnu/gcc-3.1/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/i
  > nclude -I/xxx/gnu/gcc-3.1/libstdc++-v3/include -I/xxx/gnu/gcc-3.1/libstdc++
  > -v3/include/std -I/xxx/gnu/gcc-3.1/libstdc++-v3/include/c_std -I/xxx/gnu/gc
  > c-3.1/libstdc++-v3/libsupc++ -I/xxx/gnu/gcc-3.1/libstdc++-v3/libio -I/xxx/g
  > nu/gcc-3.1/libstdc++-v3/testsuite -I/xxx/gnu/gcc-3.1/libstdc++-v3/include/b
  > ackward -I/xxx/gnu/gcc-3.1/libstdc++-v3/include/ext /xxx/gnu/gcc-3.1/libstd
  > c++-v3/testsuite/17_intro/header_cassert.cc    -DDEBUG_ASSERT  -lm   -fPIC 
  > -o ./header_cassert    (timeout = 300)
  > cc1plus: warning: changing search order for system directory "/usr/local/hp
  > pa1.1-hp-hpux10.20/include"
  > cc1plus: warning:   as it has already been specified as a system directory
  > output is:
  > cc1plus: warning: changing search order for system directory "/usr/local/hp
  > pa1.1-hp-hpux10.20/include"
  > cc1plus: warning:   as it has already been specified as a system directory
  > 
  > However, I don't think this is related to the patch.
  > 
  > Dave
  > -- 
  > J. David Anglin                                  dave.anglin@nrc.ca
  > National Research Council of Canada              (613) 990-0752 (FAX: 952-6
  > 605)
  > 
  > 2001-07-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>
  > 
  > 	* pa.c (pa_output_function_prologue): Delete prototype.  Make function
  > 	extern.
  > 	* pa.h (ASM_OUTPUT_MI_THUNK): Rename output_function_prologue to
  > 	pa_output_function_prologue.
  > 	* pa-protos.h (pa_output_function_prologue): New prototype.
This is fine.  Go ahead and install this patch.

THanks,
jeff



More information about the Gcc-patches mailing list