Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5290 - Building the gentoo-sources kernel breaks on Sparc
Summary: Building the gentoo-sources kernel breaks on Sparc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Maarten Thibaut (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-19 22:16 UTC by Ivan Raikov
Modified: 2002-07-24 09:52 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 Ivan Raikov 2002-07-19 22:16:46 UTC
I recently attempted to install Gentoo Linux 1.1 on a SparcStation 20, using the
CD-ROM image. However, I'm unable to build the kernel in gentoo-sources, because
of the following error occurring when doing `make vmlinux`:

make[2]: Entering directory `/usr/src/linux-2.4.19-gentoo-r7/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.19-gentoo-r7/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7  
-nostdinc -I /usr/lib/gcc-lib/sparc-unknown-linux-gnu/2.95.3/include
-DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -O2 -c -o sched.o sched.c
sched.c: In function `schedule':
sched.c:823: warning: implicit declaration of function `sched_find_first_bit'
sched.c: In function `show_task':
sched.c:1424: warning: implicit declaration of function `__ffs'
{standard input}: Assembler messages:
{standard input}:2216: Error: symbol `flush_patch_switch' is already defined
{standard input}:2283: Error: symbol `patchme_store_new_current' is already defined
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r7/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r7/kernel'
make: *** [_dir_kernel] Error 2
Comment 1 Jack Morgan (RETIRED) gentoo-dev 2002-07-24 09:52:44 UTC
You can't use gentoo-sources as they contain ix86 special patches. Use
vanilla-sources instead.