From owner-freebsd-ports@FreeBSD.ORG Wed Jun 7 23:13:45 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 32E5A16C4EB for ; Wed, 7 Jun 2006 21:03:24 +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 23E2E43D53 for ; Wed, 7 Jun 2006 21:03:16 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: (qmail 30464 invoked by uid 507); 8 Jun 2006 07:03:15 +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; 8 Jun 2006 07:03:15 +1000 In-Reply-To: <200606071412.45003.amistry@am-productions.biz> References: <447B76FA.1030304@wm-access.no> <20060530020354.GA96718@xor.obsecurity.org> <200606071412.45003.amistry@am-productions.biz> Mime-Version: 1.0 (Apple Message framework v750) 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: Thu, 8 Jun 2006 07:03:14 +1000 To: Anish Mistry X-Mailer: Apple Mail (2.750) Cc: Sten Daniel S?rsdal , freebsd-ports@freebsd.org 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 23:13:46 -0000 On 08/06/2006, at 4:12 AM, Anish Mistry wrote: > On Wednesday 07 June 2006 06:29, Sam Lawrance wrote: >> 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. > Not true. For kernel compiling -O2 has been supported since 6.0. I'm not aware of it. Got a pointer to some documentation or list archives so I can read up?