From owner-freebsd-alpha Thu Dec 10 09:44:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA20025 for freebsd-alpha-outgoing; Thu, 10 Dec 1998 09:44:56 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from mail.sat.t.u-tokyo.ac.jp (dryad.sat.t.u-tokyo.ac.jp [133.11.156.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA20004; Thu, 10 Dec 1998 09:44:43 -0800 (PST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.156.43]) by mail.sat.t.u-tokyo.ac.jp (8.8.6/3.4Wbeta6-SAT1.0) with ESMTP id CAA01865; Fri, 11 Dec 1998 02:44:32 +0900 (JST) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from localhost by ett.sat.t.u-tokyo.ac.jp (8.8.8/sat-V0.6) id CAA04875; Fri, 11 Dec 1998 02:44:31 +0900 (JST) To: jb@FreeBSD.ORG Cc: freebsd-alpha@FreeBSD.ORG Subject: libc_r X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7:#j7i14gu$ jgR\S*&C3R/pJX Date: Fri, 11 Dec 1998 02:44:31 +0900 From: Hidetoshi Shimokawa X-Dispatcher: imput version 980905(IM100) Lines: 26 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I encountered the link problem with libc_r on alpha because sigaltstack is not defineded. I don't know much about thread but the following patch seems to fix the problem. Index: setjmp.S =================================================================== RCS file: /pub/FreeBSD-CVS/src/lib/libc/alpha/gen/setjmp.S,v retrieving revision 1.4 diff -u -r1.4 setjmp.S --- setjmp.S 1998/08/17 03:38:54 1.4 +++ setjmp.S 1998/12/10 17:25:30 @@ -68,7 +68,7 @@ lda sp, -24(sp) /* sizeof struct sigaltstack */ mov zero, a0 mov sp, a1 - CALL(sigaltstack) + PCALL(sigaltstack) ldl t0, 16(sp) /* offset of ss_flags */ lda sp, 24(sp) /* sizeof struct sigaltstack */ ldq ra, ((26 + 4) * 8)(s0) /* restore return address */ /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message