I have built gpc20060325 with gcc-4.0.3 on OS X (PowerPC) basically just from the available sources (gcc-core-4.0.3.tar.bz2 and gpc-20060325.tar.bz2). The only patch I applied was related to building a shared library (see the modified gcc-4.0.3/gcc/p/rts/Makefile.in in the attachment). Compiling the attached program "test.pas" yields an assembler error: peter% /Developer/Pascal/gpc403/bin/gpc --version gpc 20060325, based on gcc-4.0.3 ... peter% /Developer/Pascal/gpc403/bin/gpc -mdynamic-no-pic -Os -save-temps --nonlocal-exit -c test.pas test.s:unknown:Undefined local symbol L2 In this particular case this seems to be due to the combination of -Os and --nonlocal-exit but I have seen the same error message also for -O0 (together with --nonlocal-exit) for more complex programs. Can anyone shed light on this problem? Best regards, Peter Schorn