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/21313] Compile Error GCC 5.4.0 MIPS with -0S


https://sourceware.org/bugzilla/show_bug.cgi?id=21313

--- Comment #1 from Ramin Seyed-Moussavi <lordrasmus at gmail dot com> ---
i changed it like this and now it compiles 

diff -ur glibc-2.25_orig/string/strcoll_l.c glibc-2.25/string/strcoll_l.c
--- glibc-2.25_orig/string/strcoll_l.c  2017-02-05 16:28:43.000000000 +0100
+++ glibc-2.25/string/strcoll_l.c       2017-03-27 20:07:07.661554275 +0200
@@ -293,11 +293,15 @@
   int result = 0, rule = 0;

   coll_seq seq1, seq2;
+  seq1.us = 0;
   seq1.len = 0;
   seq1.idxmax = 0;
   seq1.rule = 0;
+  seq1.back_us = 0;
+  seq2.us = 0;
   seq2.len = 0;
   seq2.idxmax = 0;
+  seq2.back_us = 0;

   for (int pass = 0; pass < nrules; ++pass)
     {

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