Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168219 - SH4: linux-headers-2.6.20 break SH-4 glibc build
Summary: SH4: linux-headers-2.6.20 break SH-4 glibc build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: sh Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-24 11:30 UTC by Manuel Lauss
Modified: 2007-03-04 23:37 UTC (History)
0 users

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 Manuel Lauss 2007-02-24 11:30:38 UTC
cross-emerging a new sh4 toolchain with linux-headers-2.6.20 + glibc-2.5 breaks
with this error:
In file included from /usr/sh4-unknown-linux-gnu/usr/include/asm/user.h:5,
                 from ../sysdeps/unix/sysv/linux/sh/sys/user.h:24,
                 from ../sysdeps/unix/sysv/linux/sh/sys/procfs.h:31,
                 from ../nptl/../nptl_db/thread_db.h:29,
                 from ../nptl/descr.h:33,
                 from ../nptl/sysdeps/sh/tls.h:86,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/sh/sysdep.h:27,
                 from ../sysdeps/unix/sysv/linux/sh/sh4/sysdep.h:4,
                 from <stdin>:1:
/usr/sh4-unknown-linux-gnu/usr/include/asm/page.h:24:3: error: #error "Bogus kernel page size?"
make[2]: *** [/var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-unknown-linux-gnu/glibc-2.5/work/build-default-sh4-unknown-linux-gnu-nptl/tcb-offsets.h] Error 1
make[2]: Leaving directory `/var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-unknown-linux-gnu/glibc-2.5/work/glibc-2.5/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/cross/sh4-unknown-linux-gnu/portage/cross-sh4-unknown-linux-gnu/glibc-2.5/work/glibc-2.5'
make: *** [all] Error 2

It is okay to "#if 0" the whole contents of the
/usr/sh4-unknown-linux-gnu/usr/include/asm/page.h file, the cross toolchain
builds (and works) fine.

Reproducible: Always

Steps to Reproduce:
1. crossdev -t sh4 --b 2.17 --g 4.1.2 --k 2.6.20 --l 2.5
2.
3.
Comment 1 SpanKY gentoo-dev 2007-03-04 23:37:10 UTC
ive fixed this in 2.6.20-r1