Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 21 Oct 2011 21:08:46 +0400
From: Vasiliy Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: mpc, gmp, mpfr, gcc .specs

Solar, all -

On Fri, Oct 21, 2011 at 13:00 +0400, Vasiliy Kulikov wrote:
> > Why?  Is this for build-time tests of optional SSE2-specific code that
> > gets compiled in?  Does the installed package nevertheless work on CPUs
> > lacking SSE2?  If these guesses are correct, then can we skip such tests
> > when building on a CPU lacking SSE2, please?
> 
> I'm not sure.  I cannot test it as I have no machine without SSE2 :-) 
> 
> If the lack of SSE2 breaks tests only, is it a sufficient check? -
> 
>     %ifarch %ix86
>     # Test SSE2 libraries only if we either have SSE2 CPU support
>     # or we don't know whether we have it.
>     if ! [ -e /proc/cpuinfo ] || grep -q sse2 /proc/cpuinfo; then
>         cd build-sse2
>         export LD_LIBRARY_PATH=`pwd`/.libs
>         %__make check
>         cd ..
>     fi
>     %endif

Can someone test it?  We need a machine without SSE2 support to (1)
try to build RPM and (2) try to install gmp RPM compiled on another
machine with SSE2 support.

Thanks,

-- 
Vasiliy Kulikov
http://www.openwall.com - bringing security into open computing environments

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