From owner-freebsd-hackers Tue Jun 19 5:36:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout06.sul.t-online.de (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id EA9C037B401 for ; Tue, 19 Jun 2001 05:36:41 -0700 (PDT) (envelope-from guenter@rupert.informatik.uni-stuttgart.de) Received: from fwd05.sul.t-online.de by mailout06.sul.t-online.de with smtp id 15CKkK-00042u-0K; Tue, 19 Jun 2001 14:36:40 +0200 Received: from goofy.disney.gb (320066129553-0001@[217.81.137.164]) by fmrl05.sul.t-online.com with esmtp id 15CKkI-29DMyuC; Tue, 19 Jun 2001 14:36:38 +0200 Received: from guenter (helo=localhost) by goofy.disney.gb with local-esmtp (Exim 3.22 #1 (Debian)) id 15CKkG-0007XF-00; Tue, 19 Jun 2001 14:36:36 +0200 Date: Tue, 19 Jun 2001 14:36:36 +0200 (CEST) From: Guenter Bartsch X-X-Sender: To: FreeBSD Hackers Cc: xine-dev Subject: FreeBSD 4.3 pthread implementation and FPU code Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 320066129553-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, while trying to get xine 0.5 (xine.sf.net) to work on freebsd I ran into this problem: Thread has returned from sigreturn or longjmp after some debugging I found that disabling this part of the MMX-detection code: asm ("pushfl\n\t" "popl %0\n\t" "movl %0,%1\n\t" "xorl $0x200000,%0\n\t" "pushl %0\n\t" "popfl\n\t" "pushfl\n\t" "popl %0" : "=a" (eax), "=b" (ebx) : : "cc"); solved the problem. So, I was wondering if there's any known problem about FPU code and freebsd's pthread implementation, is there maybe a problem with fpu-registers/status that is not being safed on context-switching? Any comments on this would be appreciated. Cheers, Guenter -- time is a funny concept To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message