Thank you very much.
On 2026/02/03 2:50, Charlie Li wrote:
Currently dealing with upstream over the meaning of "relocatable". Turns out
this does not mean ELF relocation. When the feature is enabled, since there is no
FreeBSD-specific preprocessor guard, the Linux path is taken, which includes reading
stuff from Linux's procfs. In theory we should take whatever approach works for macOS,
but I'm still working with upstream on how best to support this feature even though it
should be disabled by default.
For now, I will disable the feature for this port too.
This time, in my environment, linprocfs started being mounted constantly :), so
it seems that I should have looked inside it.
The function gegl_find_relocatable_exe doesn't seem to be doing anything
particularly fancy.
It seems to me that we can handle it simply by making the following
replacements.
/proc/self -> /proc/curproc
/proc/self/exe -> /proc/curproc/file
/proc/self/maps -> /proc/curproc/map and, change the column to be read.
Well, I don't know how the values obtained in that way will be used later, so
that's just my guess :)
Regards.