From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20254 invoked by alias); 31 Dec 2009 00:53:40 -0000 Received: (qmail 20226 invoked by uid 48); 31 Dec 2009 00:53:28 -0000 Date: Thu, 31 Dec 2009 00:53:00 -0000 Message-ID: <20091231005328.20225.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/42557] gcc no compile for m68k(coff/elf) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikpe at it dot uu dot se" 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 X-SW-Source: 2009-12/txt/msg02855.txt.bz2 ------- Comment #2 from mikpe at it dot uu dot se 2009-12-31 00:53 ------- (In reply to comment #0) > When compiling m68k-elf the process went > smoothly and I can install (m68k-elf-as, m68k-elf-ar, etc.). But this > time I can not compile gcc 4.4.1 or 4.4.2 (m68k-elf-gcc) because I > get an error stating problems with libgcc.mvars: ... > Makefile:143: ../.././gcc/libgcc.mvars: No such file or directory > make[2]: *** No rule to make target `../.././gcc/libgcc.mvars'. Stop. > make[2]: Leaving directory > `/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1/m68k-elf/libgcc' > make[1]: *** [all-target-libgcc] Error 2 > make[1]: Leaving directory > `/home/miltoncsl/Documents/coldfire/gcc-4.4-4.4.1.orig/gcc-4.4.1' > make: *** [all] Error 2 I can reproduce this, but only by doing the build in the source directory itself. Never ever do that with gcc. Doing the build in a separate object directory and configuring with --target=m68k-unknown-elf --disable-libssp I'm easily able to build gcc-4.4.2 as cross-compiler to m68k-unknown-elf on i686-linux. This PR should be closed as invalid. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42557