This is the mail archive of the libc-help@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]

glibc 2.21 -msse build problem


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


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