Okay... gcc compiled fine and installed to my prefix...
I made sure it would find this version of gcc first:
export PATH=/usr/src/TESTS/gcc/bin/:$PATH
export LD_LIBRARY_PATH=/usr/src/TESTS/gcc/lib:$LD_LIBRARY_PATH
I copied my .config file and did a 'make mrproper' on the kernel directory.
Did make menuconfig again, reenabled SMP.
make dep
make bzImage
It seemed to go very well, but alas:
...
ld -m elf_i386 -r -o built-in.o security.o dummy.o capability.o
make[1]: Forlader katalog '/usr/src/TESTS/linux-2.5.37/security'
make[1]: Går til katalog '/usr/src/TESTS/linux-2.5.37/init'
gcc -Wp,-MD,./.main.o.d -D__KERNEL__ -I/usr/src/TESTS/linux-2.5.37/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/TESTS/linux-2.5.37/arch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=main -c -o main.o main.c
Generating /usr/src/TESTS/linux-2.5.37/include/linux/compile.h (updated)
gcc -Wp,-MD,./.version.o.d -D__KERNEL__ -I/usr/src/TESTS/linux-2.5.37/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/TESTS/linux-2.5.37/arch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=version -c -o version.o version.c
gcc -Wp,-MD,./.do_mounts.o.d -D__KERNEL__ -I/usr/src/TESTS/linux-2.5.37/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/TESTS/linux-2.5.37/arch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=do_mounts -c -o do_mounts.o do_mounts.c
ld -m elf_i386 -r -o built-in.o main.o version.o do_mounts.o
make[1]: Forlader katalog '/usr/src/TESTS/linux-2.5.37/init'
make[1]: Går til katalog '/usr/src/TESTS/linux-2.5.37/arch/i386/kernel'
gcc -Wp,-MD,./.process.o.d -D__KERNEL__ -I/usr/src/TESTS/linux-2.5.37/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/TESTS/linux-2.5.37/arch/i386/mach-generic -nostdinc -iwithprefix include -DKBUILD_BASENAME=process -c -o process.o process.c
{standard input}: Assembler messages:
{standard input}:518: Error: suffix or operands invalid for `mov'
{standard input}:519: Error: suffix or operands invalid for `mov'
{standard input}:764: Error: suffix or operands invalid for `mov'
{standard input}:765: Error: suffix or operands invalid for `mov'
{standard input}:842: Error: suffix or operands invalid for `mov'
{standard input}:843: Error: suffix or operands invalid for `mov'
{standard input}:852: Error: suffix or operands invalid for `mov'
{standard input}:864: Error: suffix or operands invalid for `mov'
make[1]: *** [process.o] Fejl 1
make[1]: Forlader katalog '/usr/src/TESTS/linux-2.5.37/arch/i386/kernel'
make: *** [arch/i386/kernel] Fejl 2
dualpc:/usr/src/TESTS/linux-2.5.37 # whereis ld
ld: /usr/bin/ld /usr/bin/X11/ld /usr/share/man/man1/ld.1.gz
dualpc:/usr/src/TESTS/linux-2.5.37 # ls /usr/src/TESTS/gcc/bin/
c++ chill g++ gcc gcjh i686-pc-linux-gnu-gcc jv-scan unprotoize
c++filt cpp g77 gcj gcov jcf-dump protoize
dualpc:/usr/src/TESTS/linux-2.5.37 # whereis gcc
gcc: /usr/src/TESTS/gcc /usr/bin/gcc /usr/lib/gcc /usr/bin/X11/gcc /usr/share/man/man1/gcc.1.gz
It this one of those transitory problems that comes with a development kernel?
Is there anything I can do in this case or is it 'pick another version' time?
/Martin.
----- "Martin Møller"
Ah! I think I found it.... RTFM: make bootstrap
It's been about 5-6 years since I last tried that... ;)
/Martin.
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org