Re: building kernel 2.0.x under potato

1999-09-27 Thread Herbert Xu
On Mon, Sep 27, 1999 at 10:41:14PM +0200, Filip Van Raemdonck wrote: > > I actually had to start learning perl for this but I guess it had to > happen once anyway, so... Thanks, please forward this to the maintainer of kernel-package. > You probably want to set the HOSTCC and CC variables in mak

Re: building kernel 2.0.x under potato

1999-09-27 Thread Filip Van Raemdonck
-BEGIN PGP SIGNED MESSAGE- On Sat, 25 Sep 1999, Herbert Xu wrote: > > > > > > make bzImage HOSTCC=/usr/bin/egcs > > > > Indeed it does. I was too busy looking for a way to do it in the > > environment... Can one use this with make-kpkg as well? > > Probably not, perhaps you can make a

Re: building kernel 2.0.x under potato

1999-09-25 Thread Herbert Xu
On Sat, Sep 25, 1999 at 02:23:42PM +0200, Filip Van Raemdonck wrote: > > > > make bzImage HOSTCC=/usr/bin/egcs > > Indeed it does. I was too busy looking for a way to do it in the > environment... Can one use this with make-kpkg as well? Probably not, perhaps you can make a patch... -- Debian G

Re: building kernel 2.0.x under potato

1999-09-25 Thread Filip Van Raemdonck
> > make bzImage HOSTCC=/usr/bin/egcs Indeed it does. I was too busy looking for a way to do it in the environment... Can one use this with make-kpkg as well? --- Filip Van Raemdonck [EMAIL PROTECTED] member of the

Re: building kernel 2.0.x under potato

1999-09-25 Thread Herbert Xu
On Sat, Sep 25, 1999 at 02:14:11PM +0200, Filip Van Raemdonck wrote: > > Doesn't work either: > > lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ export > HOSTCC=/usr/bin/egcc > lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ echo $HOSTCC $CC > /usr/bin/egcc /usr/bin/egcc > lucretia:/usr/src/kernel

Re: building kernel 2.0.x under potato

1999-09-25 Thread Filip Van Raemdonck
Herbert Xu wrote: > > Of course not, if you want to change the compiler for stuff like dependencies, > you need to set HOSTCC. But for the problem at hand, which is compiling the > actual kernel with gcc272, CC works just fine. Doesn't work either: lucretia:/usr/src/kernel-source-2.2.12-2.2.12$

Re: building kernel 2.0.x under potato

1999-09-25 Thread Herbert Xu
On Sat, Sep 25, 1999 at 01:31:08PM +0200, Filip Van Raemdonck wrote: > > lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ alias gcc=egcc > lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ make bzImage > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep > scripts/mkdep.c > make: gc

Re: building kernel 2.0.x under potato

1999-09-25 Thread Filip Van Raemdonck
Herbert Xu wrote: > > You can easily override this on the command line or in the environment. > well... Script started on Sat Sep 25 08:28:41 1999 lucretia:/usr/src/kernel-source-2.2.12-2.2.12$ ls -l /usr/bin/{,e}gcc ls: /usr/bin/gcc: No such file or directory -rwxr-xr-x 1 root root

Re: building kernel 2.0.x under potato

1999-09-24 Thread Herbert Xu
On Fri, Sep 24, 1999 at 09:03:14PM +0200, Filip Van Raemdonck wrote: > > In /usr/src/kernel-source-2.2.1/Makefile (the most recent slink source > .deb available): > > on line 18 > HOSTCC =gcc > > and on line 25 > CC =$(CROSS_COMPILE)gcc -D__KERNEL__ -I$(HPATH) > > This goes for ot

Re: building kernel 2.0.x under potato

