|
Message-ID: <20111022041018.GA32206@openwall.com> Date: Sat, 22 Oct 2011 08:10:18 +0400 From: Solar Designer <solar@...nwall.com> To: owl-dev@...ts.openwall.com Subject: Re: mpc, gmp, mpfr, gcc .specs Vasiliy, On Fri, Oct 21, 2011 at 09:08:46PM +0400, Vasiliy Kulikov wrote: > On Fri, Oct 21, 2011 at 13:00 +0400, Vasiliy Kulikov wrote: > > 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. I can, but I think we should simply %if 0 the SSE2 stuff in gmp.spec until we update glibc. It is useless without newer glibc (or rather, dynamic linker). Owl with our current glibc: user@owl:~ $ LD_LIBRARY_PATH=/lib LD_DEBUG=libs /bin/echo 2>&1 | fgrep search 6089: find library=libc.so.6 [0]; searching 6089: search path=/lib/tls/i686:/lib/tls:/lib/i686:/lib (system search path) Fedora 14 (32-bit OpenVZ container on Owl-current for x86_64): [user@...1432 ~]$ LD_LIBRARY_PATH=/lib LD_DEBUG=libs /bin/echo 2>&1 | fgrep search 1175: find library=libc.so.6 [0]; searching 1175: search path=/lib/tls/i686/sse2:/lib/tls/i686:/lib/tls/sse2:/lib/tls:/lib/i686/sse2:/lib/i686:/lib/sse2:/lib (system search path) Alexander
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.