[SeaBIOS] Build errors with Clang 3.2: src/ioport.h:126:18: error: invalid operand for instruction

Paul Menzel paulepanter at users.sourceforge.net
Wed Mar 6 11:49:35 CET 2013


Am Montag, den 04.03.2013, 18:58 -0500 schrieb Kevin O'Connor:
> On Mon, Mar 04, 2013 at 04:15:51PM +0100, Paul Menzel wrote:
> > to build SeaBIOS, Clang throws the following errors.
> [...]
> >         In file included from src/ata.c:9:
> >         src/ioport.h:126:18: error: invalid operand for instruction
> >             asm volatile("rep outsw %%es:(%%esi), (%%dx)"
> >                          ^
> 
> I'm not familiar with Clang, but I don't see anything wrong with this
> particular assembler statement.

Alright, then I will report that to the Clang folks.

> Is this the only thing Clang has issues with?

I am not sure, as the build stops after this error.


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.seabios.org/pipermail/seabios/attachments/20130306/4061f818/attachment.sig>


More information about the SeaBIOS mailing list