From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21198 invoked by alias); 4 Jan 2002 20:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 21184 invoked by uid 71); 4 Jan 2002 20:56:01 -0000 Date: Fri, 04 Jan 2002 12:56:00 -0000 Message-ID: <20020104205601.21182.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Craig Rodrigues Subject: Re: libstdc++/5198: 3.0.3 linux x m68k build fail: invalid opcodes in c++locale.cc Reply-To: Craig Rodrigues X-SW-Source: 2002-01/txt/msg00169.txt.bz2 List-Id: The following reply was made to PR libstdc++/5198; it has been noted by GNATS. From: Craig Rodrigues To: Don Lindsay Cc: rodrigc@gcc.gnu.org, aaron@frye.com, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/5198: 3.0.3 linux x m68k build fail: invalid opcodes in c++locale.cc Date: Fri, 4 Jan 2002 15:50:23 -0500 On Fri, Jan 04, 2002 at 12:15:48PM -0800, Don Lindsay wrote: > > - send me your specs file which is created in the gcc directory > > during the building of gcc > > Attached, along with the config.h you asked for in another email. OK, according to your specs file, everything should be defaulting to 68020, so I don't know why the assembler is being called with the 68000 flag. There is one place in your specs file that looks suspicious though: *predefines: -Dmc68000 -D__embedded__ -Asystem=embedded -Amachine=mc68000 Can you do the following for me? (1) Edit your specs file so that you change the predefines section to: -Dmc68020 -D__embedded__ -Asystem=embedded -Amachine=mc68020 (2) Try to recompile the offending C++ file, and see if the assembler is invoked with the 68020 flag. If that works, then the following patch might be required: Index: m68kemb.h =================================================================== RCS file: /cvs/gcc/gcc/gcc/config/m68k/m68kemb.h,v retrieving revision 1.7 diff -u -r1.7 m68kemb.h --- m68kemb.h 2001/12/11 18:21:03 1.7 +++ m68kemb.h 2002/01/04 20:49:26 @@ -42,8 +42,8 @@ #define NEEDS_UNTYPED_CALL 1 #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dmc68000 -D__embedded__ -Asystem=embedded \ - -Amachine=mc68000" +#define CPP_PREDEFINES "-Dmc68020 -D__embedded__ -Asystem=embedded \ + -Amachine=mc68020" /* Override the default LIB_SPEC from gcc.c. We don't currently support profiling, or libg.a. */ -- Craig Rodrigues http://www.gis.net/~craigr rodrigc@mediaone.net