2003-07-20 13:46:21

by Adrian McMenamin

[permalink] [raw]
Subject: Fwd: [linuxdc-dev] Problem trying to build 2.6.0-test1

This is a message I posted to the Dreamcast linux development list. It appears
to be a problem with the cross assembler (target is SH4, host is ia32) I am
using but before I put it down to that, I wonder if anybody else has seen
this and can offer a comment?

It is certainly not a configuration problem as the SH4 maintainer has built
this kernel for the Dreamcast (he's probably the only one apart from me to
have even tried :() and when I used his .config it failed in just the same
way.

Thanks

Adrian

---------- Forwarded Message ----------

Subject: [linuxdc-dev] Problem trying to build 2.6.0-test1
Date: Sun, 20 Jul 2003 14:25:33 +0100
From: Adrian McMenamin <[email protected]>
To: [email protected]

Getting this - is this a configuration problem? (Though it seems to occur
whether initrd support is on or off). I'm just using the gcc 3.0.4 I use to
build 2.4 series kernels with.

echo " .section .init.ramfs,\"a\"" > usr/initramfs_data.S
echo ".incbin \"usr/initramfs_data.cpio.gz\"" >> usr/initramfs_data.S
AS usr/initramfs_data.o
usr/initramfs_data.S: Assembler messages:
usr/initramfs_data.S:2: Error: Unknown pseudo-op: `.incbin'
make[2]: *** [usr/initramfs_data.o] Error 1
make[1]: *** [usr] Error 2
make: *** [vmlinux] Error 2



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Linuxdc-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxdc-dev

-------------------------------------------------------


2003-07-20 22:18:03

by Adrian Bunk

[permalink] [raw]
Subject: Re: Fwd: [linuxdc-dev] Problem trying to build 2.6.0-test1

On Sun, Jul 20, 2003 at 03:00:46PM +0100, Adrian McMenamin wrote:
> This is a message I posted to the Dreamcast linux development list. It appears
> to be a problem with the cross assembler (target is SH4, host is ia32) I am
> using but before I put it down to that, I wonder if anybody else has seen
> this and can offer a comment?
>
> It is certainly not a configuration problem as the SH4 maintainer has built
> this kernel for the Dreamcast (he's probably the only one apart from me to
> have even tried :() and when I used his .config it failed in just the same
> way.
>...
> AS usr/initramfs_data.o
> usr/initramfs_data.S: Assembler messages:
> usr/initramfs_data.S:2: Error: Unknown pseudo-op: `.incbin'
> make[2]: *** [usr/initramfs_data.o] Error 1
> make[1]: *** [usr] Error 2
> make: *** [vmlinux] Error 2

You need more recent binutils.

Documentation/Changes lists 2.12 as the minimum required version.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed