This is the mail archive of the gcc-help@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]
Other format: [Raw text]

problems generating gcc 3.2


I have tried generate gcc 3.2 on

i686-pc-linux-gnu (Redhat 6.1)
i686-pc-linux-gnu (Redhat 7.2)
sparc-sun-solaris2.7
sparc-sun-solaris2.8
alpha-dec-osf4.0f
hppa1.1-hp-hpux10.20

- on redhat 7.2, all is OK

- on redhat 6.1, link fails at stage1 with
 : :stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
 : : gengenrtl.o ../libiberty/libiberty.a
 :*:/usr/bin/ld: gengenrtl: Not enough room for program headers (allocated 6, need 7)
 :*:/usr/bin/ld: final link failed: Bad value
 :*:collect2: ld returned 1 exit status
 :*:gmake[2]: *** [gengenrtl] Error 1
 : :gmake[2]: Leaving directory `/scratch/happi/GNU.LANG/gcc-3.2/gcc'
 :*:gmake[1]: *** [stage2_build] Error 2
 : :gmake[1]: Leaving directory `/scratch/happi/GNU.LANG/gcc-3.2/gcc'
 :*:gmake: *** [bootstrap] Error 2
 
- on alpha-dec-osf4.0f, I have an error compiling decl.c
: :stage1/xgcc -Bstage1/ -B/usr/local/alpha-dec-osf4.0f/bin/ -c -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   -DHAVE_CONFIG_H    -I. -Icp -I. -I./cp -I./config -I./../include cp/decl.c -o cp/decl.o
 :*:ggc-page.c:1507: warning: int format, different type arg (arg 3)
 :*:virtual memory exhausted: Not enough space
 : :gmake[2]: Leaving directory `/scratch/happi/GNU.LANG/gcc-3.2/gcc'
 :*:gmake[2]: *** [cp/decl.o] Error 1
 :*:gmake[1]: *** [stage2_build] Error 2
 : :gmake[1]: Leaving directory `/scratch/happi/GNU.LANG/gcc-3.2/gcc'
 :*:gmake: *** [bootstrap] Error 2

  To correct it I used -O1, also true for stage 2 and 3.
  Then all object files of stage3 are different from stage2 !!!

- on hppa1.1-hp-hpux10.20 (configured with gas), -lintl is not found
  and I had to modify the  Makefile to include -L/usr/local/lib for
  -lintl and -liconv.
  Then all .o files are different from stage2 to stage3.

- on sparc-sun-solaris2.7 and sparc-sun-solaris2.8, all is ok until
  the generation of gcc but not all libraries at the end. It ends up with:
 : :sysv.S		..linked
 : :win32.S		..linked
 : :stamp-h.in		..linked
 : :loading cache ../config.cache
 : :checking for Cygwin environment... (cached) no
 : :checking for mingw32 environment... (cached) no
 :*:configure: error: can not find install-sh or install.sh in . ./.. ./../..
 :*:gmake[1]: *** [configure-target-libffi] Error 1
 : :gmake[1]: Leaving directory `/opt/scratch/GNU.LANG/gcc-3.2'
 :*:gmake: *** [bootstrap] Error 2

  It is a configure problem probably but I could not find where to add
  more ../../../... This happens because it wants to generate libs for
  sparcv? and sparcv9, which adds another layer in the directory tree.


What did I do wrong ? Should I wait for next release ?
Thanks for your help.
Amicalement.
Philippe.


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