[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: Hong Xu
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 15:23:42 -0700

On Mon, Aug 18, 2014 at 3:17 PM, Patrick Alken <address@hidden>

> 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?
>> Thanks!
>> Hong
>>  Could this be a gcc problem? A quick google search shows some gcc
> versions have bugs with these architectures
I've tested it under gcc 4.8.2 on Ubuntu 14.04 and 4.9.1 on Arch Linux.

Is 'core2' also buggy? I saw kernel compilation supports core2 but not
further more.

And, how can I show whether it's a problem of gcc or a problem in gsl?


reply via email to

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