From owner-freebsd-current@FreeBSD.ORG Tue Feb 3 23:31:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9775F16A4CE for ; Tue, 3 Feb 2004 23:31:50 -0800 (PST) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1508E43D1D for ; Tue, 3 Feb 2004 23:31:49 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.121.140] (port=49543 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.23:1) id 1AoHVh-0005AQ-7Y for freebsd-current@freebsd.org; Wed, 04 Feb 2004 15:31:45 +0800 Received: from localhost (localhost [127.0.0.1]) by chihiro.leafy.idv.tw (Postfix) with ESMTP id 3236A1DD for ; Wed, 4 Feb 2004 15:31:47 +0800 (CST) Received: from chihiro.leafy.idv.tw ([127.0.0.1]) by localhost (chihiro.leafy.idv.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00980-05 for ; Wed, 4 Feb 2004 15:31:46 +0800 (CST) Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000) id 4712E1C9; Wed, 4 Feb 2004 15:31:46 +0800 (CST) Date: Wed, 4 Feb 2004 15:31:46 +0800 From: leafy To: freebsd-current@freebsd.org Message-ID: <20040204073146.GA26340@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by amavisd-new at leafy.idv.tw Subject: python fails to build on -current, stack trace attached X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2004 07:31:50 -0000 libmap maps lc_r ->lpthreads, making Python in ports/lang/python results in case $MAKEFLAGS in *-s*) CC='cc' LDSHARED='cc -shared -lpthread' OPT='-DNDEBUG -O -pipe -march=pentium4 -DTHREAD_STACK_SIZE=0x20000' ./python -E ./setup.py -q build;; *) CC='cc' LDSHARED='cc -shared -lpthread' OPT='-DNDEBUG -O -pipe -march=pentium4 -DTHREAD_STACK_SIZE=0x20000' ./python -E ./setup.py build;; esac Bad system call (core dumped) Stack trace: #0 0x2825bddf in ksem_trywait () from /lib/libc.so.5 #1 0x28252330 in sem_trywait () from /lib/libc.so.5 #2 0x080b7343 in PyThread_acquire_lock () #3 0x080ab4fd in _PyImport_Fini () #4 0x080ad7e6 in PyImport_ImportModuleEx () #5 0x080ae33f in PyImport_Import () #6 0x080ad624 in PyImport_ImportModule () #7 0x08096560 in _PyExc_Init () #8 0x080b29da in Py_Initialize () #9 0x08054691 in Py_Main () #10 0x080540dd in main () #11 0x08054008 in _start () -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming