This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug build/18744] FAIL: elf/tst-ld-sse-use when using -march=native in CFLAGS
- From: "markus at trippelsdorf dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 31 Jul 2015 06:29:47 +0000
- Subject: [Bug build/18744] FAIL: elf/tst-ld-sse-use when using -march=native in CFLAGS
- Auto-submitted: auto-generated
- References: <bug-18744-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18744
Markus Trippelsdorf <markus at trippelsdorf dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl.tools at gmail dot com
--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
CCing H.J. who wrote the Makefile rule in question.
The following patch works for me.
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
index 19f5eca741af..4a473d73c730 100644
--- a/sysdeps/x86/Makefile
+++ b/sysdeps/x86/Makefile
@@ -1,3 +1,6 @@
+ifeq ($(subdir),gmon)
+CFLAGS-.os += -mno-sse -mno-mmx
+endif
ifeq ($(subdir),elf)
CFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\
-mno-sse -mno-mmx)
--
You are receiving this mail because:
You are on the CC list for the bug.