This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/18744] FAIL: elf/tst-ld-sse-use when using -march=native in CFLAGS


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]