no it works with 2.95.2 on ppc - simply change the line:
CC = $(CROSS_COMPILE)gcc -V egcs-2.91.66
to
CC = $(CROSS_COMPILE)gcc
t
"kerler" <kerler@xxxxxxxxxxx> wrote:
> When i compile the kernel with xfs, it show the following error info.
> Shall i use egcs-2.91.66 to compile?
> ======compile error========
> make[1]: Leaving directory
> `/opt/lbg/PROJECTs/journal-fs/xfs/linux-2.4.0-test11/
> linux'
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
> scripts/split-include
> scripts/split-include.c
> scripts/split-include include/linux/autoconf.h include/config
> gcc -V
> egcs-2.91.66 -D__KERNEL__ -I/opt/lbg/PROJECTs/journal-fs/xfs/linux-2.4.0-
> test11/linux/include -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -fom
> it-f
> rame-pointer -D__powerpc__ -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-
> unin
> itialized -mmultiple -mstring -c -o init/main.o init/main.c
> gcc: installation problem, cannot exec `cc1': No such file or directory
> cpp: output pipe has been closed
> gcc: file path prefix `/usr/lib/gcc-lib/powerpc-linux/egcs-2.91.66/' never
> used
> make: *** [init/main.o] Error 1
> ============================
> ----- Original Message -----
> From: Thomas Graichen <news-innominate.list.sgi.xfs@xxxxxxxxxxxxx>
> To: <linux-xfs@xxxxxxxxxxx>
> Sent: Thursday, December 21, 2000 2:49 PM
> Subject: XFS on PPC (Was: Re: TAKE - remove broken m_*devp)
>> "kerler" <kerler@xxxxxxxxxxx> wrote:
>> > The SPECS/kernel-2.4.spec does not include ppc support after
>> > kernel24-2.4.0-XFS_BETA_4.src.rpm is installed using rpm.
>> > how can i use xfs on ppc? and can xfs-cmds-1.0.5-1.src.rpm be used on
> ppc?
>>
>> if you are willing to experiment a bit XFS is useable on ppc quite
>> good ... the best is to checkout the XFS from SGI and compile a kernel
>> by hand and try to boot it - it should work on some machines out of
>> the box (imac etc.) and will most probably not work on others (g4
>> etc.) - for those there are some ppc related changes missing in the
>> current linux tree (the normal -testxy tree has the same problem)
>> ... what i did here is mix the pmac-devel and the SGI XFS tree which
>> resulted in a working XFS kernel on a g4 - so let me know if you
>> have a machine on which the stock kernel does not work - then i can
>> send you a diff
>>
>> also the xfs-cmds-1.0.5-1.src.rpm builds just fine on ppc for me
>> (SuSE 7.0/ppc) with one little thing: i had to add the definition
>> of O_DIRECT from include/asm-i386/fcntl.h to /usr/include/bits/fcntl.h
>> top get it compiled cleanly
>>
>> some more information about the status of XFS on ppc you may find at
>>
>> http://innominate.org/~graichen/projects/xfs/ppc/
>>
>> good luck
>>
>> t
>>
>> --
>> thomas.graichen@xxxxxxxxxxxxxx
>> technical director innominate AG
>> clustering & security the linux architects
>> tel: +49-30-308806-13 fax: -77 http://www.innominate.com
>>
--
thomas.graichen@xxxxxxxxxxxxxx
technical director innominate AG
clustering & security the linux architects
tel: +49-30-308806-13 fax: -77 http://www.innominate.com
|