Date: Tue, 10 Dec 2002 06:08:37 +0600 From: Max Khon <fjoe@iclub.nsu.ru> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: Vahe Khachikyan <vahe@khachikyan.de>, freebsd-alpha@FreeBSD.ORG Subject: Re: Pthreads broken on 4.7 Stable? Message-ID: <20021210060837.A17361@iclub.nsu.ru> In-Reply-To: <15861.12029.762123.31201@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Mon, Dec 09, 2002 at 07:02:05PM -0500 References: <001101c29fd6$7c5b4850$0700000a@workstation> <15861.12029.762123.31201@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!
On Mon, Dec 09, 2002 at 07:02:05PM -0500, Andrew Gallatin wrote:
> > 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?
The fix was committed on 12 Nov 2002:
fjoe 2002/11/12 22:08:44 PST
Modified files: (Branch: RELENG_4)
lib/libc/alpha/gen setjmp.S
Log:
fix libc_r on alpha: sigaltstack is no longer wrapped.
Reported by: Ted Lindgreen
Tested by: Ted Lindgreen
Revision Changes Path
1.11.2.3 +1 -1 src/lib/libc/alpha/gen/setjmp.S
/fjoe
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?20021210060837.A17361>
