Skip to contentSkip to conversation

Errors in 2.4-test11 build

DISCUSSION J . A . Magallon 2 participants 4 messages Nov 9, 2000 – Nov 10, 2000

lore
Share & tools
lore
#0 lore raw

Trying to build 2.4.0-test11-pre1 I get the following:

make[1]: Entering directory `/usr/src/linux-2.4.0-test11/arch/i386/kernel' kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -traditional -c trampoline.S -o trampoline.o
gcc: installation problem, cannot exec `tradcpp0': No such file or directory make[1]: *** [trampoline.o] Error 1

My egcs does not have a -traditional cpp (Mandrake 7.2, packages egcs and egcs-cpp).

Is mandatory the -traditional flag in linux/arch/i386/kernel/Makefile ?

If I symlink /usr/lib/gcc-lib/i586-mandrake-linux/egcs-2.91.66/tradcpp0 -> cpp0, or
remove -traditional:

kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -c trampoline.S -o trampoline.o
trampoline.S:47: unterminated character constant

Code is:

    movl    $0xA5A5A5A5, trampoline_data - r_base
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
         # write marker for master knows we're running

well, remove the comment. Then:

kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -c trampoline.S -o trampoline.o
/tmp/ccg9ZEBO.s: Assembler messages:
/tmp/ccg9ZEBO.s:806: Error: can't handle non absolute segment in `ljmp'

What's going on ??? Build works ok with 2.95.2.
Any idea ?

Thanks for reading...

Signature · 7 lines
Juan Antonio Magallon Lacarta                                 #> cd /pub
mailto:[email protected]                                     #> more beer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#1 lore raw
Quoted 9 lines · J . A . Magallon

Trying to build 2.4.0-test11-pre1 I get the following:

make[1]: Entering directory `/usr/src/linux-2.4.0-test11/arch/i386/kernel' kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -traditional -c trampoline.S -o trampoline.o
gcc: installation problem, cannot exec `tradcpp0': No such file or directory make[1]: *** [trampoline.o] Error 1
My egcs does not have a -traditional cpp (Mandrake 7.2, packages egcs and egcs-cpp).

sorry this is an error with the egcs package can you upgrade to these packages :

ftp://ftp.chmouel.org/pub/people/chmou/kgcc/

and let me know if it's work for you (it does for me) and will do an update soon.

Signature · 6 lines
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#2 lore raw
In reply to J . A . Magallon
Quoted 12 lines · On Thu, 09 Nov 2000 21:13:36 Chmouel Boudjnah wrote:
Quoted 9 lines · J . A . Magallon

Trying to build 2.4.0-test11-pre1 I get the following:

make[1]: Entering directory `/usr/src/linux-2.4.0-test11/arch/i386/kernel' kgcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux/include -traditional -c trampoline.S -o trampoline.o
gcc: installation problem, cannot exec `tradcpp0': No such file or directory make[1]: *** [trampoline.o] Error 1
My egcs does not have a -traditional cpp (Mandrake 7.2, packages egcs and egcs-cpp).

Quoted 8 lines

sorry this is an error with the egcs package can you upgrade to these packages :

ftp://ftp.chmouel.org/pub/people/chmou/kgcc/

and let me know if it's work for you (it does for me) and will do an update soon.

Worked fine.

A suggestion. People being able to build kernels with egcs or other version, would not be this suitable for another entry in /var/lib/rpm/alternatives, named kgcc, and with priorities gcc-2.91.66, gcc-2.95.2, gcc-2.7.2.3, gcc-2.96 ?

Signature · 7 lines
Juan Antonio Magallon Lacarta                                 #> cd /pub
mailto:[email protected]                                     #> more beer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#3 lore raw
In reply to J . A . Magallon
Quoted 3 lines · J . A . Magallon

A suggestion. People being able to build kernels with egcs or other version, would not be this suitable for another entry in /var/lib/rpm/alternatives, named kgcc, and with priorities gcc-2.91.66, gcc-2.95.2, gcc-2.7.2.3, gcc-2.96 ?

this could be a good idea, but i don't want to set kgcc for gcc-2.96, and we have only (in cooker) egcs- and gcc-2.96 in the main/ ditstrib.

Ok and BTW: this problem is only for the mandrake devlopement distribution (cooker) 7.2 out of the box egcs/kgcc should work fine.

Signature · 6 lines
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/