Committed to my experimental tree.
Can you see if that works for you?

Fang

>   Currently gmp 5.0.2 fails to pass its make check when built with llvm-gcc.
> This is a permutation of the problem we previously saw with clang which 
> resulted
> in the change of the "checking how to switch to read-only data section..." 
> test
> from...
>
> const int foo = 123;
>
> to..
>
> extern const int foo;           /* Suppresses C++'s suppression of foo */
> const int foo = {1,2,3};
>
> However this form of the test still results in the test incorrectly returning
>
> .section        __TEXT,__literal4,4byte_literals
>
> using llvm-gcc and is the cause of the gmp testsuite failures. The fix
> that has worked for me is to convert the test to...
>
> static int foo = {1,2,3};
>
> which works with both clang and llvm-gcc. I have attached a patch for this 
> change
> for inclusion in the gmp5-5.0.2 package.
>            Jack
>

-- 
David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to