I wrote:
Gert Doering wrote:
../.././xgpc -B/s1/gpc-build/gcc/ -I../rts --automake --executable-file-name -W -Wall -Wmissing-prototypes -Wmissing-declarations -g -O2 --executable-path=. --unit-path=/s1/gcc-3.2.3/gcc/p/rts --unit-path=/s1/gcc-3.2.3/gcc/p/units `cat needed-options` "/s1/gcc-3.2.3/gcc/p/utils/binobj.pas" ld: 0711-317 ERROR: Undefined symbol: Tempdirectory.1 ld: 0711-317 ERROR: Undefined symbol: Tempstr.4 ld: 0711-317 ERROR: Undefined symbol: Buffer.8 ld: 0711-317 ERROR: Undefined symbol: Zero.3 ld: 0711-317 ERROR: Undefined symbol: Epoch.6 ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status
I think I know what's causing this (probably a GPC bug). I'm trying to solve it, will report soon (I hope) ...
For now, I'm afraid I only have a work-around for this problem in the RTS. With this applied, I get these results -- all of the failures are for the same reason (static local variables of schema, string or file type). I hope I can provide a better solution soon, but since this isn't common in normal code (and not standard, anyway), GPC should be mostly usable this way.
UNSUPPORTED: asmtest.pas FAIL: bo4-18.pas UNSUPPORTED: crttest.pas FAIL: fjf354.pas FAIL: fjf458a.pas FAIL: fjf458b.pas FAIL: fjf458c.pas FAIL: fjf458d.pas FAIL: fjf459a.pas FAIL: fjf459b.pas UNSUPPORTED: fjf77.pas UNSUPPORTED: gmptest.pas UNSUPPORTED: jj5.pas UNSUPPORTED: longr2.pas UNSUPPORTED: regextest.pas
Frank