This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/17950] Build fails with -msse
- From: "raj.khem at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 19 Feb 2015 03:23:26 +0000
- Subject: [Bug build/17950] Build fails with -msse
- Auto-submitted: auto-generated
- References: <bug-17950-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17950
Khem Raj <raj.khem at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |raj.khem at gmail dot com
--- Comment #2 from Khem Raj <raj.khem at gmail dot com> ---
-msse -mno-sse works fine however
Error happens when one used -mfpmath=sse in CFLAGS, Since we are explicitly
disabling SSE we very well might disable SSE for fpmath as well.
a patch like this works for me
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
index 19f5eca..827ea71 100644
--- a/sysdeps/x86/Makefile
+++ b/sysdeps/x86/Makefile
@@ -1,6 +1,6 @@
ifeq ($(subdir),elf)
CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
- -mno-sse -mno-mmx)
+ -mno-sse -mno-mmx -mfpmath=387)
tests-special += $(objpfx)tst-ld-sse-use.out
$(objpfx)tst-ld-sse-use.out: ../sysdeps/x86/tst-ld-sse-use.sh $(objpfx)ld.so
--
You are receiving this mail because:
You are on the CC list for the bug.