From owner-freebsd-ports@FreeBSD.ORG Thu Aug 30 21:40:50 2007 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D53AA16A418 for ; Thu, 30 Aug 2007 21:40:50 +0000 (UTC) (envelope-from korpela@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 8DC6613C465 for ; Thu, 30 Aug 2007 21:40:48 +0000 (UTC) (envelope-from korpela@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so160698anc for ; Thu, 30 Aug 2007 14:40:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=WSDa/yqdTwUVgxSit8slLSn10tbCX3DnonMt2SJ3sNfWjnNEMt9rlmlexQGzKGQECMGlp0js90R3ABXsGwHv1gs4bV7BCjzQ9H7EUW1ggz5fymql+YWqjmOQC14AGnDJPPnWgMaELFSOmzatm7EPTjbd/CDXDz/7hJSLwFhqTdM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Ci0tW6k1XhsHxfRFt55WxhWR2uZ3nuogqcfdPjAYS1HiaDmEPWCzW0yiSAl2W/OI1PBy7f0elyGzWp96ZgtU/N3koveUn7Ef2BngTBH8DSKdIaJ/WIueTSGzDGlQeRr0CXcOUueJMDn82Dy3b3ymoDIpK43b1EJymsKiovLRY2I= Received: by 10.100.111.16 with SMTP id j16mr1006975anc.1188509678907; Thu, 30 Aug 2007 14:34:38 -0700 (PDT) Received: by 10.100.11.4 with HTTP; Thu, 30 Aug 2007 14:34:38 -0700 (PDT) Message-ID: Date: Thu, 30 Aug 2007 14:34:38 -0700 From: "Eric J Korpela" Sender: korpela@gmail.com To: "List for discussing optimization of BOINC apps" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46D5DAD8.3090108@gmail.com> X-Google-Sender-Auth: efada5c3cb086488 Cc: ports@freebsd.org, r.c.ladan@gmail.com Subject: Re: [Boinc_opt] setiathome-enhanced 5.27 : configure step unreliable? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 21:40:51 -0000 I just checked the diffs. It is the removal of the processor specific flags that broke the build. In addition, it's probably more compatible with future builds to specify the --disable-server --disable-graphics command line options on the configure command line rather than to edit the Makefile.am Regards, Eric On 8/30/07, Eric J Korpela wrote: > Hi Rene, > > Just getting back from vacation, so am just seeing this now. > > The major issue seems to be with the vectorized stuff. If you look at > the file client/Makefile.am, you will see some specific compile > options for different files. For example, analyzeFuncs_sse.cpp needs > to be compiled with the GCC -msse flag which defines certain macros to > allow SSE to be used. If -msse is not used, the build fails in the > manner you've shown. > > I suspect when you removed the cpu specific compiler (-m) options you > broke the build. > SETI@home checks which processor the application is running on and > avoids incompatible code. In other words the application is generic > even though it contains processor specific code. But in order to > compile, the processor specific code needs the appropriate processor > specific compiler flags. > > Eric > > > > > On 8/29/07, Rene Ladan wrote: > > Hi, > > > > I've updated the FreeBSD port of setiathome-enhanced to 5.27 and it also > > has been committed to the ports tree. However there seems to be a problem > > with the generated configure, it does not properly detect xmmintrin.h on > > some systems even when present (it is located in /usr/include). The > > strange thing is that the file _does_ get detected on my box: > > > > FreeBSD 7.0-CURRENT i386, 2007-08-20 > > > > The resulting application even produces valid results :) : > > http://setiathome.berkeley.edu/results.php?userid=211311 > > (look for computer 2960826, the other one is a Windows XP box at work) > > > > Some failure reports from users are at: > > > > http://head.miwibox.org/tb/index.php?action=describe_port&id=1806 > > http://amd64.miwibox.org/tb/index.php?action=describe_port%26id=1245 > > and > > http://home.tiscali.nl/rladan/freebsd/sah/config_make.log.gz > > (uploaded, sent per private email) > > > > When originally designing the port, I've chosen to slightly modify the build > > infrastructure to: > > * match the FreeBSD BOINC port, > > * remove some unnecessary/unuseable stuff (server, graphics) > > * take some FreeBSD-only shortcuts, > > * remove some polluting -mCPU_SPECIFIC compiler options, they are set in the > > port Makefile instead to keep the source more CPU-independent. > > I've not changed anything else. The recipe to create the FreeBSD source > > tarball from the setiathome_enhanced-client-cvs-2007-08-08.tar.gz tarball > > is at: > > > > http://home.tiscali.nl/rladan/freebsd/sah/seti-recipe.sh > > http://home.tiscali.nl/rladan/freebsd/sah/patches.diff > > (referenced by the .sh file) > > > > The recipe recreates the configure and Makefile.in files, I've used the > > following tools for this as installed by the devel/autotools port: > > * aclocal 1.10 > > * autoheader 2.61 > > * autoconf 2.61 > > * automake 1.10 > > > > Can someone shed a light on it? I don't see anything obviously wrong myself. > > > > Regards, > > Rene > > -- > > GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) > > > > "It won't fit on the line." > > -- me, 2001 > > > > _______________________________________________ > > boinc_opt mailing list > > boinc_opt@ssl.berkeley.edu > > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_opt > > >