Waldek Hebisch wrote:
Adriaan van Os wrote:
The results of the testsuite of gpc-20050331 with gcc-3.3.6 on i686-apple-darwin
The results look bad. However, it looks that Darwin uses -fPIC by default. On i386-linux with gcc-3.3.6 using -fPIC I also get multiple failures. With gcc-3.4.4 using -fPIC only one of those failure remain (asmtest.pas) and it is really problem with test program. So, maybe you should test with gcc-3.4.[34].
I started with gcc-3.4.3, but there are multiple bootstrap problems with gcc-3.4.x on i686-apple-darwin (gcc-4.0 and gcc-3.3.x do bootstrap).
On Linux this is due to binutils (assembler) bug, see:
(I tested with Debian binutils 2.12.90.0.1). According to GCC doc binutils 2.13.1 fixed the problem. I am not sure why gcc-3.4.4 do not have the same problem.
Thanks for the suggestions. I will build more recent cctools and try again.
There may be more than one problem (although possibly there is a common cause).
1. (output is long list with real numbers) emil9.pas
2. Assembler fails with "Symbol Lx$pb already defined" fjf219x.pas goto4.pas knuth3.pas math.pas mir047h.pas nonloc2goto.pas nonloc3goto.pas nonlocgoto.pas waldek8.pas
3. Segfault nlgpp2.pas fproc.pas
4. Illegal instruction goto5.pas fjf558x.pas
Regards,
Adriaan van Os