6.1R: Postgresql 8.1.3 and threadsafe.

Sam Lawrance boris at brooknet.com.au
Wed Jun 7 11:24:38 UTC 2006


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.



More information about the freebsd-ports mailing list