Date: Fri, 22 Oct 2004 20:28:25 +0100 From: Matt Hamilton <matth@netsight.co.uk> To: Scott Long <scottl@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: mysql super-smack test on FreeBSD 5.3-RC1 amd64 Message-ID: <41795F59.10404@netsight.co.uk> In-Reply-To: <417932FF.4040206@freebsd.org> References: <6.1.2.0.2.20041022154756.02b67090@202.179.0.80> <32C33A5ACC16924A80AC1084@jesk.int.de.clara.net> <61089.147.114.226.175.1098433204.squirrel@mail.testbed.netsight.co.uk> <417932FF.4040206@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41795F59.10404>
