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:36:27 +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
--- Comment #4 from Markus Trippelsdorf <markus at trippelsdorf dot de> ---
(In reply to Markus Trippelsdorf from comment #3)
> 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)
No, it doesn't work at all.
But you get the idea: subdir elf is not enough, because rtld-profil.os is build
in gmon.
--
You are receiving this mail because:
You are on the CC list for the bug.