Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2008 21:16:33 +0400 (MSD)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Randy Bush <randy@psg.com>
Cc:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: asterisk: undefined reference to `__sync_fetch_and_add_4'
Message-ID:  <20080509211355.T26733@woozle.rinet.ru>
In-Reply-To: <48248322.7070305@psg.com>
References:  <4822D70D.7070502@psg.com> <20080509134032.P26733@woozle.rinet.ru> <48248322.7070305@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ***
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080509211355.T26733>