Adriaan van Os wrote:
Waldek Hebisch wrote:
Adriaan van Os wrote:
- (output is long list with real numbers)
emil9.pas
- 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
- Segfault
nlgpp2.pas fproc.pas
- Illegal instruction
goto5.pas fjf558x.pas
You were quite right about -fPIC. All the failures, except emil9.pas disappear with -fno-pic. However, many of the other tests fail with -fno-pic, because the option disables dynamic linking on Mac OS X. The PPC back-end has a workaround (-mdynamic-no-pic) but that doesn't seem to work for i686-apple-darwin.
Updating the linker and assembler to odcctools-20050327 had no effect on testsuite results.
So, I must either
- find a backport of i686-apple-darwin PIC fixes
- find a solution for gcc-3.4 bootstrap problems
- wait for gcc-4.0 support.
I just tried to build 4.0 based cross-compiler targeting i686-apple-darwin. ATM this does not work, but was enough to check that problem 2. (duplicate labels in PIC code) is still present...