Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142055041
D746.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D746.id.diff
View Options
Index: devel/orc/files/patch-orc-orcprogram-c.c
===================================================================
--- /dev/null
+++ devel/orc/files/patch-orc-orcprogram-c.c
@@ -0,0 +1,15 @@
+# This works around a fatal error in qemu-bsd-user dealing with floats in a
+# very complex way. This is arguably a bug in this code too, but for now
+# patch around it so that we can get ports building via qemu-bsd-user and
+# get more testing. sbruno 16SEP2014
+--- orc/orcprogram-c.c.orig
++++ orc/orcprogram-c.c
+@@ -823,7 +823,7 @@ c_rule_loadpX (OrcCompiler *p, void *use
+ ORC_ASM_CODE(p," %s = (int)0x%08x; /* %d or %gf */\n", dest,
+ (unsigned int)p->vars[insn->src_args[0]].value.i,
+ (int)p->vars[insn->src_args[0]].value.i,
+- p->vars[insn->src_args[0]].value.f);
++ p->vars[insn->src_args[0]].value.x2f[0]);
+ } else {
+ ORC_ASM_CODE(p," %s = ORC_UINT64_C(0x%08x%08x); /* %gf */\n", dest,
+ (orc_uint32)(((orc_uint64)p->vars[insn->src_args[0]].value.i)>>32),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 16, 1:25 PM (14 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27657766
Default Alt Text
D746.id.diff (1 KB)
Attached To
Mode
D746: patch devel/orc to build on armv6 emulation
Attached
Detach File
Event Timeline
Log In to Comment