gcc-3.2.2 works so well (gpc 3 skip, 0 errs) thought I'd try gcc-3.3.1
For setup, untared the 2 tar files, etc. In dir diffs: ln -s gcc-3.3.diff gcc-3.3.1.diff In dir build: ../gcc-3.3.1/configure --enable-languages=pascal --enable-threads=posix --enable-__cxa_atexit
So far, so good. Thought I'd be a little cautious so make PFLAGS=-gstabs 2> errmsgs and the result:
make[1]: Circular libgcc.a <- pascal dependency dropped. In file included from /usr/local/src/gpc-20030507-3.3.1/gcc-3.3.1/gcc/p/utils/gpidump.pas:52: ./tree.inc: In procedure `ProcessFile': ./tree.inc:115: error: undeclared identifier `LANG_HOOKS_IDENTIFIER_SIZE' (first use in this routine) ./tree.inc:115: error: (Each undeclared identifier is reported only once ./tree.inc:115: error: for each routine it appears in.) ./tree.inc:115: error: undeclared identifier `struct' (first use in this routine) ./tree.inc:115: error: parse error before `tree_common' ./tree.inc:115: error: invalid structured initializer ./tree.inc:115: error: invalid structured initializer ./tree.inc:115: error: invalid structured initializer ./tree.inc:115: error: invalid structured initializer ./tree.inc:115: error: invalid structured initializer ./tree.inc:115: error: invalid structured initializer ./tree.inc:115: error: invalid structured initializer ./tree.inc:115: error: missing separator ./tree.inc:115: error: parse error before `/' ./tree.inc:115: error: undeclared identifier `tree' (first use in this routine) ./tree.inc:115: error: missing separator ./tree.inc:115: error: parse error before `)' /usr/local/src/gpc-20030507-3.3.1/gcc-3.3.1/gcc/p/utils/gpidump.pas:34: warning: `Verbose' defined but not used /usr/local/src/gpc-20030507-3.3.1/gcc-3.3.1/gcc/p/utils/gpidump.pas:34: warning: `Hex' defined but not used make[2]: *** [gpidump] Error 1 make[1]: *** [pascal.utils] Error 2 make: *** [all-gcc] Error 2
Next, tried: make clean ; make 2> errmsgs1
and the last 8 lines of errmsgs1:
/usr/local/src/gpc-20030507-3.3.1/gcc-3.3.1/gcc/p/rts/file.c: In function `_p_Read_Word': /usr/local/src/gpc-20030507-3.3.1/gcc-3.3.1/gcc/p/rts/file.c:2293: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/local/src/gpc-20030507-3.3.1/gcc-3.3.1/gcc/p/rts/numtodec.pas:113: internal compiler error: in dwarf2out_finish, at dwarf2out.c:12671 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. make[2]: *** [numtodec.o] Error 1 make[1]: *** [pascal.rts] Error 2 make: *** [all-gcc] Error 2
Hopes this helps, Russ