https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65306

            Bug ID: 65306
           Summary: make error with clang on OSX 10.9.5 -- movq
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: research at matthewniemerg dot com

I am trying to compile gcc 4.9.2, downloaded from an ftp mirror, using my Mac's
native clang compiler.  My OS is OSX 10.9.5.

The following is the output from gcc -v and g++ -v.

gcc - v

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix


g++ -v

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix

I run into the following error when I run make after using the following for my
configure.


../gcc-4.9.2/configure --prefix=/usr/local/gcc/4.9.2 --enable-threads
--enable-static

----

/Users/matthewniemerg/Research/Packages/gcc-4.9.2.build/./gcc/xgcc
-B/Users/matthewniemerg/Research/Packages/gcc-4.9.2.build/./gcc/
-B/usr/local/gcc/4.9.2/x86_64-apple-darwin13.4.0/bin/
-B/usr/local/gcc/4.9.2/x86_64-apple-darwin13.4.0/lib/ -isystem
/usr/local/gcc/4.9.2/x86_64-apple-darwin13.4.0/include -isystem
/usr/local/gcc/4.9.2/x86_64-apple-darwin13.4.0/sys-include    -g -O2 -O2  -g
-O2 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include   -pipe -fno-common -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector   -pipe -fno-common -I. -I. -I../.././gcc
-I../../../gcc-4.9.2/libgcc -I../../../gcc-4.9.2/libgcc/.
-I../../../gcc-4.9.2/libgcc/../gcc -I../../../gcc-4.9.2/libgcc/../include 
-DHAVE_CC_TLS -DUSE_EMUTLS -Wno-missing-prototypes -Wno-type-limits -o
extenddftf2_s.o -MT extenddftf2_s.o -MD -MP -MF extenddftf2_s.dep -DSHARED  -c
../../../gcc-4.9.2/libgcc/soft-fp/extenddftf2.c
{standard input}:19:suffix or operands invalid for `movq'
:49:suffix or operands invalid for `movq'
make[3]: *** [extenddftf2_s.o] Error 1
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

----

Please note that I am creating the build directory not in the source directory
and not as a subdirectory of the source directory, i.e. directory structure is

--parent
gcc-4.9.2
gcc-4.9.2.build

This appears to be similar (although not the same) to Bug libgcc/56656 .

Kind Regards,
Matthew Niemerg
The Institute for Interdisciplinary Information Sciences
Tsinghua University
Beijing, China

Reply via email to