* Bennett Todd:
> 2005-05-11T19:29:38 Florian Weimer:
>> Have you linked *everything* statically, including libc? You
>> shouldn't do this.
>
> Why not?
Because it breaks things like DNS lookups.
> Unlike libc APIs, the syscall APIs that various libcs use
> are nice and stable.
Yeah, as long as you don't use Linux reimplementations like Sun's.
> The statically linked darcs from carpetcode calls _sysctl at
> startup, apparently to get the kernel version:
>
> _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfffecb0, 31, (nil), 0}) = 0
Sun's GNU libc version won't do this, so it's better to run a darcs
version which has everything statically linked *except* libc.
_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users