From owner-freebsd-ports@FreeBSD.ORG Wed Jun 7 11:24:33 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B3FE16B6EC for ; Wed, 7 Jun 2006 10:29:56 +0000 (UTC) (envelope-from boris@brooknet.com.au) Received: from jay.exetel.com.au (jay.exetel.com.au [220.233.0.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84E7A43D48 for ; Wed, 7 Jun 2006 10:29:54 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: (qmail 23956 invoked by uid 507); 7 Jun 2006 20:29:53 +1000 Received: from 180.205.233.220.exetel.com.au (HELO ?192.168.0.157?) (220.233.205.180) by jay.exetel.com.au with SMTP; 7 Jun 2006 20:29:53 +1000 Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: <20060530020354.GA96718@xor.obsecurity.org> References: <447B76FA.1030304@wm-access.no> <20060530020354.GA96718@xor.obsecurity.org> X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Sam Lawrance Date: Wed, 7 Jun 2006 20:29:51 +1000 To: Sten Daniel S?rsdal , freebsd ports X-Mailer: Apple Mail (2.750) Cc: Subject: Re: 6.1R: Postgresql 8.1.3 and threadsafe. 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: Wed, 07 Jun 2006 11:24:38 -0000 On 30/05/2006, at 12:03 PM, Kris Kennaway wrote: > On Tue, May 30, 2006 at 12:34:34AM +0200, Sten Daniel S?rsdal wrote: >> Does this one go to database@ or ports@ >> >> FreeBSD 6.1 RELEASE (i386) considered threadsafe with Postgresql >> 8.1.3. >> I ran 8.1.2 without any noticable effects but after upgrading from >> 5.4 >> to 6.1 by means of making world (make buildworld; make kernel; >> reboot; >> rm -rf /usr/obj/*; make buildworld; shutdown now; mergemaster -p; >> make >> installworld; mergemaster -i; sync; reboot; make kernel; reboot) >> >> I have had segmentation faults (signal 11) of conftest whenever i >> try to >> build it from ports. My local ports and src tree is the same as >> the one >> distributed with 6.1 RELEASE (from 6.1 RELEASE CD) >> >> I built world with -O2 -pipe and kernel with -O2 -pipe. kernel is not >> generic but instead i run my own configuration (included). In >> /etc/make.conf i chose not to build games and shared docs. >> >> I'm fairly certain the memory chips are ok after a few rounds of >> memtest86. > >> options CLK_USE_I8254_CALIBRATION >> options PQ_CACHESIZE=512 >> options DIRECTIO >> options SW_WATCHDOG >> options MP_WATCHDOG >> options ZERO_COPY_SOCKETS >> options AUTO_EOI_1 >> options AUTO_EOI_2 > > That's a lot of weird options, are you sure you need them? > > Look at what the relevant conftest.c is running, verify it segfaults > when you run it by hand, then post the code. Not to mention compiling the kernel with -O2 is unsupported, and generally considered a bad idea.