- changed status to resolved
Build error on Ubuntu 14.04 32-bit
Issue #324
resolved
Although this is a duplicate of issue 300, since this occurs every time I've pulled from official repos since 2013, I thought I'd bring it up again here.
The aforementioned issue 300 indicates the patch below. I've tested this on both 64 and 32-bit Ubuntu 14.04 releases as working:
diff -r 6f81419e0872 Linux/386/include/fpuctl.h
--- a/Linux/386/include/fpuctl.h Fri Mar 20 15:43:25 2015 +0000
+++ b/Linux/386/include/fpuctl.h Fri Mar 20 17:15:43 2015 -0400
@@ -11,7 +11,7 @@
"fwait\n\t"
"fldcw (%%esp)\n\t"
"popw %%ax\n\t"
- : /* no output */
+ : "=a" (fcr)
: "al" (fcr)
);
}
Comments (1)
-
- Log in to comment
I've replaced the inline asm by assembly-language support in lib9, which in some ways is more straightforward.