Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2006 10:44:34 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: boinc-setiathome-enhanced-5.12 crashes on amd64?
Message-ID:  <20060527084434.GA20477@slackbox.xs4all.nl>
In-Reply-To: <20060527102040.d901fa80.torfinn.ingolfsen@broadpark.no>
References:  <20060525125352.7e0c73b4.torfinn.ingolfsen@broadpark.no> <1148557084.25760.27.camel@pav.hide.vol.cz> <20060527102040.d901fa80.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--G4iJoqBmSsgzjUCe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@FreeBSD.org> wrote:
>=20
> > Looks like this will need same hack as boinc-einsteinathome needed:
> >=20
> > %%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.
>=20
> 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@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 checkou=
t 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=3D'-O3 -pipe' CXXFLAGS=3D$CFLAGS ./configure --disable-server
--disable-dependency-tracking --enable-bitness=3D64 --enable-shared=3Dno
gmake
rm -f ~/boinc/boinc_client
cp client/boinc_client ~/boinc

cd ..

# The zipfile is a nightly zipball from the seti@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=3D'-O3 -pipe' CXXFLAGS=3D$CFLAGS ./configure --disable-graphics --di=
sable-server --disable-dependency-tracking --enable-bitness=3D64 --enable-f=
ast-math
gmake

cp client/setiathome-5.15.x86_64-unknown-freebsd ~/boinc/projects/setiathom=
e.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

--=20
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)

--G4iJoqBmSsgzjUCe
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEeBFyEnfvsMMhpyURAkI4AJ9wMa/EmVzMVHWARPSvTz2oHKYg6QCfSPIh
tbg2zR3jLDVVINOr9q57yk0=
=JJzZ
-----END PGP SIGNATURE-----

--G4iJoqBmSsgzjUCe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060527084434.GA20477>