public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Errors in 2.4-test11 build
@ 2000-11-09  1:39 J . A . Magallon
  2000-11-09 20:13 ` Chmouel Boudjnah
  0 siblings, 1 reply; 4+ messages in thread
From: J . A . Magallon @ 2000-11-09  1:39 UTC (permalink / raw)
  To: Linux Kernel List

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
 >>>>>          # 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...

-- 
Juan Antonio Magallon Lacarta                                 #> cd /pub
mailto:jamagallon@able.es                                     #> more beer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Errors in 2.4-test11 build
  2000-11-09  1:39 Errors in 2.4-test11 build J . A . Magallon
@ 2000-11-09 20:13 ` Chmouel Boudjnah
  2000-11-09 23:57   ` J . A . Magallon
  0 siblings, 1 reply; 4+ messages in thread
From: Chmouel Boudjnah @ 2000-11-09 20:13 UTC (permalink / raw)
  To: jamagallon; +Cc: Linux Kernel List, Mandrake Kernel

"J . A . Magallon" <jamagallon@able.es> writes:

> 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.

-- 
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Errors in 2.4-test11 build
  2000-11-09 20:13 ` Chmouel Boudjnah
@ 2000-11-09 23:57   ` J . A . Magallon
  2000-11-10  0:01     ` Chmouel Boudjnah
  0 siblings, 1 reply; 4+ messages in thread
From: J . A . Magallon @ 2000-11-09 23:57 UTC (permalink / raw)
  To: Chmouel Boudjnah; +Cc: jamagallon, Linux Kernel List, Mandrake Kernel


On Thu, 09 Nov 2000 21:13:36 Chmouel Boudjnah wrote:
> "J . A . Magallon" <jamagallon@able.es> writes:
> 
> > 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.
> 

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 ?

-- 
Juan Antonio Magallon Lacarta                                 #> cd /pub
mailto:jamagallon@able.es                                     #> more beer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Errors in 2.4-test11 build
  2000-11-09 23:57   ` J . A . Magallon
@ 2000-11-10  0:01     ` Chmouel Boudjnah
  0 siblings, 0 replies; 4+ messages in thread
From: Chmouel Boudjnah @ 2000-11-10  0:01 UTC (permalink / raw)
  To: jamagallon; +Cc: Linux Kernel List, Mandrake Kernel

"J . A . Magallon" <jamagallon@able.es> writes:

> 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.

-- 
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-10  0:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-09  1:39 Errors in 2.4-test11 build J . A . Magallon
2000-11-09 20:13 ` Chmouel Boudjnah
2000-11-09 23:57   ` J . A . Magallon
2000-11-10  0:01     ` Chmouel Boudjnah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox