boinc-setiathome-enhanced-5.12 crashes on amd64?

Roland Smith rsmith at xs4all.nl
Sat May 27 01:44:44 PDT 2006


On Sat, May 27, 2006 at 10:20:40AM +0200, Torfinn Ingolfsen wrote:
> On Thu, 25 May 2006 13:38:04 +0200
> Pav Lucistnik <pav at FreeBSD.org> wrote:
> 
> > Looks like this will need same hack as boinc-einsteinathome needed:
> > 
> > %%AMD64%%  IMPORTANT NOTICE FOR AMD64 USERS RUNNING 6.X:
> > %%AMD64%%
> > %%AMD64%% You have to have this line in /etc/libmap32.conf:
> > %%AMD64%%   libpthread.so.1     libc_r.so.5
> > %%AMD64%% before you attach the project.  Otherwise it will not work.
> 
> Just for the record; this does indeed fix the problems I had. Now
> setiathome is working again.
> Thanks!

What I don't understand is why ports supplies a i386 version, while the
development versions of boinc and seti at home-enhanced build perfectly
well on amd64.

So a better alternative (IMHO) is to download and compile the latest boinc and
seti_boinc. That way you get a native amd64 version. You need to have
/usr/ports/math/fftw and /usr/ports/ftp/curl installed, though.

This is what I did to compile both on my amd64 box:

# Download and build latest boinc:
cd ~/tmp/src
mkdir foo
cd foo
# Unfortunately, no tarballs here, otherwise I'd make it a port.
cvs -d :pserver:anonymous:@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout boinc
cd boinc
# Adapt the following line to the actual versions you have
# installed. The _autosetup script doesn't work, because it doesn't like
# FreeBSD's m4.
aclocal19 -I m4 && autoheader259 && automake19 && autoconf259
CFLAGS='-O3 -pipe' CXXFLAGS=$CFLAGS ./configure --disable-server
--disable-dependency-tracking --enable-bitness=64 --enable-shared=no
gmake
rm -f ~/boinc/boinc_client
cp client/boinc_client ~/boinc

cd ..

# The zipfile is a nightly zipball from the seti at home site. You need the
# development version of boinc to compile it.
unzip ../../setiathome_enhanced-client-cvs-2006-05-26.zip
cd seti_boinc/
CFLAGS='-O3 -pipe' CXXFLAGS=$CFLAGS ./configure --disable-graphics --disable-server --disable-dependency-tracking --enable-bitness=64 --enable-fast-math
gmake

cp client/setiathome-5.15.x86_64-unknown-freebsd ~/boinc/projects/setiathome.berkeley.edu/

# Modify your app_info.xml file.
cat >~/boinc/projects/setiathome.berkeley.edu/app_info.xml  <<EOF
<app_info>
    <app>
        <name>setiathome_enhanced</name>
    </app>
    <file_info>
        <name>setiathome-5.15.x86_64-unknown-freebsd</name>
        <executable/>
    </file_info>
    <app_version>
        <app_name>setiathome_enhanced</app_name>
        <version_num>515</version_num>
        <file_ref>
            <file_name>setiathome-5.15.x86_64-unknown-freebsd</file_name>
            <main_program/>
        </file_ref>
    </app_version>
</app_info>

EOF

HTH, Roland

-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20060527/3fe9c09a/attachment.pgp


More information about the freebsd-amd64 mailing list