Summary: | merge of klibc-1.5.12-r1 in a x86 chroot on amd64 fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michal Januszewski (RETIRED) <spock> |
Component: | New packages | Assignee: | Gentoo Kernel Miscellaneous <kernel-misc> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michal Januszewski (RETIRED)
![]() ARCH=$(tc-arch-kernel) would be wrong. On a split 64-32 system (ppc64-32ul is my personal testcase), the kernel copy used by klibc MUST be configured as ppc32. was your chroot running in linux32 or not? (In reply to comment #2) > was your chroot running in linux32 or not? I'm not sure what you mean by "running in linux32", so I'll just describe the whole setup: host: amd64, default-linux/amd64/2007.0/desktop chroot: x86, uclibc/x86 I completely agree that the kernel used for klibc has to be configured for 32-bit mode (x86 in this case) and in fact the whole problem stems from the fact that in the case described above it isn't. By unsetting ARCH and running `make defconfig`, the kernel config system tries to configure the kernel for amd64 (host system) which is wrong, because we're in a x86 chroot. spock: inside the chroot, what does "uname -m" return? (In reply to comment #4) > spock: inside the chroot, what does "uname -m" return? It prints "x86_64". Ok, your chroot should be running inside linux32/setarch then. Just doing a plain chroot is not sufficient. Consider if you run a normal x86 kernel on a x86_64 box, it does NOT say x86_64, so your chroot env shouldn't either. |