This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Fix toplev.c breakage on PA after eh merge


  In message <200105141702.NAA13250@hiauly1.hia.nrc.ca>you write:
  > Here is a possible fix for the problem noted here:
  > <http://gcc.gnu.org/ml/gcc-patches/2001-05/msg00860.html>.  I moved the
  > code to open the assembler and aux info files before the data initializatio
  > n.
  > I also included dwarf2asm.h because there is no prototype for
  > dw2_output_indirect_constants ().  Should this be ifdef'd?
  > 
  > The patch is untested as there is still more breakage to resolve:
  > 
  > /xxx/gnu/gcc-3.0/objdir/gcc/xgcc -B/xxx/gnu/gcc-3.0/objdir/gcc/ -nostdinc++
  >  -L/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src -L/xxx/gnu
  > /gcc-3.0/objdir/hppa1.1-hp-hpux10.20/libstdc++-v3/src/.libs -B/usr/local/hp
  > pa1.1-hp-hpux10.20/bin/ -B/usr/local/hppa1.1-hp-hpux10.20/lib/ -isystem /us
  > r/local/hppa1.1-hp-hpux10.20/include -I../../../../libstdc++-v3/../gcc -I..
  > /../../../libstdc++-v3/../include -I../../../../libstdc++-v3/include -I../.
  > ./../../libstdc++-v3/include/std -I../../../../libstdc++-v3/include/c_std -
  > I../include -I../../../../libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templ
  > ates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-locat
  > ion=once -ffunction-sections -fdata-sections -g -c ../../../../libstdc++-v3
  > /libsupc++/eh_aux_runtime.cc  -fPIC -DPIC -o eh_aux_runtime.o
  > ../../../../libstdc++-v3/libsupc++/eh_aux_runtime.cc:0: warning: -ffunction
  > -sections
  >    may affect debugging on some targets.
  > /var/tmp/ccGhYlpq.s: Assembler messages:
  > /var/tmp/ccGhYlpq.s:213: Error: operation combines symbols in different seg
  > ments
  > /var/tmp/ccGhYlpq.s:360: Error: operation combines symbols in different seg
  > ments
  > make[3]: *** [eh_aux_runtime.lo] Error 1
  > make[3]: Leaving directory `/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/li
  > bstdc++-v3/libsupc++'
  > make[2]: *** [all-recursive] Error 1
  > make[2]: Leaving directory `/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/li
  > bstdc++-v3'
  > make[1]: *** [all-recursive-am] Error 2
  > make[1]: Leaving directory `/xxx/gnu/gcc-3.0/objdir/hppa1.1-hp-hpux10.20/li
  > bstdc++-v3'
  > make: *** [all-target-libstdc++-v3] Error 2
  > Mon May 14 12:45:10 EDT 2001
  > 
  > Dave
  > -- 
  > J. David Anglin                                  dave.anglin@nrc.ca
  > National Research Council of Canada              (613) 990-0752 (FAX: 952-6
  > 605)
  > 
  > 2001-05-14  John David Anglin  <dave@hiauly1.hia.nrc.ca>

  > 	* toplev.c: Include dwarf2out.h.
  > 	(compile_file): Open aux_info_file and asm_out_file before
  > 	initializing data.
Err, umm.  Just take my patch from the mainline sources.  

Is there some reason it doesn't work on the branch?

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]