This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
glibc 2.21 -msse build problem
- From: Vyacheslav Barinov <v dot barinov at samsung dot com>
- To: libc-help at sourceware dot org
- Date: Thu, 12 Feb 2015 10:05:04 +0300
- Subject: glibc 2.21 -msse build problem
- Authentication-results: sourceware.org; auth=none
Hello,
I tried to build glibc 2.21 with '-msse4.2' compilation flag.
But sse is switched off explicitly for dl-runtime and as -Werror is now switched on by default I
get build failure:
cc1: all warnings being treated as errors
dl-runtime.c:1:0: error: SSE instruction set disabled, using 387 arithmetics [-Werror]
Adding -Wno-error right after -mno-sse fixes the problem, but I'm not sure this is the right way.
Best Regards,
Vyacheslav Barinov
P. S.
I created a bug https://sourceware.org/bugzilla/show_bug.cgi?id=17950