View previous topic :: View next topic |
Author |
Message |
rburcham Apprentice
Joined: 20 Mar 2003 Posts: 243
|
Posted: Mon Jul 28, 2003 4:22 pm Post subject: sparc-sources-2.4.21-r1 b00fed? |
|
|
I did an emerge sync this morning and then a -up world. Got the blockages wrt perl 5.8.0, MakeMaker, etc. Unmerged those and moved on. Saw there was a new 2.4.21-r1 sparc-sources. Neat.
I copied my .config over from 2.4.21-r0, and then preceeded to
Code: | # make dep
make -C arch/sparc64/kernel check_asm
make[1]: Entering directory `/usr/src/linux-2.4.21-sparc-r1/arch/sparc64/kernel'
touch: creating `/usr/src/linux-2.4.21-sparc-r1/include/asm/asm_offsets.h': No such file or directory
make[1]: *** [check_asm] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.21-sparc-r1/arch/sparc64/kernel'
make: *** [check_asm] Error 2
|
How very strange. Well...
Code: | # mkdir /usr/src/linux-2.4.21-sparc-r1/include/asm |
Let's try it now...
Code: | # make dep
make -C arch/sparc64/kernel check_asm
make[1]: Entering directory `/usr/src/linux-2.4.21-sparc-r1/arch/sparc64/kernel'
sparc64-linux-gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.21-sparc-r1/include -P tmp.c -o tmp.i
/bin/sh ./check_asm.sh -data task tmp.i check_asm_data.c
/bin/sh ./check_asm.sh -data mm tmp.i check_asm_data.c
/bin/sh ./check_asm.sh -data thread tmp.i check_asm_data.c
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-sparc-r1/include -m64 -mcmodel=medlow -ffixed-g4 -S -o check_asm_data.s check_asm_data.c
/bin/sh ./check_asm.sh -ints check_asm_data.s check_asm.c
/bin/sh ./check_asm.sh -printf task tmp.i check_asm.c
/bin/sh ./check_asm.sh -printf mm tmp.i check_asm.c
/bin/sh ./check_asm.sh -printf thread tmp.i check_asm.c
gcc -o check_asm check_asm.c
./check_asm >> asm_offsets.h
sparc64-linux-gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.21-sparc-r1/include -P tmp.c -o tmp.i
/bin/sh ./check_asm.sh -data task tmp.i check_asm_data.c
/bin/sh ./check_asm.sh -data mm tmp.i check_asm_data.c
/bin/sh ./check_asm.sh -data thread tmp.i check_asm_data.c
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-sparc-r1/include -m64 -mcmodel=medlow -ffixed-g4 -S -o check_asm_data.s check_asm_data.c
/bin/sh ./check_asm.sh -ints check_asm_data.s check_asm.c
/bin/sh ./check_asm.sh -printf task tmp.i check_asm.c
/bin/sh ./check_asm.sh -printf mm tmp.i check_asm.c
/bin/sh ./check_asm.sh -printf thread tmp.i check_asm.c
gcc -o check_asm check_asm.c
./check_asm >> asm_offsets.h
sparc64-linux-gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.21-sparc-r1/include -P -DCONFIG_DEBUG_SPINLOCK tmp.c -o tmp.i
/bin/sh ./check_asm.sh -data task tmp.i check_asm_data.c
/bin/sh ./check_asm.sh -data mm tmp.i check_asm_data.c
/bin/sh ./check_asm.sh -data thread tmp.i check_asm_data.c
sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-sparc-r1/include -DCONFIG_DEBUG_SPINLOCK -m64 -mcmodel=medlow -ffixed-g4 -S -o check_asm_data.s check_asm_data.c
/bin/sh ./check_asm.sh -ints check_asm_data.s check_asm.c
/bin/sh ./check_asm.sh -printf task tmp.i check_asm.c
/bin/sh ./check_asm.sh -printf mm tmp.i check_asm.c
/bin/sh ./check_asm.sh -printf thread tmp.i check_asm.c
gcc -o check_asm check_asm.c
./check_asm >> asm_offsets.h
make[1]: Leaving directory `/usr/src/linux-2.4.21-sparc-r1/arch/sparc64/kernel'
rm -f .depend .hdepend
make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net _sfdep_ipc _sfdep_lib _sfdep_grsecurity _sfdep_arch/sparc64/kernel _sfdep_arch/sparc64/lib _sfdep_arch/sparc64/mm _sfdep_arch/sparc64/prom _sfdep_arch/sparc64/solaris _sfdep_arch/sparc64/math-emu _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc lib grsecurity arch/sparc64/kernel arch/sparc64/lib arch/sparc64/mm arch/sparc64/prom arch/sparc64/solaris arch/sparc64/math-emu"
make[1]: Entering directory `/usr/src/linux-2.4.21-sparc-r1'
make -C kernel fastdep
make[2]: Entering directory `/usr/src/linux-2.4.21-sparc-r1/kernel'
make[2]: *** No rule to make target `/usr/src/linux-2.4.21-sparc-r1/include/linux/autoconf.h', needed by `/usr/src/linux-2.4.21-sparc-r1/include/linux/modules/signal.ver'. Stop.
make[2]: Leaving directory `/usr/src/linux-2.4.21-sparc-r1/kernel'
make[1]: *** [_sfdep_kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-sparc-r1'
make: *** [dep-files] Error 2 |
So, is the sparc-sources-2.4.21-r1 distribution broken? Sure looks like it. |
|
Back to top |
|
|
squash Tux's lil' helper
Joined: 22 Jun 2002 Posts: 79
|
Posted: Wed Jul 30, 2003 7:42 pm Post subject: |
|
|
Hi,
Looks to me like you forgot to do a "make oldconfig" before you started compiling?
Squash |
|
Back to top |
|
|
Gordium7 n00b
Joined: 30 Jun 2003 Posts: 5 Location: Colorado, USA
|
Posted: Thu Jul 31, 2003 5:10 am Post subject: |
|
|
I had some problems as well.
I was happy when I saw that 2.4.21-r1 supposedily fixed the SMP build (since I recently upgraded from a SM-50 to dual SM-71's).
When I tried the build it seemed to go OK, but I noticed that the temp directory was still refering to the previsous r0 version. When I tried to boot the newly created kernel, it still had the old error (SETH fixup....whatever). I had noted the r1 patch being unpacked and applied.
I think something is scrozzled. |
|
Back to top |
|
|
squash Tux's lil' helper
Joined: 22 Jun 2002 Posts: 79
|
Posted: Thu Jul 31, 2003 3:51 pm Post subject: |
|
|
One thing I noticed, I'm running vanilla-sources, not sparc-sources, so thats likely part of it. I'm running SMP on my ultra2 with no problems... |
|
Back to top |
|
|
rburcham Apprentice
Joined: 20 Mar 2003 Posts: 243
|
Posted: Fri Aug 01, 2003 12:51 am Post subject: |
|
|
squash wrote: | Hi,
Looks to me like you forgot to do a "make oldconfig" before you started compiling?
Squash |
Well I guess you learn something new every couple of days or so! |
|
Back to top |
|
|
Gordium7 n00b
Joined: 30 Jun 2003 Posts: 5 Location: Colorado, USA
|
Posted: Mon Aug 04, 2003 7:42 pm Post subject: |
|
|
I fixed my problem.
For some reason the -r1 ebuild did not have the /usr/src/linux symbolic link pointing to the new subdirectory, so it was the -r0 being built. Once I fixed that and copied over my old .config file, I successfully built a working SMP kernel.
Happy day. |
|
Back to top |
|
|
|