Afterburned linux compilation error

View: New views
4 Messages — Rating Filter:   Alert me  

Afterburned linux compilation error

by Yuri Prokushev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, All

I have tried to build afterburner project. During compilation I have some problems:

1. tcb_layout.h, asmsyms.h and kdb_*.h not generated automatically.  I generated them by make <filename> in pistachio build directory
2. afterburner_*.s files can't be assembled with error "invalid prefix or operand in command 'mov'" from assembler. Error reproduced as with 2.6 as with 2.4 kernel

Is any suggestions to solve this problems?

BTW, I also have problems with build XEN2, but XEN3 build ok.


--
wbr,
Yuri

Re: Afterburned linux compilation error

by Bernhard Poess-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You're  probably using a too new compiler, last time i looked at it
one had to use gcc-3.3.6

-Bernhard

On 7/1/07, Yuri Prokushev <prokushev@...> wrote:

> Hello, All
>
>  I have tried to build afterburner project. During compilation I have some
> problems:
>
>  1. tcb_layout.h, asmsyms.h and kdb_*.h not generated automatically.  I
> generated them by make <filename> in pistachio build directory
>  2. afterburner_*.s files can't be assembled with error "invalid prefix or
> operand in command 'mov'" from assembler. Error reproduced as with 2.6 as
> with 2.4 kernel
>
>  Is any suggestions to solve this problems?
>
>  BTW, I also have problems with build XEN2, but XEN3 build ok.
>
>
> --
> wbr,
> Yuri


RE: Afterburned linux compilation error

by Jan Stoess :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I guess you're using a too recent version of binutils. The assembler of that
version refuses to build older Linux 2.6 revisions (e.g., 2.6.9), since they
contain certain inline assembly statements that are not strictly correct
(mov %gs, %eax). You can either use an older version of binutils (2.16.1 and
previous, as far as I remember), or patch linux appropriately; there's even
an "official"  patch in the kernel FTP, e.g., under
ftp.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch.

-Jan
--
Jan Stoess
Lehrstuhl Systemarchitektur
Universitaet Karlsruhe


From: l4ka-bounces@...
[mailto:l4ka-bounces@...] On Behalf Of Yuri Prokushev
Sent: Sunday, July 01, 2007 8:11 PM
To: l4ka@...
Subject: Afterburned linux compilation error

Hello, All

I have tried to build afterburner project. During compilation I have some
problems:

1. tcb_layout.h, asmsyms.h and kdb_*.h not generated automatically.  I
generated them by make <filename> in pistachio build directory
2. afterburner_*.s files can't be assembled with error "invalid prefix or
operand in command 'mov'" from assembler. Error reproduced as with 2.6 as
with 2.4 kernel

Is any suggestions to solve this problems?

BTW, I also have problems with build XEN2, but XEN3 build ok.


--
wbr,
Yuri


smime.p7s (4K) Download Attachment

Re: Afterburned linux compilation error

by Yuri Prokushev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks. Seems to be exact this problem. Trying to compile patched kernel.

2007/7/2, Jan Stoess <stoess@...>:
I guess you're using a too recent version of binutils. The assembler of that
version refuses to build older Linux 2.6 revisions (e.g., 2.6.9), since they
contain certain inline assembly statements that are not strictly correct
(mov %gs, %eax). You can either use an older version of binutils (2.16.1 and
previous, as far as I remember), or patch linux appropriately; there's even
an "official"  patch in the kernel FTP, e.g., under
ftp.kernel.org/pub/linux/devel/binutils/linux-2.6-seg-5.patch.

-Jan
--
Jan Stoess
Lehrstuhl Systemarchitektur
Universitaet Karlsruhe


From: l4ka-bounces@...
[mailto:l4ka-bounces@...] On Behalf Of Yuri Prokushev
Sent: Sunday, July 01, 2007 8:11 PM
To: l4ka@...
Subject: Afterburned linux compilation error

Hello, All

I have tried to build afterburner project. During compilation I have some
problems:

1. tcb_layout.h, asmsyms.h and kdb_*.h not generated automatically. I
generated them by make <filename> in pistachio build directory
2. afterburner_*.s files can't be assembled with error "invalid prefix or
operand in command 'mov'" from assembler. Error reproduced as with 2.6 as
with 2.4 kernel

Is any suggestions to solve this problems?

BTW, I also have problems with build XEN2, but XEN3 build ok.


--
wbr,
Yuri




--
wbr,
Yuri