Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2002 19:02:05 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        "Vahe Khachikyan" <vahe@khachikyan.de>
Cc:        <freebsd-alpha@FreeBSD.ORG>, fjoe@iclub.nsu.ru
Subject:   Re: Pthreads broken on 4.7 Stable?
Message-ID:  <15861.12029.762123.31201@grasshopper.cs.duke.edu>
In-Reply-To: <001101c29fd6$7c5b4850$0700000a@workstation>
References:  <001101c29fd6$7c5b4850$0700000a@workstation>

next in thread | previous in thread | raw e-mail | index | archive | help

Vahe Khachikyan writes:
 > Hi all ,
 > 
 > on November 9 I've made a buildworld from STABLE
 > ------------------
 > #uname -a
 > FreeBSD alpha 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Nov  9 00:41:17 GMT 2002
 > -------------------
 > After on it seams that the pthread library is broken.
 > Once I've tried to compile something from ports, it complained about missyng
 > __sys_sigaltstack
 > in libc_r, but I thought that I've messed up something with configure
 > scripts
 > Hovewer now the MySQL server which is installed on this computer since last
 > 16 mounts rejects connections
 > from outside complaining about the same missing symbol in libc_r and
 > ofcourse crashes :-)
 > 
 > Whats happened with libc_r since August ?
 > My previouse buildworld from STABLE was in
 > August and I think it was totally OK.
 > 
 > Please answer also to this address cause I think I'm not currently in list.

I think it was broken some months ago by fjoe in rev 1.24.2.7 of 
src/libc_r/Makefile.   

The following patch should fix it (cut and pasted, beware of whitespace)

--- Makefile.orig       Thu Nov  7 23:02:47 2002
+++ Makefile    Thu Nov  7 23:03:07 2002
@@ -33,7 +33,7 @@
        kevent.o listen.o \
        msync.o nanosleep.o open.o poll.o read.o readv.o recvfrom.o \
        recvmsg.o sched_yield.o select.o sendfile.o sendmsg.o sendto.o \
-       setsockopt.o shutdown.o sigaction.o \
+       setsockopt.o shutdown.o sigaction.o sigaltstack.o \
        sigpending.o sigprocmask.o \
        sigsuspend.o socket.o \
        socketpair.o wait4.o write.o writev.o


Fjoe, is there any reason why you're leaving alpha broken since you
know about the problem and know the fix?

Drew

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15861.12029.762123.31201>