Re: Missing socket functions on x86_64
Gernot Tenchio <[email protected]> Thu, 28 Jul 2011 23:36:20 +0200
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Organization | privat |
| Message-ID | <20110728233620.13c81345@brian> |
Hi Benedikt, On Thu, 28 Jul 2011 07:44:14 +0200 Benedikt Böhm <[email protected]> wrote: > Hi Gernot, > > On Wed, Jul 27, 2011 at 11:32 PM, Gernot Tenchio <[email protected]> wrote: > > All socket functions are missing in the current x86_64 build. This is > > because x86_64 has no socketcall and functions such as __libc_sendto are > > only build if __NR_socketcall is defined. > > you probably want to apply this patch: > https://github.com/ensc/dietlibc/commit/4e8cb0b775a3a1fb738e7a077889cd5e74ea5ba0 This patch is for i386 only. But anyway, i was completely wrong. The functions are missing because the assembler files containing these functions are simply not included from x86_64/dyn_syscalls.S. I've pushed a fix to my git repository @ https://github.com/tenchman/dietlibc 'make dyn' now works. No more, no less. If time permits (after some testing) I'll send a pull request to 'ensc'. Gernot