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

--- 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.


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