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

Kevin O'Connor kevin at koconnor.net
Tue Mar 5 00:58:12 CET 2013


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.  Is this the only thing Clang has
issues with?

-Kevin



More information about the SeaBIOS mailing list