This is the mail archive of the gcc-patches@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]

Re: 3.[01] C++ Testing: Support -mabi=64


On Wed, May 30, 2001 at 06:05:26PM +0200, Rainer Orth wrote:
> Jeffrey Oldham <oldham@codesourcery.com> writes:
> 
> > Dave Billinghurst complained that DejaGNU testing gcc 3.0
> > mips-sgi-irix6.5 with -mabi=64 yielded many execution failures
> > (http://gcc.gnu.org/ml/gcc-bugs/2001-05/msg00477.html).  A difficulty
> > was that the -mabi=64 flags was not being used during the testing
> > linking commands so Irix n32 libraries, not 64-bit libraries, were
> > being used.
> > 
> > This patch, tested by Mark Mitchell (mark@codesourcery.com), ensures
> > that -m... options are passed to g++ compilation and linking commands.
> > 
> > Wed May 23 2001  Jeffrey D. Oldham  <oldham@codesourcery.com>
> > 
> > 	* lib/g++.exp (g++_include_flags): Use args to compute
> >  	get_multilibs.
> > 	(g++_link_flags): Likewise.
> > 	(g++_init): Pass TOOL_OPTIONS as arguments to two above functions.
> 
> Unfortunately, this patch has just the opposite effect for me ;-)  Before
> it went it, I could successfully test both N32 and N64 ABIs on IRIX 6.2 and
> 32-bit and 64-bit on Solaris 8.  I'm using command lines like this:
> 
> 	make RUNTESTFLAGS='--target_board "unix{,-mabi=64}"' check
> or
> 	make RUNTESTFLAGS='--target_board "unix{,-m64}"' check

How should -mabi=64 tests be run?  I was using

	make -k RUNTESTFLAGS="--tool_opts '-mabi=64'" check-g++

What .exp file does `unix{,-mabi=64}' access?

Sorry for any difficulty,
Jeffrey D. Oldham
oldham@codesourcery.com


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