Build dies in halmp

All development related issues welcome

Moderator: Moderator Team

Post Reply
Black
Posts: 7
Joined: Sun Mar 27, 2005 12:32 pm
Contact:

Build dies in halmp

Post by Black »

ReactOS (SVN revision 14342) build die in halmp with the following message:

halmp: [CC] mpsirql.c
{standard input}: Assembler messages:
{standard input}:2474: Error: `%fs:(%bl)' is not a valid base/index expression

Used toolkit is: MinGW 3.1.0-1, GCC3.3.3, binutils 2.15.94

Can some help to resolve this situation? Should I update toolkit? It looks for me clearly as a compiler fault.
Black
Posts: 7
Joined: Sun Mar 27, 2005 12:32 pm
Contact:

Post by Black »

I've allready resolved this by changing Ki386ReadFsByte in hal\halx86\include\hal.h to:
static inline BYTE Ki386ReadFsByte(ULONG offset)
{
BYTE b;
__asm__ __volatile__("movb %%fs:(%1),%0":"=q" (b):"r" (offset));
return b;
}
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest