Fixing build for FreeBSD/amd64

Questions and Answers : Unix/Linux : Fixing build for FreeBSD/amd64
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile mi
Avatar

Send message
Joined: 19 Jul 99
Posts: 5
Credit: 625,605
RAC: 0
Ukraine
Message 697879 - Posted: 6 Jan 2008, 16:45:37 UTC
Last modified: 6 Jan 2008, 16:46:33 UTC

Hello!

Without this patch, the configure-script fails to recognize a FreeBSD/amd64 system as a "X86_64_TRUE" one. The build subsequently fails, because an attempt is made to compile sse3_ChirpData_ak, which contains some SSE3-only instructions, which Opterons don't have...

The patch is really simple:
--- configure.ac    2007-09-01 03:59:50.000000000 -0400
+++ configure.ac    2008-01-06 11:35:40.000000000 -0500
@@ -247,5 +247,5 @@
 AM_CONDITIONAL(LINUX, [test -n "`echo ${target} | grep linux`"])
 AM_CONDITIONAL(I386, [test -n "`echo ${target} | grep i.86`"])
-AM_CONDITIONAL(X86_64, [test -n "`echo ${target} | grep 'x86_64'`"])
+AM_CONDITIONAL(X86_64, [test -n "`echo ${target} | egrep 'x86_64|amd64'`"])
 AM_CONDITIONAL(PPC, [test -n "`echo ${target} | grep 'powerpc'`" -o -n "`echo ${target} | grep 'ppc'`" ])


Please, apply ASAP. Thanks!
ID: 697879 · Report as offensive
Dotsch
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 919,393
RAC: 0
Germany
Message 697937 - Posted: 6 Jan 2008, 19:32:09 UTC

Rene, the maintainer of the FreeBSD SETI ports has still posted this to the mailinglist for the responsable devs.
ID: 697937 · Report as offensive

Questions and Answers : Unix/Linux : Fixing build for FreeBSD/amd64


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.