some status below
Adriaan van Os wrote:
Gale Paeper wrote:
Actually I had installed the patch Gale mentioned and actually there is a problem. For some reason under 10.5.2 the symbol __sysctl is not found but sysctl works. I therefore replaced __sysctl by sysctl in the patch and the build now proceeds to a new kind of problem:
That one I think is new with 10.5.2. Since Adriaan's supplied trampoline patch doesn't use __sysctl, I'm curious as to where the symbol __sysctl occurrence is located.
Yes, there may be a mix-up. The old trampoline patch *did* use __sysctl
[... patches omitted ... ]
I can confirm that using the latest patch (which btw is also included in gcc 4.2.3 and 4.3.0 solves the original sysctl problem for latest gpc (gpc-20070904.tar.bz2) based on gcc 3.4.5 and based on 4.1.2.
Unfortunately I the build of "make bootstrap" terminates prematurely with
... (based on gcc 3.4.5) /Users/peterschorn/projects/gpc3/gcc-3.4.5/gcc/p/utils/gpidump.pas:1185: error: undeclared identifier `RTL_EXPR' (first use in this routine) make[3]: *** [gpidump] Error 1 make[2]: *** [pascal.utils] Error 2 make[1]: *** [stage1_build] Error 2 make: *** [bootstrap] Error 2
resp.
... (based on gcc 4.1.2) /Users/peterschorn/projects/gpc4/gcc-4.1.2/gcc/p/utils/gpidump.pas:1315: error: syntax error before `Close' make[3]: *** [gpidump] Error 1 make[2]: *** [pascal.utils] Error 2 make[1]: *** [stage1_build] Error 2 make: *** [bootstrap] Error 2
In the build based on gcc 3.4.5. there is no mention of the "can't find atom ..." I saw in 4.1.2. so probably this is not related to the problem leading to the issue.
I then looked at gpidump.pas and interestingly enough the error messages are actually justified since the generated - now I'm looking whether the 10.5.2 supplied sed has an issue ...
Peter --- peter.schorn@acm.org