Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125191 - Kernel version too low! for building glibc
Summary: Kernel version too low! for building glibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 00:40 UTC by dufour_l
Modified: 2006-03-06 03:06 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 dufour_l 2006-03-06 00:40:55 UTC
While trying to emerge -ua world from a gentoo 2005.1 to a 2006.0

It seems that glibx does not build because of the kernel beeing too low, but there is no kernel 2.6 availaible in sparc-sources neither in gentoo-sources, they are all being masked. Which 2.6 kernel should I use. I have a sun sparc ultra 5. I'am a already with a 2.4.32 kernel.

while emerging I got this :

>>> emerge (6 of 63) sys-libs/glibc-2.3.5-r3 to /
>>> md5 files   ;-) glibc-2.3.6-r1.ebuild
>>> md5 files   ;-) glibc-2.3.6-r2.ebuild
>>> md5 files   ;-) glibc-2.3.4.20050125-r1.ebuild
>>> md5 files   ;-) glibc-2.3.3.20040420-r2.ebuild
>>> md5 files   ;-) glibc-2.3.5.ebuild
>>> md5 files   ;-) glibc-2.2.5-r10.ebuild
>>> md5 files   ;-) glibc-2.3.4.20040808-r1.ebuild
>>> md5 files   ;-) glibc-2.3.4.20041102-r1.ebuild
>>> md5 files   ;-) glibc-2.3.4.20040619-r2.ebuild
>>> md5 files   ;-) glibc-2.3.2-r12.ebuild
>>> md5 files   ;-) glibc-2.3.6.ebuild
>>> md5 files   ;-) glibc-2.3.4.20041102-r2.ebuild
>>> md5 files   ;-) glibc-2.3.5-r1.ebuild
>>> md5 files   ;-) glibc-2.3.5-r2.ebuild
>>> md5 files   ;-) glibc-2.3.5-r3.ebuild
>>> md5 files   ;-) glibc-2.3.6-r3.ebuild
>>> md5 files   ;-) files/digest-glibc-2.3.4.20040808-r1
>>> md5 files   ;-) files/glibc-sec-hotfix-20040804.patch
>>> md5 files   ;-) files/digest-glibc-2.3.4.20041102-r1
>>> md5 files   ;-) files/nsswitch.conf
>>> md5 files   ;-) files/glibc-sec-hotfix-20040916.patch
>>> md5 files   ;-) files/nscd
>>> md5 files   ;-) files/digest-glibc-2.3.6-r3
>>> md5 files   ;-) files/digest-glibc-2.3.6
>>> md5 files   ;-) files/digest-glibc-2.3.5
>>> md5 files   ;-) files/digest-glibc-2.3.6-r1
>>> md5 files   ;-) files/digest-glibc-2.3.2-r12
>>> md5 files   ;-) files/digest-glibc-2.3.3.20040420-r2
>>> md5 files   ;-) files/test-__thread.c
>>> md5 files   ;-) files/locales.build
>>> md5 files   ;-) files/digest-glibc-2.3.4.20040619-r2
>>> md5 files   ;-) files/digest-glibc-2.2.5-r10
>>> md5 files   ;-) files/digest-glibc-2.3.6-r2
>>> md5 files   ;-) files/fix-sysctl_h.patch
>>> md5 files   ;-) files/digest-glibc-2.3.4.20050125-r1
>>> md5 files   ;-) files/nscd.conf
>>> md5 files   ;-) files/glibc-2.2.2-test-lfs-timeout.patch
>>> md5 files   ;-) files/test-sysctl_h.c
>>> md5 files   ;-) files/digest-glibc-2.3.4.20041102-r2
>>> md5 files   ;-) files/digest-glibc-2.3.5-r1
>>> md5 files   ;-) files/digest-glibc-2.3.5-r2
>>> md5 files   ;-) files/digest-glibc-2.3.5-r3
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-fix-omitted-operand-in-mathinline_h.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-alpha-pwrite.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-arm-bus-defines.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-mips-configure-for-n64-symver.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-alpha-sysdeps.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-decc-compaq.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-gcc33-sscanf.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-armformat.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-cispeed-cospeed-fix.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-iconvconfig-name_insert.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-propolice-guard-functions.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-got-fix.diff
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-frandom-detect.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-assert.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-s390-deprecated-ustat-fixup.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-ia64-LOAD_ARGS-fixup.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-ipv6-bytestring-fix.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-mips-add-n32-n64-sysdep-cancel.patch
>>> md5 files   ;-) files/2.3.2/sysmacros.h
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-redhat-nptl-fixes.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-mips-fix-n32-n64-sysdep-headers.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-signal-ssp.diff
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-alpha-crti.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-propolice-guard-functions-v2.patch
>>> md5 files   ;-) files/2.3.2/ssp.c
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-dl_execstack-PaX-support.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-redhat-linuxthreads-fixes.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-framestate-USING_SJLJ_EXCEPTIONS.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-pt_pax.diff
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-nptl-fix-include.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-mips-fix-nested-entend-pairs.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-mips-pread-linux2.5.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-owl-malloc-unlink-sanity-check.diff
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-propolice-guard-functions-v3.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-rtld-assert-fix.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-dl-reloc-calc-fix.patch
>>> md5 files   ;-) files/2.3.2/glibc-2.3.2-amd64-nomultilib.patch
>>> md5 files   ;-) files/2.3.2/posix_fadvise64.c
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-owl-malloc-unlink-sanity-check.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-mips-syscall.h.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3_pre20040420-mips-incl-sgidefs.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-frandom-detect.patch
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3_pre20040420-mips-dl-machine-calls.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3_pre20040117-got-fix.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-mips-sysify.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-dl_execstack-PaX-support.patch
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-tempfile.patch
>>> md5 files   ;-) files/2.3.3/ssp.c
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-mips-nolib3264.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-mips-addabi.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3_pre20040117-pt_pax.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-mips-semtimedop.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3-localedef-fix-trampoline.patch
>>> md5 files   ;-) files/2.3.3/glibc-2.3.3_pre20040117-signal-ssp.diff
>>> md5 files   ;-) files/2.3.3/glibc-2.3.2-propolice-guard-functions-v3.patch
>>> md5 files   ;-) files/2.3.6/host.conf
>>> md5 files   ;-) files/2.3.6/glibc-2.3.6-propolice-guard-functions.patch
>>> md5 files   ;-) files/2.3.4/glibc-gentoo-libdir.patch
>>> md5 files   ;-) files/2.3.4/glibc-sec-hotfix-20040916.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.3-mdns-resolver2.diff
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-fedora-branch-no-libnoversion.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-fedora-branch-no-force-nontls.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-ld.so-brk-fix.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-mips-generate-syscall_h.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-hppa-hardened-disable__init_arrays.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-res_init.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-mips-rtld_deepbind-undefined.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-nptl-pthread.h-g++-fix.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-getcontext.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4.20040808-i386-got-fix.diff
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-nptl-altivec.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-mips-add-missing-sgidefs_h.patch
>>> md5 files   ;-) files/2.3.4/host.conf
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-fedora-branch-nomalloccheck.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-arm-ioperm.patch
>>> md5 files   ;-) files/2.3.4/glibc234-alpha-xstat.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-mdns-resolver-20041102.diff
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-hardened-sysdep-shared.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-mips-sysdep-cancel.diff
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-fix-_dl_next_tls_modid-assert.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-features-header-fix.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-mips-update-__throw.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-mips-prot_grows-undefined.patch
>>> md5 files   ;-) files/2.3.4/glibc-2.3.4-dl_execstack-PaX-support.patch
>>> md5 files   ;-) files/2.3.4/hppa-no-pie.patch
>>> md5 files   ;-) files/2.3.5/glibc-2.3.5-propolice-guard-functions.patch
>>> md5 files   ;-) files/2.3.5/ssp.c
>>> md5 files   ;-) files/2.3.5/glibc-2.3.5-frandom-detect.patch
>>> md5 files   ;-) files/2.3.1/glibc-2.3.1-ctype-compat-v3.patch
>>> md5 files   ;-) files/2.3.1/glibc-2.3.1-stack_end-compat.patch
>>> md5 files   ;-) files/2.3.1/glibc-2.3.1-fpu-cw-mips.patch
>>> md5 files   ;-) files/2.3.1/glibc-2.3.1-libgcc-compat-mips.patch
>>> md5 files   ;-) files/2.3.1/glibc-2.3.1-librt-mips.patch
>>> md5 files   ;-) files/2.3.1/glibc23-07-hppa-atomicity.dpatch
>>> md5 files   ;-) files/2.3.1/glibc-2.3.1-libc_wait-compat.patch
>>> md5 src_uri ;-) glibc-2.3.5.tar.bz2
>>> md5 src_uri ;-) glibc-linuxthreads-2.3.5.tar.bz2
>>> md5 src_uri ;-) glibc-libidn-2.3.5.tar.bz2
>>> md5 src_uri ;-) glibc-2.3.5-patches-1.16.tar.bz2
>>> md5 src_uri ;-) glibc-manpages-2.3.5.tar.bz2
>>> md5 src_uri ;-) glibc-infopages-2.3.5.tar.bz2
>>> md5 src_uri ;-) glibc-fedora-20041219T2331.tar.bz2
 * Warning! Gentoo's GLIBC with NPTL enabled now behaves like the
 * glibc from almost every other distribution out there. This means
 * that glibc is compiled -twice-, once with linuxthreads and once
 * with nptl. The NPTL version is installed to lib/tls and is still
 * used by default. If you do not need nor want the linuxthreads
 * fallback, you can disable this behavior by adding nptlonly to
 * USE to save yourself some compile time.
>>> Unpacking source...

 * Checking gcc for __thread support ... yes
 * Checking kernel version (>=2.6.6) ... no

 * You need a kernel of at least version 2.6.6
 * for NPTL support!

!!! ERROR: sys-libs/glibc-2.3.5-r3 failed.
!!! Function check_nptl_support, Line 726, Exitcode 0
!!! Kernel version too low!
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-06 01:02:50 UTC
Well, so either

- switch to 2.4 profile
- or 'echo "sys-kernel/gentoo-sources ~sparc" >> /etc/portage/package.keywords' and upgrade your kernel 
- or remove nptl from your use flags
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2006-03-06 03:06:20 UTC
As Jakub says, you MUST use the 2006.0/2.4 profile for the "stable" (and 2.4) branch. The plain 2006.0 profile is for 2.6 kernels which aren't currently keyworded stable because they aren't on all machine models where 2.4 is.
If we keyworded 2.6 stable most people would want to switch and they'd get bad results in some cases.
That being said you can check http://www.gentoo.org/proj/en/base/sparc/sunhw.xml for success/failure reports for specific hardware.
Ultra 5 machines do fine with 2.6.