This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libstdc++/5198: 3.0.3 linux x m68k build fail: invalid opcodes in c++locale.cc


The following reply was made to PR libstdc++/5198; it has been noted by GNATS.

From: Craig Rodrigues <rodrigc@mediaone.net>
To: Don Lindsay <lindsayd@cisco.com>
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          


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]