Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 153450

Summary: glibc-2.5 has problems with net code on arm
Product: Gentoo Linux Reporter: Vladimir Pouzanov <farcaller>
Component: [OLD] Core systemAssignee: 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: ---

Description Vladimir Pouzanov 2006-10-30 08:03:48 UTC
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).
Comment 1 SpanKY gentoo-dev 2006-10-30 11:27:55 UTC
this is known upstream, i'm just waiting for what people are going to be doing about it
Comment 2 SpanKY gentoo-dev 2006-11-01 17:42:06 UTC
fixed in cvs with patch from upstream