[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] GSL won't pass tests if I specify both -march=[any of cor

From: Patrick Alken
Subject: Re: [Help-gsl] GSL won't pass tests if I specify both -march=[any of core2 sandybridge ivybridge haswell] and -O2
Date: Mon, 18 Aug 2014 16:17:14 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0

On 08/18/2014 03:11 PM, Hong Xu wrote:
Hi everyone,

I have founded a very interesting problem: if I compile the gsl library
with the CFLAGS of '-O2 -march=x86-64' or '-march=core2' (or one of
sandybridge ivybridge haswell), all tests can pass. However, if I
compile with CFLAGS='-O2 -march=[any of core2 sandybridge ivybridge
haswell]', the tests won't pass. The file specfunc/testsuite.log is
pasted in this link:

This would limit the usage of the advantage of newer instructions, and
potentially there may be a bug. Would anyone look into this?


Could this be a gcc problem? A quick google search shows some gcc versions have bugs with these architectures

reply via email to

[Prev in Thread] Current Thread [Next in Thread]