Hi Folks,
I decided to rebuild the GPC under IRIX 6.5 from the gpc-20010502 source on the top of gcc-core-2.95.2. It is not working. Here goes the tail of the log of the make:
../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2 -DRTS_RELEASE_STRING="'`cat /usr/local/src/gpc/gcc-2.95.2/gcc/p/rts/rts-version`'" --unit-path=/usr/local/src/gpc/gcc-2.95.2/gcc/p/rts --automake /usr/local/src/gpc/gcc-2.95.2/gcc/p/rts/string.pas /usr/local/src/gpc/gcc-2.95.2/gcc/p/rts/string.pas: In function `Memcompcase': /usr/local/src/gpc/gcc-2.95.2/gcc/p/rts/string.pas:207: Internal compiler error in `add_bound_info', at gcc-2.95.2/gcc/dwarf2out.c:7376 Please submit a full bug report. See URL:http://www.gnu.org/software/gcc/faq.html#bugreport for instructions. gmake[2]: *** [string.o] Error 1 gmake[2]: Leaving directory `/usr/local/src/gpc/build/gcc/p/rts' gmake[1]: *** [pascal.rts] Error 2 gmake[1]: Leaving directory `/usr/local/src/gpc/build/gcc' gmake: *** [all-gcc] Error 2
In the configure only the the --enable-languages=pascal switch was used. Then a plain gmake without any extra bells or whistles.
What went wrong?
Cheers,
miklos
Miklos Cserzo University of Birmingham c/o School of Biosciences MRC - Bioinformatics Project Tel: +44-121-414-3037 Schools of Biosciences and Medicine Fax: +44-121-414-5925 Edgbaston, Birmingham B15 2TT E-mail: miklos@bip.bham.ac.uk United Kingdom
Miklos Cserzo wrote:
I decided to rebuild the GPC under IRIX 6.5 from the gpc-20010502 source on the top of gcc-core-2.95.2. It is not working. Here goes the tail of the log of the make:
../.././xgpc -B../.././ -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -g -O2
^^
-DRTS_RELEASE_STRING="'`cat /usr/local/src/gpc/gcc-2.95.2/gcc/p/rts/rts-version`'" --unit-path=/usr/local/src/gpc/gcc-2.95.2/gcc/p/rts --automake /usr/local/src/gpc/gcc-2.95.2/gcc/p/rts/string.pas
I suspect the `-g' option (line broken by me to make marking easier ;-). Unfortunately, debug info is quite unstable with GPC.
If you added the option yourself, try leaving it out. Otherwise, if it is used automatically, you have to suppress it. I don't know too much about the build process of gcc-2.95*, so I don't know what's the best way to override the options (CFLAGS?), but perhaps someone else knows.
Frank
On Fri, 11 May 2001, Frank Heckenbach wrote:
I suspect the `-g' option (line broken by me to make marking easier ;-). Unfortunately, debug info is quite unstable with GPC.
Thanks for th hint Frank, it works. This time the compilation went further after manual modification of the Makefile (suppressing the -g cflag). This time it went down at the texinfo section. It is not that critical as far as I can see, but how can I correct/suppress it?
Here goes the tail of the log:
if [ -f true ] || ( [ mips-sgi-irix6.5 = mips-sgi-irix6.5 ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ); then true ../../libgpc.a; else true; fi gmake[2]: Leaving directory `/usr/local/src/gpc/build/gcc/p/rts' /usr/local/src/gpc/build/gcc/xgcc -B/usr/local/src/gpc/build/gcc/ -B/usr/local/test/mips-sgi-irix6.5/bin/ -I/usr/local/test/mips-sgi-irix6.5/include -dumpspecs > tmp-specs mv tmp-specs specs cd ../../gcc-2.95.2/gcc/p/doc/en/info && makeinfo -I .. -I ../.. -I ../../generated -o gpc.info gpc.texi ../about.texi:29: Unknown command `uref'. ../about.texi:29: Misplaced `{'. ../about.texi:29: Misplaced `}'. ../about.texi:31: Unknown command `uref'. ../about.texi:31: Misplaced `{'. ../about.texi:31: Misplaced `}'. ../about.texi:32: Unknown command `uref'. ../about.texi:32: Misplaced `{'. ../about.texi:32: Misplaced `}'.
<snip>
../faq.texi:807: Misplaced `}'. ../faq.texi:810: Unknown command `uref'. Too many errors! Gave up. Making info file `gpc.info' from `gpc.texi'. gmake[1]: *** [../../gcc-2.95.2/gcc/p/doc/en/info/gpc.info] Error 1 gmake[1]: Leaving directory `/usr/local/src/gpc/build/gcc' gmake: *** [all-gcc] Error 2
Cheers,
miklos
Miklos Cserzo wrote:
Thanks for th hint Frank, it works. This time the compilation went further after manual modification of the Makefile (suppressing the -g cflag). This time it went down at the texinfo section. It is not that critical as far as I can see, but how can I correct/suppress it?
Here goes the tail of the log:
if [ -f true ] || ( [ mips-sgi-irix6.5 = mips-sgi-irix6.5 ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ); then true ../../libgpc.a; else true; fi gmake[2]: Leaving directory `/usr/local/src/gpc/build/gcc/p/rts' /usr/local/src/gpc/build/gcc/xgcc -B/usr/local/src/gpc/build/gcc/ -B/usr/local/test/mips-sgi-irix6.5/bin/ -I/usr/local/test/mips-sgi-irix6.5/include -dumpspecs > tmp-specs mv tmp-specs specs cd ../../gcc-2.95.2/gcc/p/doc/en/info && makeinfo -I .. -I ../.. -I ../../generated -o gpc.info gpc.texi ../about.texi:29: Unknown command `uref'. ../about.texi:29: Misplaced `{'. ../about.texi:29: Misplaced `}'. ../about.texi:31: Unknown command `uref'. ../about.texi:31: Misplaced `{'. ../about.texi:31: Misplaced `}'. ../about.texi:32: Unknown command `uref'. ../about.texi:32: Misplaced `{'. ../about.texi:32: Misplaced `}'.
Standard answer: Maybe your makeinfo is too old, you might want to upgrade it (I use 4.0).
You can also get pre-made info files in the GPC source distributions (not CVS).
Frank
On 11 May 01, at 18:03, Frank Heckenbach wrote:
[...]
I suspect the `-g' option (line broken by me to make marking easier ;-). Unfortunately, debug info is quite unstable with GPC.
If you added the option yourself, try leaving it out. Otherwise, if it is used automatically, you have to suppress it. I don't know too much about the build process of gcc-2.95*, so I don't know what's the best way to override the options (CFLAGS?), but perhaps someone else knows.
I use CFLAGS ...
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) Author of: Chief's Installer Pro for Win32 http://www.bigfoot.com/~African_Chief/chief32.htm Email: African_Chief@bigfoot.com