From owner-freebsd-ports@FreeBSD.ORG Fri May 9 17:16:36 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8005B106566B for ; Fri, 9 May 2008 17:16:36 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 0AD168FC0A for ; Fri, 9 May 2008 17:16:35 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.1) with ESMTP id m49HGX9S056788; Fri, 9 May 2008 21:16:33 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Fri, 9 May 2008 21:16:33 +0400 (MSD) From: Dmitry Morozovsky To: Randy Bush In-Reply-To: <48248322.7070305@psg.com> Message-ID: <20080509211355.T26733@woozle.rinet.ru> References: <4822D70D.7070502@psg.com> <20080509134032.P26733@woozle.rinet.ru> <48248322.7070305@psg.com> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (woozle.rinet.ru [0.0.0.0]); Fri, 09 May 2008 21:16:34 +0400 (MSD) Cc: freebsd ports Subject: Re: asterisk: undefined reference to `__sync_fetch_and_add_4' X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2008 17:16:36 -0000 On Fri, 9 May 2008, Randy Bush wrote: RB> > Do you have CPUTYPE defined in /etc/make.conf ? I posted about this a few days RB> > ago. RB> > RB> > As a workaround, you can use `make CPUTYPE=' RB> RB> put RB> CPUTYPE= RB> in make.conf. rebuilt apache22 RB> RB> # /usr/local/etc/rc.d/apache22 start RB> Performing sanity check on apache22 configuration: RB> Segmentation fault (core dumped) RB> Starting apache22. RB> Segmentation fault (core dumped) Ouch! Not good. Actually, I keep existing CPUTYPE?=k8 in /etc/make.conf (nore the recommended ?= way) and rebuilt just asterisk with overriding CPUTYPE= It's only a workaround, sure, but at least it answers the question why pointyhat and ports tinderboxen did not break at asterisk building. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------