1999-09-24 Thread Filip Van Raemdonck
(I originally meant this for the mailing list, but it seems I forgot to set the cc:, therefore I'm doing it now.) Herbert Xu wrote: > > On Wed, Sep 22, 1999 at 10:27:32PM +0200, Filip Van Raemdonck wrote: > > Kernel compilation ignores the CC variable. The compiler is hardcoded to > > 'gcc' in th

Re: building kernel 2.0.x under potato

1999-09-17 Thread John Lapeyre
On Fri, 17 Sep 1999, Chris Rutter wrote: chris>On Thu, 16 Sep 1999, John Lapeyre wrote: chris> chris>> The 2.0.37 and 2.2.x kernels keep hanging on my AMD K6-2. chris> chris>This sounds *bad*, BTW; have you checked around to see if anyone chris>else has had these kinds of freezing problems? Is yo

Re: building kernel 2.0.x under potato

1999-09-17 Thread Chris Rutter
On Thu, 16 Sep 1999, John Lapeyre wrote: > The 2.0.37 and 2.2.x kernels keep hanging on my AMD K6-2. This sounds *bad*, BTW; have you checked around to see if anyone else has had these kinds of freezing problems? Is your machine unstable in any other way? You may find all you need to do is twea

Re: building kernel 2.0.x under potato

1999-09-17 Thread John Lapeyre
On Fri, 17 Sep 1999, Herbert Xu wrote: herber>On Thu, Sep 16, 1999 at 10:57:54AM -0700, John Lapeyre wrote: herber>Try herber> herber>make "CC=gcc272 -D__KERNEL__ -I`pwd`/include" zImage I love this man ! Well, I had tried messing around with the /include files, but didn't get it righ

Re: building kernel 2.0.x under potato

1999-09-16 Thread Herbert Xu
On Thu, Sep 16, 1999 at 10:57:54AM -0700, John Lapeyre wrote: > > homey 38 > make 'CC=gcc272' zImage gcc272 -Wall -Wstrict-prototypes -O2 > -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 > -malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o init/main.o > init/main.c herber>-

Re: building kernel 2.0.x under potato

1999-09-16 Thread John Lapeyre
On Thu, 16 Sep 1999, Herbert Xu wrote: herber>John Lapeyre <[EMAIL PROTECTED]> wrote: herber>> herber>> Hmm. Well my two potato systems are slightly different. One just herber>> compiled 2.0.36 with the patch. But the other one failed with the herber>> message herber>> fixed or forbidden r

Re: building kernel 2.0.x under potato

1999-09-16 Thread Brian Bassett
On Thu, 16 Sep 1999, John Lapeyre wrote: >chris>Yeah, 2.7.2.* is the canonical compiler for 2.0 kernels. Can you >chris>post what's actually going wrong? > I could. The system hangs when I tar and gzip a large directory. I >get no OOPS or any message in any log. It is hard to see what is >hap

Re: building kernel 2.0.x under potato

1999-09-16 Thread Herbert Xu
John Lapeyre <[EMAIL PROTECTED]> wrote: > > Hmm. Well my two potato systems are slightly different. One just > compiled 2.0.36 with the patch. But the other one failed with the > message > fixed or forbidden register 2 (cx) was spilled for class CREG, This means that you're not using gcc27

Re: building kernel 2.0.x under potato

1999-09-16 Thread John Lapeyre
On Thu, 16 Sep 1999, Chris Rutter wrote: chris>On Thu, 16 Sep 1999, John Lapeyre wrote: chris> chris>>The link to suse doesn't work at the moment, but I'll give it a try. chris>> The blurb at cygnus does not look encouraging. I think it is claiming chris>> that I have to "to change asm cons

Re: building kernel 2.0.x under potato

1999-09-16 Thread Chris Rutter
On Thu, 16 Sep 1999, John Lapeyre wrote: >The link to suse doesn't work at the moment, but I'll give it a try. > The blurb at cygnus does not look encouraging. I think it is claiming > that I have to "to change asm constructs" at various unspecified places > in the source. Nah, they're jus

Re: building kernel 2.0.x under potato

1999-09-16 Thread John Lapeyre
On Thu, 16 Sep 1999, Chris Rutter wrote: chris>On Thu, 16 Sep 1999, John Lapeyre wrote: chris> chris>>Is it possible to build 2.0.x kernels under a reasonable chris>> potato build environment ? I tried "make CC=gcc272", but chris>> I still get failures from the assembler, I think. chris> chr

Re: building kernel 2.0.x under potato

1999-09-16 Thread Chris Rutter
On Thu, 16 Sep 1999, John Lapeyre wrote: >Is it possible to build 2.0.x kernels under a reasonable > potato build environment ? I tried "make CC=gcc272", but > I still get failures from the assembler, I think. Erm, yeah, I had no problems as I remember. Just apply the patches mentioned at

building kernel 2.0.x under potato

1999-09-16 Thread John Lapeyre
Is it possible to build 2.0.x kernels under a reasonable potato build environment ? I tried "make CC=gcc272", but I still get failures from the assembler, I think. The 2.2.x kernels are unstable in some situations. With my AMD K6-2, I get a lockup when tarring a big tree. The 2.0.x kerne