Re: mysql super-smack test on FreeBSD 5.3-RC1 amd64

From: Matt Hamilton <matth_at_netsight.co.uk>
Date: Fri, 22 Oct 2004 20:28:25 +0100
i tried libc_r (via libmap.conf) but still no joy:

zeo1# ldd /usr/local/bin/python
/usr/local/bin/python:
         libutil.so.4 => /lib/libutil.so.4 (0x2006d7000)
         libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x2007e4000)
         libm.so.3 => /lib/libm.so.3 (0x2009e2000)
         libpthread.so.1 => /usr/lib/libc_r.so.5 (0x200b04000)
         libc.so.5 => /lib/libc.so.5 (0x200c2f000)

zeo1# python /usr/local/lib/python2.3/test/test_re.py
test_anyall (__main__.ReTests) ... ok
test_basic_re_sub (__main__.ReTests) ... ok
test_bigcharset (__main__.ReTests) ... ok
test_bug_113254 (__main__.ReTests) ... ok
test_bug_114660 (__main__.ReTests) ... ok
test_bug_117612 (__main__.ReTests) ... ok
Bus error (core dumped)

:(

Any other ideas?

-Matt


Scott Long wrote:

> Matt Hamilton wrote:
> 
>>> Did you turned of HTT?
>>> try to set "sysctl machdep.hlt_logical_cpus=1" and test again.
>>> did you compile with linuxthreads or pthreads?
>>
>>
>>
>> You can't (according to the ports) compile LinuxThreads on non-i386
>> platforms.
>>
>> I am still trying to find out why python 2.3.4 will not compile and run
>> its test suite on FreeBSD 5/AMD64.  It runs for on i386, but not on 
>> AMD64,
>> it just core dumps when doing anything stack-heavy when compiled with
>> threading.  The fact it works with i386 and not AMD64 leads me to believe
>> it is a problem with FreeBSD, not python (works fine on -stable on i386
>> too).
>>
>> The normal tricks on increasing the stack size for pthreads doesn't seem
>> to help at all.  I've tried linking against -libpthread, -libkse and
>> -libthr and all get the same results.  I've not tried it with -RC1 yet,
>> the latest was -B7.
> 
> 
> libpthread and libkse are the same.  Can you try linking to libc_r
> instead?
> 
> Scott
> 
> 


-- 
Matt Hamilton                                       matth_at_netsight.co.uk
Netsight Internet Solutions, Ltd.        Business Vision on the Internet
http://www.netsight.co.uk                             +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting
Received on Fri Oct 22 2004 - 17:28:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC