* [Q] kernel-compile error for walnut with 2.4.18 ?
@ 2002-03-21 4:59 Kim young-kyun
2002-03-21 11:00 ` Armin
0 siblings, 1 reply; 4+ messages in thread
From: Kim young-kyun @ 2002-03-21 4:59 UTC (permalink / raw)
To: linuxppc-embedded
Hi, all.
I try to comile kernel 2.4.18 for walnut(IBM PowerPC 405GP) board on
Red-Hat 7.1.
I met below error message and I cannot solve this problem.
powerpc-linux-gcc -D__KERNEL__
-I/home/elecguy/work/ppclinux/linux-2.4.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -D__powerpc__ -fsigned-char
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
-Wa,-m403 -mcpu=403 -DKBUILD_BASENAME=ppc4xx_pic -c -o ppc4xx_pic.o
ppc4xx_pic.c
{standard input}: Assembler messages:
{standard input}:83: Error: unsupported relocation against DCRN_EXISR
{standard input}:84: Error: unsupported relocation against DCRN_EXIER
{standard input}:111: Error: unsupported relocation against DCRN_EXIER
{standard input}:128: Error: unsupported relocation against DCRN_EXIER
{standard input}:145: Error: unsupported relocation against DCRN_EXIER
{standard input}:149: Error: unsupported relocation against DCRN_EXISR
{standard input}:64: Error: unsupported relocation against DCRN_EXIER
Cross-compiler is builded by following order.
1) binutils-2.12.90.0.1
./configure --target=powerpc-linux --with-cpu=403
make; make install
2) gcc-core-2.95.3
./configure --target=powerpc-linux --enable-shared --enable-languages=c
--with-newlib --with-cpu=403
make; make install
linux-2.4.18 with ppc-patch-2.4.18
*in Makefile
ARCH := ppc
CROSS_COMPILE=powerppc-linux-
AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS) -Wa,-m403
*in arch/ppc/Makefile
CFLAGS := (Original flags)... -Wa,-m403
*in make menuconfig
Processor Type -> 4xx
Machine Type -> Walnut
What's wrong?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Q] Kernel-compile error for walnut with 2.4.18 ?
@ 2002-03-21 8:35 Kim young-kyun
0 siblings, 0 replies; 4+ messages in thread
From: Kim young-kyun @ 2002-03-21 8:35 UTC (permalink / raw)
To: linuxppc-embedded
Hi, all.
I try to comile kernel 2.4.18 for walnut(IBM PowerPC 405GP) board on Red-Hat 7.1.
I met below error message and I cannot solve this problem.
powerpc-linux-gcc -D__KERNEL__
-I/home/elecguy/work/ppclinux/linux-2.4.18/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -D__powerpc__ -fsigned-char
-msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
-Wa,-m403 -mcpu=403 -DKBUILD_BASENAME=ppc4xx_pic -c -o ppc4xx_pic.o
ppc4xx_pic.c
{standard input}: Assembler messages:
{standard input}:83: Error: unsupported relocation against DCRN_EXISR
{standard input}:84: Error: unsupported relocation against DCRN_EXIER
{standard input}:111: Error: unsupported relocation against DCRN_EXIER
{standard input}:128: Error: unsupported relocation against DCRN_EXIER
{standard input}:145: Error: unsupported relocation against DCRN_EXIER
{standard input}:149: Error: unsupported relocation against DCRN_EXISR
{standard input}:64: Error: unsupported relocation against DCRN_EXIER
Cross-compiler is builded by following order.
1) binutils-2.12.90.0.1
./configure --target=powerpc-linux --with-cpu=403
make; make install
2) gcc-core-2.95.3
./configure --target=powerpc-linux --enable-shared --enable-languages=c
--with-newlib --with-cpu=403
make; make install
linux-2.4.18 with ppc-patch-2.4.18
*in Makefile
ARCH := ppc
CROSS_COMPILE=powerpc-linux-
AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS) -Wa,-m403
*in arch/ppc/Makefile
CFLAGS := (Original flags)... -Wa,-m403
*in make menuconfig
Processor Type -> 4xx
Machine Type -> Walnut
What's wrong?
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Q] kernel-compile error for walnut with 2.4.18 ?
2002-03-21 4:59 [Q] kernel-compile " Kim young-kyun
@ 2002-03-21 11:00 ` Armin
2002-03-21 19:01 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Armin @ 2002-03-21 11:00 UTC (permalink / raw)
To: Kim young-kyun; +Cc: linuxppc-embedded
Kim young-kyun wrote:
> Hi, all.
>
> I try to comile kernel 2.4.18 for walnut(IBM PowerPC 405GP) board on
> Red-Hat 7.1.
> I met below error message and I cannot solve this problem.
>
> powerpc-linux-gcc -D__KERNEL__
> -I/home/elecguy/work/ppclinux/linux-2.4.18/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -D__powerpc__ -fsigned-char
> -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
> -Wa,-m403 -mcpu=403 -DKBUILD_BASENAME=ppc4xx_pic -c -o ppc4xx_pic.o
> ppc4xx_pic.c
> {standard input}: Assembler messages:
> {standard input}:83: Error: unsupported relocation against DCRN_EXISR
> {standard input}:84: Error: unsupported relocation against DCRN_EXIER
> {standard input}:111: Error: unsupported relocation against DCRN_EXIER
> {standard input}:128: Error: unsupported relocation against DCRN_EXIER
> {standard input}:145: Error: unsupported relocation against DCRN_EXIER
> {standard input}:149: Error: unsupported relocation against DCRN_EXISR
> {standard input}:64: Error: unsupported relocation against DCRN_EXIER
>
> Cross-compiler is builded by following order.
>
> 1) binutils-2.12.90.0.1
> ./configure --target=powerpc-linux --with-cpu=403
> make; make install
>
> 2) gcc-core-2.95.3
> ./configure --target=powerpc-linux --enable-shared --enable-languages=c
> --with-newlib --with-cpu=403
> make; make install
>
> linux-2.4.18 with ppc-patch-2.4.18
> *in Makefile
> ARCH := ppc
> CROSS_COMPILE=powerppc-linux-
> AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS) -Wa,-m403
> *in arch/ppc/Makefile
> CFLAGS := (Original flags)... -Wa,-m403
> *in make menuconfig
> Processor Type -> 4xx
> Machine Type -> Walnut
>
> What's wrong?
>
>
>
>
>
Try a newer kernel. DCRN_EXIER is an older implimentaion and is only
used on any 403 cpus. Your -m403 looks fishy, we are usin -m405 & -mcpu=405
armin
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Q] kernel-compile error for walnut with 2.4.18 ?
2002-03-21 11:00 ` Armin
@ 2002-03-21 19:01 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2002-03-21 19:01 UTC (permalink / raw)
To: Armin; +Cc: Kim young-kyun, linuxppc-embedded
On Thu, Mar 21, 2002 at 11:00:16AM +0000, Armin wrote:
>
> Kim young-kyun wrote:
> > Hi, all.
> >
> > I try to comile kernel 2.4.18 for walnut(IBM PowerPC 405GP) board on
> > Red-Hat 7.1.
> > I met below error message and I cannot solve this problem.
> >
> > powerpc-linux-gcc -D__KERNEL__
> > -I/home/elecguy/work/ppclinux/linux-2.4.18/include -Wall
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> > -fno-strict-aliasing -fno-common -D__powerpc__ -fsigned-char
> > -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring
> > -Wa,-m403 -mcpu=403 -DKBUILD_BASENAME=ppc4xx_pic -c -o ppc4xx_pic.o
> > ppc4xx_pic.c
> > {standard input}: Assembler messages:
> > {standard input}:83: Error: unsupported relocation against DCRN_EXISR
> > {standard input}:84: Error: unsupported relocation against DCRN_EXIER
> > {standard input}:111: Error: unsupported relocation against DCRN_EXIER
> > {standard input}:128: Error: unsupported relocation against DCRN_EXIER
> > {standard input}:145: Error: unsupported relocation against DCRN_EXIER
> > {standard input}:149: Error: unsupported relocation against DCRN_EXISR
> > {standard input}:64: Error: unsupported relocation against DCRN_EXIER
> >
> > Cross-compiler is builded by following order.
> >
> > 1) binutils-2.12.90.0.1
> > ./configure --target=powerpc-linux --with-cpu=403
> > make; make install
> >
> > 2) gcc-core-2.95.3
> > ./configure --target=powerpc-linux --enable-shared --enable-languages=c
> > --with-newlib --with-cpu=403
> > make; make install
> >
> > linux-2.4.18 with ppc-patch-2.4.18
> > *in Makefile
> > ARCH := ppc
> > CROSS_COMPILE=powerppc-linux-
> > AFLAGS := -D__ASSEMBLY__ $(CPPFLAGS) -Wa,-m403
> > *in arch/ppc/Makefile
> > CFLAGS := (Original flags)... -Wa,-m403
> > *in make menuconfig
> > Processor Type -> 4xx
> > Machine Type -> Walnut
> >
> > What's wrong?
>
> Try a newer kernel. DCRN_EXIER is an older implimentaion and is only
> used on any 403 cpus. Your -m403 looks fishy, we are usin -m405 & -mcpu=405
Yes, this appears to be stock 2.4.18. Check out
http://penguinppc.org/dev/kernel.shtml
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-03-21 19:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 8:35 [Q] Kernel-compile error for walnut with 2.4.18 ? Kim young-kyun
-- strict thread matches above, loose matches on Subject: below --
2002-03-21 4:59 [Q] kernel-compile " Kim young-kyun
2002-03-21 11:00 ` Armin
2002-03-21 19:01 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).