From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94380 invoked by alias); 4 Mar 2015 06:54:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 94356 invoked by uid 48); 4 Mar 2015 06:53:59 -0000 From: "research at matthewniemerg dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/65306] New: make error with clang on OSX 10.9.5 -- movq Date: Wed, 04 Mar 2015 06:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: research at matthewniemerg dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg00419.txt.bz2 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