From owner-freebsd-ports@FreeBSD.ORG Thu Aug 30 21:56:32 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 889CA16A41A for ; Thu, 30 Aug 2007 21:56:32 +0000 (UTC) (envelope-from korpela@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 42AE113C459 for ; Thu, 30 Aug 2007 21:56:32 +0000 (UTC) (envelope-from korpela@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so161645anc for ; Thu, 30 Aug 2007 14:56:30 -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=TJibRFcqTWaKuyYrGaPfW0UokaeyxMShPYRyuw0g+PjDbpW+VjKdR1GRT7oNPM5SPwbpOx4p96qZ/U8tM4yutAdVMemmAVulAojNFvCdeDFJwRenPuJtl227UDI7BHFSDz+shAAXABAeJA3ebSur3W5+n6wVwEq8W9lHjh4UZcg= 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=Tb/v3f+/fDi55zs7WlMt8Kx0iezv0pYEkqj1lzOvLjfI9BeaveMBj9GQk1aMGJBg8H8PuntY0vPsXUNzTd/4nVBSBbn1qnM/5HS6YHb60RxPbbC2OBCqrRZdgOuvU1Z5sxYmOVgfD1RnqOvzat6vhg78WaTAL2W1oFPweZ/VKzE= Received: by 10.100.174.16 with SMTP id w16mr1005117ane.1188509316048; Thu, 30 Aug 2007 14:28:36 -0700 (PDT) Received: by 10.100.11.4 with HTTP; Thu, 30 Aug 2007 14:28:36 -0700 (PDT) Message-ID: Date: Thu, 30 Aug 2007 14:28:36 -0700 From: "Eric J Korpela" Sender: korpela@gmail.com To: "List for discussing optimization of BOINC apps" In-Reply-To: <46D5DAD8.3090108@gmail.com> 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: f4fc0853f7439edf Cc: ports@freebsd.org 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:56:32 -0000 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 >