[fpc-devel] DF64 BSD -- FPC running natively but argument address mangling prevents bootstrap
John Marino
fpc-devel at marino.st
Tue Nov 18 20:37:21 CET 2014
On 11/18/2014 20:07, Marco van de Voort wrote:
> In our previous episode, John Marino said:
>>>>
>>>> If something is wrong it sometimes shows up in ptrace.
>>>>
>>>> getcwd is a likely candidate since afaik that changed FreeBSD 5+
>>>
>>
>> getcwd seems to work okay, I don't think that's a problem.
>> This is where the problems start (cfileutl.pas, PathExists function):
>>
>> if allowcache then
>> Result:=DirCache.DirectoryExists(hs)
>>
>> The DirCache.DirectoryExists function always returns false, even on
>> valid paths.
>>
>> Still looking...
>
> /me points to the fallback code of when fpgetcwd fails in unix/sysdir.inc:
> function do_getdir.
Thanks, Marco.
In the meantime, FPC can fully bootstrap when dircache is disabled. I
completely the package and it can build itself and 81 other FPC packages
successfully.
http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/20141118_112715/
There were 9 failures but they could have been broken anyway or the
quick-n-dirty replacement hack I did to make x86_64-dragonfly a valid OS
for the makefile backfired.
I definitely want to figure out why cachedir isn't working, but at least
FPC seems functional without it.
John
More information about the fpc-devel
mailing list