Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128989 - cannot compile sys-kernel/sparc-sources-2.4.32-r2
Summary: cannot compile sys-kernel/sparc-sources-2.4.32-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-05 19:49 UTC by christophe
Modified: 2006-04-06 03:59 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 christophe 2006-04-05 19:49:15 UTC
When compiling kernel on a sparc 32 machine (SparcStation 20)
(sparc-sources = sys-kernel/sparc-sources-2.4.32-r2)

make fails with the following errors:

math.c: In function `do_one_mathemu':
math.c:330: error: label at end of compound statement
math.c:343: error: label at end of compound statement
Comment 1 christophe 2006-04-05 20:17:55 UTC
Portage 2.0.54 (default-linux/sparc/sparc32/2006.0/2.4, gcc-3.4.5, glibc-2.3.5-r3, 2.4.29 sparc)
=================================================================
System uname: 2.4.29 sparc sun4m
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="sparc X apache2 berkdb bitmap-fonts bzip2 crypt cups dba dlloader dri expat fbcon foomaticdb fortran gd gdbm gif gstreamer gtk gtk2 imlib isdnlog jpeg libwww motif ncurses nls oss pam perl png python readline spell ssl tcpd truetype truetype-fonts type1-fonts xml zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2006-04-06 03:59:24 UTC
This was fixed in sparc-sources-2.4.32-r3, please give it a try using package.keywords (man 5 portage). It is not yet stable since it's awaiting the 30-day grace period but should work fine.