Discussion:
How to create a working build environment
Håvard Ostnes
2012-01-27 11:25:55 UTC
Permalink
Hi!

I have set up a Linux Debian Lenny 2.6.26-2-686 build environment in Virtualbox with Gcc-G++ versions 3.2, 3.4.6 and 4.3.2.
I cannot compile the kernel with 3.2, which is the recommended version.

I have tried different CPU types in make menuconfig, and build fails at the "make" command after "make menuconfig" with the following error: "cc1plus: invalid option `no-sse3`".

Can you please provide some more information on how to create a working build environment for Pistachio?
I have been trying for the past 14 days now to get a working build environment and I'm starting to give up.

I have tried compiling with gcc/g++ 4.0.0, 3.4.6, 4.3.2 and 3.2 without success.
The kernel will not compile at all with 3.2, but will compile with later versions of GCC/G++, but will not execute pingpong.

I hope this makes sense.

Best regards,
Håvard Ostnes
Jan Stoess
2012-01-30 20:05:09 UTC
Permalink
Hi Håvard Ostnes,

Is there any reason why you're trying 3.2? You'll most probably be easier off using a recent compiler, it says 3.2 or higher. 4-versions generally work; I'm currently using 4.6 for ia32 on Ubuntu oneiric.

-Jan

--
Dr. Jan Stoess, KIT System Architecture Group
Phone: +49 (721) 6084 4056 Cell: +49 (1520) 160 1474
Håvard Ostnes
2012-02-01 14:46:21 UTC
Permalink
Post by Jan Stoess
Hi Håvard Ostnes,
Is there any reason why you're trying 3.2? You'll most probably be easier off
using a recent compiler, it
Post by Jan Stoess
says 3.2 or higher. 4-versions generally work; I'm currently using 4.6 for
ia32 on Ubuntu oneiric.
Post by Jan Stoess
-Jan
--
Dr. Jan Stoess, KIT System Architecture Group
Phone: +49 (721) 6084 4056 Cell: +49 (1520) 160 1474
I discovered that the problems was related to Virtualbox, not GCC/G++.
I installed the current build-essential package onto my Debian Lenny box and the
kernel now runs smoothly.

For those interested, I have made a how-to on bulding L4 kernel and configuring
it to boot using GRUB2.

http://dl.dropbox.com/u/11080637/How%20To%20Build%20L4.pdf

thank you for your reply!

håvard

Loading...