On Sun, 8 Jun 2003, Frank Heckenbach wrote:
Russell Whitaker wrote:
Incidently, small change for line 42 of p/config-lang.in, suggested by someone else a while back, was overlooked in this release. The change is needed for gpc to build with gcc-3.2.3 and since the 3.2.x branch is now closed, suggest:
from (this is actually one line): if echo $version | grep '3.2.[3-9]' > /dev/null || echo $version | grep '3.[3-9]' > /dev/null; then
to: if echo $version | grep '3.[3-9]' > /dev/null; then
OK. Will do so in the next release.
Starting with gpc-20030507.tar.gz gcc-3.2.2.tar.gz gcc-3.2.3.tar.gz
Building gpc with gcc-3.2.2 works just fine. Starting with annother copy of gpc*gz and gcc-3.2.3 the above patch gets me past the first problem. However, the build stops with:
make[1]: Circular libgcc.a <- pascal dependency dropped. /usr/local/src/gpc-20030507/gcc-3.2.3/gcc/p/rts/numtodec.pas:273: Internal compiler error in dwarf2out_finish, at dwarf2out.c:12228 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://www.gnu-pascal.de/todo.html for instructions. make[2]: *** [numtodec.o] Error 1 make[1]: *** [pascal.rts] Error 2 make: *** [all-gcc] Error 2
If you have a patch will try it.
Russ