Failed compile with glibc-2.0.103

Zack Weinberg zack@rabi.columbia.edu
Sat Nov 21 18:09:00 GMT 1998


On Sat, 21 Nov 1998 15:15:18 -0800 (PST), H.J. Lu wrote:
>> 
>> On 21 Nov 1998, Ulrich Drepper wrote:
>> 
>> > You have the same problem as others as posts to this list showed.  I
>> > have no idea what's the reason, it works for me.  THe sympton is that
>> > the directories named in sysd-dirs are not in the list in sysd-sorted.
>> 
>> Hmm. I tried your untested patch, and it still exhibits the same symptoms.
>
>I have no problems building glibc 2.1.103. I am using make 3.76.1.
>BTW, I did it from scratch.

I have no problems with 3.76.1 either with scratch or update builds.
I am, however, a bit suspicious of that awk script.  Alex, could you
try this patch please?  Also, which implementation of awk (mawk, gawk,
nawk, or awk) did configure detect, and what version is it?

zw

============================================================
Index: scripts/gen-sorted.awk
--- scripts/gen-sorted.awk	1998/11/19 11:23:08	1.1
+++ scripts/gen-sorted.awk	1998/11/22 02:08:32
@@ -9,7 +9,7 @@
   dnt = 0
 }
 {
-  if ($1 ~ /depend/) {
+  if ($1 == "depend") {
     from[dnt] = $2
     to[dnt] = $3
     ++dnt
@@ -44,9 +44,10 @@
     }
   } while (moved)
 
-  printf "sorted-subdirs = "
+  ORS = ""
+  print "sorted-subdirs = "
   for (i = 0; i < cnt; ++i) {
-    printf "%s ", all[i];
+    print all[i], "";
   }
-  printf "\n"
+  print "\n"
 }



More information about the Libc-alpha mailing list