There was a bug fix for this in 2015, after GCC 5.1.0. Please update your GCC. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66509
On Wed, Feb 24, 2016 at 2:57 PM, Patrick Alken <[email protected]> wrote: > Looks like a gcc bug to me. Are you using a recent gcc? Have you tried > another compiler like clang/llvm? > > On 02/24/2016 10:17 AM, Ron I. Eytan wrote: > >> Hello, >> >> I'm running into an error when trying to build and install GSL 2.1 on my >> Mac. I'm running Yosemite (10.10.5) and using the GCC 5.1.0 compiler. >> >> I'm consistently running across the following error during "make". It's >> happened on two different machines and occurs at the same point in the >> "make" process. The error is: >> >> >> ------------------------------------------------------------------------------------------------------------------------------- >> Making install in statistics >> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. >> -I.. -g -O2 -MT mean.lo -MD -MP -MF .deps/mean.Tpo -c -o mean.lo mean.c >> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -g -O2 -MT mean.lo >> -MD >> -MP -MF .deps/mean.Tpo -c mean.c -fno-common -DPIC -o .libs/mean.o >> /var/tmp//ccUHwQX6.s:597:2: error: ambiguous instructions require an >> explicit suffix (could be 'filds', or 'fildl') >> fild (%rdi) >> ^ >> /var/tmp//ccUHwQX6.s:734:2: error: ambiguous instructions require an >> explicit suffix (could be 'filds', or 'fildl') >> fild -24(%rsp) >> ^ >> make[1]: *** [mean.lo] Error 1 >> make: *** [install-recursive] Error 1 >> >> >> ------------------------------------------------------------------------------------------------------------------------------- >> >> I was looking around the internet and it seems like this or a similar >> error >> occurs when making GSL 2.0 using Xcode 7. It seems to get hung up on >> "statistics". >> >> Any recommendations here? Is this a bug, or a problem with my compiler or >> system OS? Many thanks in advance for the help. >> >> Cheers, >> Ron >> > > >
