| Summary: | glibc-2.5 has problems with net code on arm | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Vladimir Pouzanov <farcaller> |
| Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | radek |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| URL: | http://sourceware.org/ml/libc-ports/2006-10/msg00038.html | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
this is known upstream, i'm just waiting for what people are going to be doing about it fixed in cvs with patch from upstream |
modification of sysdeps/unix/sysv/linux/check_pf.c in glibc 2.5 introduces a new "char pad[3]" in "struct req" and "assert (sizeof (req) - offsetof (struct req, pad) == 3)" several lines later. That assert fails on arm kernel (2.6.17 headers). As stated in the comment: /* struct rtgenmsg consists of a single byte. This means there are three bytes of padding included in the REQ definition. We make them explicit here. */ explicit bytes are not good thing to that code should be disabled to make glibc-2.5 work correctly on arm (lines 71, 68 and 69).