Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153450 - glibc-2.5 has problems with net code on arm
Summary: glibc-2.5 has problems with net code on arm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/ml/libc-ports/2...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-30 08:03 UTC by Vladimir Pouzanov
Modified: 2006-11-01 17:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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