public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Linux 2.6 nanosecond time stamp weirdness breaks GCC build
@ 2004-04-02 23:22 Nathanael Nerode
  2004-04-24  5:28 ` Ulrich Weigand
  2005-07-20 10:21 ` Building mips cross compiler on mingw Dave Murphy
  0 siblings, 2 replies; 6+ messages in thread
From: Nathanael Nerode @ 2004-04-02 23:22 UTC (permalink / raw)
  To: gcc, weigand

>Now, as long as the main 'make' is running, this has no adverse
>effect (apparently because make remembers it has already built
>the insn-conditions.o file from insn-conditions.c).  However,
>once the libada library is built, it performs a recursive make
>invocation that once again checks dependencies in the master
>gcc build directory, including the dependencies on gnat1.

The plan is to stop this from happening.  I'm working on it.

-- 
Make sure your vote will count.
http://www.verifiedvoting.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Linux 2.6 nanosecond time stamp weirdness breaks GCC build
  2004-04-02 23:22 Linux 2.6 nanosecond time stamp weirdness breaks GCC build Nathanael Nerode
@ 2004-04-24  5:28 ` Ulrich Weigand
  2005-07-20 10:21 ` Building mips cross compiler on mingw Dave Murphy
  1 sibling, 0 replies; 6+ messages in thread
From: Ulrich Weigand @ 2004-04-24  5:28 UTC (permalink / raw)
  To: Nathanael Nerode; +Cc: gcc, weigand

Nathanael Nerode wrote:
> 
> >Now, as long as the main 'make' is running, this has no adverse
> >effect (apparently because make remembers it has already built
> >the insn-conditions.o file from insn-conditions.c).  However,
> >once the libada library is built, it performs a recursive make
> >invocation that once again checks dependencies in the master
> >gcc build directory, including the dependencies on gnat1.
> 
> The plan is to stop this from happening.  I'm working on it.

With current CVS head I no longer see the spurious build failures.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Building mips cross compiler on mingw
  2004-04-02 23:22 Linux 2.6 nanosecond time stamp weirdness breaks GCC build Nathanael Nerode
  2004-04-24  5:28 ` Ulrich Weigand
@ 2005-07-20 10:21 ` Dave Murphy
  2005-07-20 10:56   ` Dave Korn
  1 sibling, 1 reply; 6+ messages in thread
From: Dave Murphy @ 2005-07-20 10:21 UTC (permalink / raw)
  To: gcc

[-- Attachment #1: Type: text/plain, Size: 4978 bytes --]

Hi,

I've been having some trouble building gcc 4.0.1 for mips target on a 
mingw host

The build fails at this point

/c/projects/devkitPro/sources/psp/gcc/gcc/xgcc 
-B/c/projects/devkitPro/sources/psp/gcc/gcc/ 
-Bc:/devkitPro/devkitPSP_4.0.1/psp/bin/ 
-Bc:/devkitPro/devkitPSP_4.0.1/psp/lib/ -isystem 
c:/devkitPro/devkitPSP_4.0.1/psp/include -isystem 
c:/devkitPro/devkitPSP_4.0.1/psp/sys-include -O2  -DIN_GCC 
-DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -G 0 
-g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I 
-I../../../gcc-4.0.1-new/gcc -I../../../gcc-4.0.1-new/gcc/ 
-I../../../gcc-4.0.1-new/gcc/../include 
-I../../../gcc-4.0.1-new/gcc/../libcpp/include  -DL_muldi3 -c 
../../../gcc-4.0.1-new/gcc/libgcc2.c -o libgcc/./_muldi3.o
C:/DOCUME~1/DAVEMN~1.000/LOCALS~1/Temp/ccAFaaaa.s: Assembler messages:
C:/DOCUME~1/DAVEMN~1.000/LOCALS~1/Temp/ccAFaaaa.s:19: Warning: expected `$'
C:/DOCUME~1/DAVEMN~1.000/LOCALS~1/Temp/ccAFaaaa.s:19: Error: junk at end 
of line, first unrecognized character is `n'
make[2]: *** [libgcc/./_muldi3.o] Error 1
make[2]: Leaving directory `/c/projects/devkitPro/sources/psp/gcc/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/c/projects/devkitPro/sources/psp/gcc/gcc'
make: *** [all-gcc] Error 2
Error building all-gcc


saving temp files and adding -v gives this

Reading specs from c:/projects/devkitPro/sources/psp/gcc/gcc/specs
Target: psp
Configured with: ../../gcc-4.0.1-new/configure --enable-languages=c,c++ 
--disable-multilib --with-gcc --with-gnu-ld --with-gnu-as --with-stabs 
--disable-shared --disable-win32-registry --disable-nls 
--enable-cxx-flags=-G0 --target=psp --with-newlib 
--prefix=c:/devkitPro/devkitPSP_4.0.1
Thread model: single
gcc version 4.0.1
 c:/projects/devkitPro/sources/psp/gcc/gcc/cc1.exe -E -quiet -v -I. -I 
-I../../../gcc-4.0.1-new/gcc -I../../../gcc-4.0.1-new/gcc/ 
-I../../../gcc-4.0.1-new/gcc/../include 
-I../../../gcc-4.0.1-new/gcc/../libcpp/include -iprefix 
c:\projects\devkitpro\sources\psp\gcc\gcc\../lib/gcc/psp/4.0.1/ -isystem 
c:/projects/devkitPro/sources/psp/gcc/gcc/include -DIN_GCC 
-DCROSS_COMPILE -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc 
-DL_muldi3 -isystem c:/devkitPro/devkitPSP_4.0.1/psp/include -isystem 
c:/devkitPro/devkitPSP_4.0.1/psp/sys-include -isystem ./include 
../../../gcc-4.0.1-new/gcc/libgcc2.c -G 0 -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition 
-fworking-directory -O2 -fpch-preprocess -o libgcc2.i
ignoring nonexistent directory "c:/devkitPro/devkitPSP_4.0.1/psp/include"
ignoring nonexistent directory 
"c:/devkitPro/devkitPSP_4.0.1/psp/sys-include"
ignoring nonexistent directory 
"c:\projects\devkitpro\sources\psp\gcc\gcc\../lib/gcc/psp/4.0.1/include"
ignoring nonexistent directory 
"c:\projects\devkitpro\sources\psp\gcc\gcc\../lib/gcc/psp/4.0.1/../../../../psp/sys-include"
ignoring nonexistent directory 
"c:\projects\devkitpro\sources\psp\gcc\gcc\../lib/gcc/psp/4.0.1/../../../../psp/include"
ignoring nonexistent directory 
"c:/devkitPro/devkitPSP_4.0.1/lib/gcc/psp/4.0.1/include"
ignoring nonexistent directory 
"c:/devkitPro/devkitPSP_4.0.1/lib/../psp/sys-include"
ignoring nonexistent directory 
"c:/devkitPro/devkitPSP_4.0.1/lib/../psp/include"
ignoring nonexistent directory "-I../../../gcc-4.0.1-new/gcc"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../../gcc-4.0.1-new/gcc
 ../../../gcc-4.0.1-new/gcc/../include
 ../../../gcc-4.0.1-new/gcc/../libcpp/include
 c:/projects/devkitPro/sources/psp/gcc/gcc/include
 ./include
End of search list.
 c:/projects/devkitPro/sources/psp/gcc/gcc/cc1.exe -fpreprocessed 
libgcc2.i -G 0 -quiet -dumpbase libgcc2.c -auxbase-strip 
libgcc/./_muldi3.o -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition -version -o libgcc2.s
GNU C version 4.0.1 (psp)
    compiled by GNU C version 3.4.2 (mingw-special).
GGC heuristics: --param ggc-min-expand=56 --param ggc-min-heapsize=49086
 c:/devkitPro/devkitPSP_4.0.1/psp/bin/as.exe --traditional-format -G 0 
-EL -O2 -g -no-mdebug -mabi=eabi -v -o libgcc/./_muldi3.o libgcc2.s
GNU assembler version 2.16.1 (psp) using BFD version 2.16.1
libgcc2.s: Assembler messages:
libgcc2.s:19: Warning: expected `$'
libgcc2.s:19: Error: junk at end of line, first unrecognized character 
is `n'

I've attached the saved temp files.

The same build process works fine on linux and I've compared output. The 
preprocessed source is identical barring paths. The assembly output 
differs only in the function prologue

on mingw built compiler

__muldi3:
    .frame    $sp,0,(null)        # vars= 7640055, regs= 0/0, args= 0, gp= 0

on linux built compiler

__muldi3:
    .frame    $sp,0,$31        # vars= 0, regs= 0/0, args= 0, gp= 0

can anyone point me in the right direction? I'm not quite sure what I 
should be looking for.

Dave


[-- Attachment #2: libgcc2.i --]
[-- Type: text/plain, Size: 9229 bytes --]

# 1 "../../../gcc-4.0.1-new/gcc/libgcc2.c"
# 1 "c:\\projects\\devkitPro\\sources\\psp\\gcc\\gcc//"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "../../../gcc-4.0.1-new/gcc/libgcc2.c"
# 35 "../../../gcc-4.0.1-new/gcc/libgcc2.c"
# 1 "./auto-host.h" 1
# 36 "../../../gcc-4.0.1-new/gcc/libgcc2.c" 2




# 1 "./tconfig.h" 1



# 1 "../../../gcc-4.0.1-new/gcc/../include/ansidecl.h" 1
# 5 "./tconfig.h" 2
# 41 "../../../gcc-4.0.1-new/gcc/libgcc2.c" 2
# 1 "../../../gcc-4.0.1-new/gcc/tsystem.h" 1
# 47 "../../../gcc-4.0.1-new/gcc/tsystem.h"
# 1 "c:/projects/devkitPro/sources/psp/gcc/gcc/include/stddef.h" 1 3 4
# 152 "c:/projects/devkitPro/sources/psp/gcc/gcc/include/stddef.h" 3 4
typedef int ptrdiff_t;
# 214 "c:/projects/devkitPro/sources/psp/gcc/gcc/include/stddef.h" 3 4
typedef unsigned int size_t;
# 326 "c:/projects/devkitPro/sources/psp/gcc/gcc/include/stddef.h" 3 4
typedef int wchar_t;
# 48 "../../../gcc-4.0.1-new/gcc/tsystem.h" 2
# 1 "c:/projects/devkitPro/sources/psp/gcc/gcc/include/float.h" 1 3 4
# 49 "../../../gcc-4.0.1-new/gcc/tsystem.h" 2




extern void *malloc (size_t);



extern void free (void *);



extern int atexit (void (*)(void));



extern void abort (void) __attribute__ ((__noreturn__));



extern size_t strlen (const char *);



extern void *memcpy (void *, const void *, size_t);



extern void *memset (void *, int, size_t);
# 42 "../../../gcc-4.0.1-new/gcc/libgcc2.c" 2
# 1 "../../../gcc-4.0.1-new/gcc/coretypes.h" 1
# 65 "../../../gcc-4.0.1-new/gcc/coretypes.h"
struct _dont_use_rtx_here_;
struct _dont_use_rtvec_here_;
union _dont_use_tree_here_;
# 43 "../../../gcc-4.0.1-new/gcc/libgcc2.c" 2
# 1 "./tm.h" 1
# 17 "./tm.h"
# 1 "../../../gcc-4.0.1-new/gcc/config/elfos.h" 1
# 18 "./tm.h" 2
# 1 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h" 1
# 29 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h"
extern int target_flags;
# 38 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h"
enum processor_type {
  PROCESSOR_DEFAULT,
  PROCESSOR_4KC,
  PROCESSOR_5KC,
  PROCESSOR_20KC,
  PROCESSOR_M4K,
  PROCESSOR_R3000,
  PROCESSOR_R3900,
  PROCESSOR_R6000,
  PROCESSOR_R4000,
  PROCESSOR_R4100,
  PROCESSOR_R4111,
  PROCESSOR_R4120,
  PROCESSOR_R4130,
  PROCESSOR_R4300,
  PROCESSOR_R4600,
  PROCESSOR_R4650,
  PROCESSOR_R5000,
  PROCESSOR_R5400,
  PROCESSOR_R5500,
  PROCESSOR_R7000,
  PROCESSOR_R8000,
  PROCESSOR_R9000,
  PROCESSOR_SB1,
  PROCESSOR_SR71000,
  PROCESSOR_ALLEGREX
};
# 78 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h"
struct mips_cpu_info {



  const char *name;




  enum processor_type cpu;


  int isa;
};

extern char mips_print_operand_punct[256];
extern const char *current_function_file;
extern int num_source_filenames;
extern int mips_section_threshold;
extern int sym_lineno;
extern int set_noreorder;
extern int set_nomacro;
extern int set_noat;
extern int set_volatile;
extern int mips_branch_likely;
extern int mips_dbx_regno[];
extern struct _dont_use_rtx_here_ * cmp_operands[2];
extern enum processor_type mips_arch;
extern enum processor_type mips_tune;
extern int mips_isa;
extern int mips_abi;
extern int mips16_hard_float;
extern const char *mips_arch_string;
extern const char *mips_tune_string;
extern const char *mips_isa_string;
extern const char *mips_abi_string;
extern const char *mips_cache_flush_func;
extern const char *mips_fix_vr4130_string;
extern const struct mips_cpu_info mips_cpu_info_table[];
extern const struct mips_cpu_info *mips_arch_info;
extern const struct mips_cpu_info *mips_tune_info;
# 1625 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h"
extern char mips_hard_regno_mode_ok[][176];
# 1716 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h"
enum reg_class
{
  NO_REGS,
  M16_NA_REGS,
  M16_REGS,
  T_REG,
  M16_T_REGS,
  PIC_FN_ADDR_REG,
  LEA_REGS,
  GR_REGS,
  FP_REGS,
  HI_REG,
  LO_REG,
  MD_REGS,
  COP0_REGS,
  COP2_REGS,
  COP3_REGS,
  HI_AND_GR_REGS,
  LO_AND_GR_REGS,
  HI_AND_FP_REGS,
  COP0_AND_GR_REGS,
  COP2_AND_GR_REGS,
  COP3_AND_GR_REGS,
  ALL_COP_REGS,
  ALL_COP_AND_GR_REGS,
  ST_REGS,
  ALL_REGS,
  LIM_REG_CLASSES
};
# 1830 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h"
extern const enum reg_class mips_regno_to_class[];
# 1913 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h"
extern enum reg_class mips_char_to_class[256];
# 2239 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h"
typedef struct mips_args {


  int gp_reg_found;


  unsigned int arg_number;




  unsigned int num_gprs;


  unsigned int num_fprs;


  unsigned int stack_words;
# 2269 "../../../gcc-4.0.1-new/gcc/config/mips/mips.h"
  int fp_code;


  int prototype;
} CUMULATIVE_ARGS;
# 19 "./tm.h" 2
# 1 "../../../gcc-4.0.1-new/gcc/config/mips/elf.h" 1
# 20 "./tm.h" 2
# 1 "../../../gcc-4.0.1-new/gcc/config/mips/psp.h" 1
# 21 "./tm.h" 2
# 1 "../../../gcc-4.0.1-new/gcc/defaults.h" 1
# 22 "./tm.h" 2
# 44 "../../../gcc-4.0.1-new/gcc/libgcc2.c" 2
# 56 "../../../gcc-4.0.1-new/gcc/libgcc2.c"
# 1 "../../../gcc-4.0.1-new/gcc/libgcc2.h" 1
# 34 "../../../gcc-4.0.1-new/gcc/libgcc2.h"
#pragma GCC visibility push(default)


extern int __gcc_bcmp (const unsigned char *, const unsigned char *, size_t);
extern void __clear_cache (char *, char *);
extern void __eprintf (const char *, const char *, unsigned int, const char *)
  __attribute__ ((__noreturn__));

struct exception_descriptor;
extern short int __get_eh_table_language (struct exception_descriptor *);
extern short int __get_eh_table_version (struct exception_descriptor *);
# 95 "../../../gcc-4.0.1-new/gcc/libgcc2.h"
typedef int QItype __attribute__ ((mode (QI)));
typedef unsigned int UQItype __attribute__ ((mode (QI)));
typedef int HItype __attribute__ ((mode (HI)));
typedef unsigned int UHItype __attribute__ ((mode (HI)));


typedef int SItype __attribute__ ((mode (SI)));
typedef unsigned int USItype __attribute__ ((mode (SI)));


typedef int DItype __attribute__ ((mode (DI)));
typedef unsigned int UDItype __attribute__ ((mode (DI)));
# 116 "../../../gcc-4.0.1-new/gcc/libgcc2.h"
typedef float SFtype __attribute__ ((mode (SF)));
typedef _Complex float SCtype __attribute__ ((mode (SC)));


typedef float DFtype __attribute__ ((mode (DF)));
typedef _Complex float DCtype __attribute__ ((mode (DC)));
# 132 "../../../gcc-4.0.1-new/gcc/libgcc2.h"
typedef int word_type __attribute__ ((mode (__word__)));
# 268 "../../../gcc-4.0.1-new/gcc/libgcc2.h"
extern DItype __muldi3 (DItype, DItype);
extern DItype __divdi3 (DItype, DItype);
extern UDItype __udivdi3 (UDItype, UDItype);
extern UDItype __umoddi3 (UDItype, UDItype);
extern DItype __moddi3 (DItype, DItype);




extern UDItype __udivmoddi4 (UDItype, UDItype, UDItype *);




extern DItype __negdi2 (DItype);


extern DItype __lshrdi3 (DItype, word_type);
extern DItype __ashldi3 (DItype, word_type);
extern DItype __ashrdi3 (DItype, word_type);




extern USItype __udiv_w_sdiv (USItype *, USItype, USItype, USItype);


extern word_type __cmpdi2 (DItype, DItype);
extern word_type __ucmpdi2 (DItype, DItype);

extern SItype __absvsi2 (SItype);
extern SItype __addvsi3 (SItype, SItype);
extern SItype __subvsi3 (SItype, SItype);
extern SItype __mulvsi3 (SItype, SItype);
extern SItype __negvsi2 (SItype);
extern DItype __absvdi2 (DItype);
extern DItype __addvdi3 (DItype, DItype);
extern DItype __subvdi3 (DItype, DItype);
extern DItype __mulvdi3 (DItype, DItype);
extern DItype __negvdi2 (DItype);
# 318 "../../../gcc-4.0.1-new/gcc/libgcc2.h"
extern DItype __fixsfdi (SFtype);
extern SFtype __floatdisf (DItype);
extern USItype __fixunssfsi (SFtype);
extern DItype __fixunssfdi (SFtype);
extern SFtype __powisf2 (SFtype, SItype);
extern SCtype __divsc3 (SFtype, SFtype, SFtype, SFtype);
extern SCtype __mulsc3 (SFtype, SFtype, SFtype, SFtype);


extern DItype __fixdfdi (DFtype);
extern DFtype __floatdidf (DItype);
extern USItype __fixunsdfsi (DFtype);
extern DItype __fixunsdfdi (DFtype);
extern DFtype __powidf2 (DFtype, SItype);
extern DCtype __divdc3 (DFtype, DFtype, DFtype, DFtype);
extern DCtype __muldc3 (DFtype, DFtype, DFtype, DFtype);
# 361 "../../../gcc-4.0.1-new/gcc/libgcc2.h"
  struct DWstruct {SItype low, high;};






typedef union
{
  struct DWstruct s;
  DItype ll;
} DWunion;

# 1 "../../../gcc-4.0.1-new/gcc/longlong.h" 1
# 1315 "../../../gcc-4.0.1-new/gcc/longlong.h"
extern const UQItype __clz_tab[] __attribute__ ((__visibility__ ("hidden")));
# 375 "../../../gcc-4.0.1-new/gcc/libgcc2.h" 2


extern int __clzdi2 (UDItype);
extern int __clzsi2 (USItype);
extern int __ctzsi2 (USItype);
extern int __ffssi2 (USItype);
extern int __ffsdi2 (DItype);
extern int __ctzdi2 (UDItype);
extern int __popcountsi2 (USItype);
extern int __popcountdi2 (UDItype);
extern int __paritysi2 (USItype);
extern int __paritydi2 (UDItype);


extern void __enable_execute_stack (void *);


#pragma GCC visibility pop
# 57 "../../../gcc-4.0.1-new/gcc/libgcc2.c" 2
# 522 "../../../gcc-4.0.1-new/gcc/libgcc2.c"
DItype
__muldi3 (DItype u, DItype v)
{
  const DWunion uu = {.ll = u};
  const DWunion vv = {.ll = v};
  DWunion w = {.ll = ({DWunion __w; __asm__ ("multu %2,%3" : "=l" ((USItype) (__w.s.low)), "=h" ((USItype) (__w.s.high)) : "d" ((USItype) (uu.s.low)), "d" ((USItype) (vv.s.low))); __w.ll; })};

  w.s.high += ((USItype) uu.s.low * (USItype) vv.s.high
        + (USItype) uu.s.high * (USItype) vv.s.low);

  return w.ll;
}

[-- Attachment #3: libgcc2.s --]
[-- Type: text/plain, Size: 9013 bytes --]

	.section .mdebug.eabi32
	.section .gcc_compiled_long32
	.previous
	.section	.debug_abbrev,"",@progbits
$Ldebug_abbrev0:
	.section	.debug_info,"",@progbits
$Ldebug_info0:
	.section	.debug_line,"",@progbits
$Ldebug_line0:
	.text
$Ltext0:
	.align	2
	.globl	__muldi3
$LFB2:
	.file 1 "../../../gcc-4.0.1-new/gcc/libgcc2.c"
	.loc 1 524 0
	.ent	__muldi3
__muldi3:
	.frame	$sp,0,(null)		# vars= 7640055, regs= 0/0, args= 0, gp= 0
	.mask	0x00000000,0
	.fmask	0x00000000,0
$LVL0:
$LVL1:
	.loc 1 529 0
	mult	$4,$7
$LBB2:
	.loc 1 527 0
	move	$8,$6
$LBE2:
	.loc 1 529 0
	mflo	$9
	#nop
	#nop
$LVL2:
$LBB3:
	.loc 1 527 0
 #APP
	multu $4,$6
 #NO_APP
	mfhi	$3
	mflo	$6
$LVL3:
$LBE3:
	move	$2,$6
	#nop
$LVL4:
$LVL5:
	.loc 1 529 0
	mult	$8,$5
	mflo	$8
	addu	$9,$9,$8
$LVL6:
$LVL7:
	.loc 1 533 0
	.set	noreorder
	.set	nomacro
	j	$31
	addu	$3,$9,$3
	.set	macro
	.set	reorder

	.end	__muldi3
$LFE2:
	.size	__muldi3, .-__muldi3
	.section	.debug_frame,"",@progbits
$Lframe0:
	.4byte	$LECIE0-$LSCIE0
$LSCIE0:
	.4byte	0xffffffff
	.byte	0x1
	.ascii	"\000"
	.uleb128 0x1
	.sleb128 -4
	.byte	0x1f
	.byte	0xc
	.uleb128 0x1d
	.uleb128 0x0
	.align	2
$LECIE0:
$LSFDE0:
	.4byte	$LEFDE0-$LASFDE0
$LASFDE0:
	.4byte	$Lframe0
	.4byte	$LFB2
	.4byte	$LFE2-$LFB2
	.align	2
$LEFDE0:
	.align	0
	.file 2 "../../../gcc-4.0.1-new/gcc/libgcc2.h"
	.text
$Letext0:
	.section	.debug_loc,"",@progbits
$Ldebug_loc0:
$LLST0:
	.4byte	$LVL0-$Ltext0
	.4byte	$LVL1-$Ltext0
	.2byte	0x6
	.byte	0x54
	.byte	0x93
	.uleb128 0x4
	.byte	0x55
	.byte	0x93
	.uleb128 0x4
	.4byte	0x0
	.4byte	0x0
$LLST1:
	.4byte	$LVL0-$Ltext0
	.4byte	$LVL1-$Ltext0
	.2byte	0x6
	.byte	0x56
	.byte	0x93
	.uleb128 0x4
	.byte	0x57
	.byte	0x93
	.uleb128 0x4
	.4byte	$LVL1-$Ltext0
	.4byte	$LVL2-$Ltext0
	.2byte	0xb
	.byte	0x56
	.byte	0x93
	.uleb128 0x4
	.byte	0x57
	.byte	0x93
	.uleb128 0x4
	.byte	0x93
	.uleb128 0x8
	.byte	0x57
	.byte	0x93
	.uleb128 0x4
	.4byte	0x0
	.4byte	0x0
$LLST2:
	.4byte	$LVL6-$Ltext0
	.4byte	$LVL7-$Ltext0
	.2byte	0x6
	.byte	0x52
	.byte	0x93
	.uleb128 0x4
	.byte	0x53
	.byte	0x93
	.uleb128 0x4
	.4byte	0x0
	.4byte	0x0
$LLST3:
	.4byte	$LVL6-$Ltext0
	.4byte	$LVL6-$Ltext0
	.2byte	0x6
	.byte	0x56
	.byte	0x93
	.uleb128 0x4
	.byte	0x53
	.byte	0x93
	.uleb128 0x4
	.4byte	0x0
	.4byte	0x0
	.section	.debug_info
	.4byte	0x167
	.2byte	0x2
	.4byte	$Ldebug_abbrev0
	.byte	0x4
	.uleb128 0x1
	.4byte	$Ldebug_line0
	.4byte	$Letext0
	.4byte	$Ltext0
	.4byte	$LASF16
	.byte	0x1
	.4byte	$LASF17
	.4byte	$LASF18
	.uleb128 0x2
	.ascii	"int\000"
	.byte	0x4
	.byte	0x5
	.uleb128 0x3
	.4byte	$LASF0
	.byte	0x4
	.byte	0x7
	.uleb128 0x3
	.4byte	$LASF1
	.byte	0x1
	.byte	0x5
	.uleb128 0x3
	.4byte	$LASF2
	.byte	0x1
	.byte	0x6
	.uleb128 0x3
	.4byte	$LASF3
	.byte	0x1
	.byte	0x8
	.uleb128 0x3
	.4byte	$LASF4
	.byte	0x2
	.byte	0x5
	.uleb128 0x3
	.4byte	$LASF5
	.byte	0x2
	.byte	0x7
	.uleb128 0x4
	.4byte	$LASF6
	.byte	0x2
	.byte	0x65
	.4byte	0x25
	.uleb128 0x4
	.4byte	$LASF7
	.byte	0x2
	.byte	0x69
	.4byte	0x6c
	.uleb128 0x3
	.4byte	$LASF8
	.byte	0x8
	.byte	0x5
	.uleb128 0x3
	.4byte	$LASF9
	.byte	0x8
	.byte	0x7
	.uleb128 0x3
	.4byte	$LASF10
	.byte	0x4
	.byte	0x4
	.uleb128 0x3
	.4byte	$LASF11
	.byte	0x8
	.byte	0x3
	.uleb128 0x3
	.4byte	$LASF12
	.byte	0x8
	.byte	0x4
	.uleb128 0x3
	.4byte	$LASF13
	.byte	0x10
	.byte	0x3
	.uleb128 0x5
	.4byte	0xc2
	.4byte	$LASF19
	.byte	0x8
	.byte	0x2
	.2byte	0x169
	.uleb128 0x6
	.ascii	"low\000"
	.byte	0x2
	.2byte	0x169
	.4byte	0x56
	.byte	0x2
	.byte	0x10
	.uleb128 0x0
	.uleb128 0x7
	.4byte	$LASF14
	.byte	0x2
	.2byte	0x169
	.4byte	0x56
	.byte	0x2
	.byte	0x10
	.uleb128 0x4
	.byte	0x0
	.uleb128 0x8
	.4byte	0xe1
	.byte	0x8
	.byte	0x2
	.2byte	0x174
	.uleb128 0x9
	.ascii	"s\000"
	.byte	0x2
	.2byte	0x172
	.4byte	0x96
	.uleb128 0x9
	.ascii	"ll\000"
	.byte	0x2
	.2byte	0x173
	.4byte	0x61
	.byte	0x0
	.uleb128 0xa
	.4byte	$LASF15
	.byte	0x2
	.2byte	0x174
	.4byte	0xc2
	.uleb128 0xb
	.4byte	0x165
	.byte	0x1
	.4byte	$LASF20
	.byte	0x1
	.2byte	0x20c
	.byte	0x1
	.4byte	0x61
	.4byte	$LFB2
	.4byte	$LFE2
	.4byte	$LSFDE0
	.byte	0x2
	.byte	0x8d
	.sleb128 0
	.uleb128 0xc
	.ascii	"u\000"
	.byte	0x1
	.2byte	0x20b
	.4byte	0x61
	.4byte	$LLST0
	.uleb128 0xc
	.ascii	"v\000"
	.byte	0x1
	.2byte	0x20b
	.4byte	0x61
	.4byte	$LLST1
	.uleb128 0xd
	.ascii	"uu\000"
	.byte	0x1
	.2byte	0x20d
	.4byte	0x165
	.uleb128 0xd
	.ascii	"vv\000"
	.byte	0x1
	.2byte	0x20e
	.4byte	0x165
	.uleb128 0xe
	.ascii	"w\000"
	.byte	0x1
	.2byte	0x20f
	.4byte	0xe1
	.4byte	$LLST2
	.uleb128 0xf
	.4byte	$Ldebug_ranges0+0x0
	.uleb128 0xe
	.ascii	"__w\000"
	.byte	0x1
	.2byte	0x20f
	.4byte	0xe1
	.4byte	$LLST3
	.byte	0x0
	.byte	0x0
	.uleb128 0x10
	.4byte	0xe1
	.byte	0x0
	.section	.debug_abbrev
	.uleb128 0x1
	.uleb128 0x11
	.byte	0x1
	.uleb128 0x10
	.uleb128 0x6
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x25
	.uleb128 0xe
	.uleb128 0x13
	.uleb128 0xb
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x1b
	.uleb128 0xe
	.byte	0x0
	.byte	0x0
	.uleb128 0x2
	.uleb128 0x24
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3e
	.uleb128 0xb
	.byte	0x0
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x24
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3e
	.uleb128 0xb
	.byte	0x0
	.byte	0x0
	.uleb128 0x4
	.uleb128 0x16
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0xb
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0x5
	.uleb128 0x13
	.byte	0x1
	.uleb128 0x1
	.uleb128 0x13
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.byte	0x0
	.byte	0x0
	.uleb128 0x6
	.uleb128 0xd
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x38
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x7
	.uleb128 0xd
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x38
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0x8
	.uleb128 0x17
	.byte	0x1
	.uleb128 0x1
	.uleb128 0x13
	.uleb128 0xb
	.uleb128 0xb
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.byte	0x0
	.byte	0x0
	.uleb128 0x9
	.uleb128 0xd
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xa
	.uleb128 0x16
	.byte	0x0
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xb
	.uleb128 0x2e
	.byte	0x1
	.uleb128 0x1
	.uleb128 0x13
	.uleb128 0x3f
	.uleb128 0xc
	.uleb128 0x3
	.uleb128 0xe
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.uleb128 0x27
	.uleb128 0xc
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x11
	.uleb128 0x1
	.uleb128 0x12
	.uleb128 0x1
	.uleb128 0x2001
	.uleb128 0x6
	.uleb128 0x40
	.uleb128 0xa
	.byte	0x0
	.byte	0x0
	.uleb128 0xc
	.uleb128 0x5
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0x6
	.byte	0x0
	.byte	0x0
	.uleb128 0xd
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.uleb128 0xe
	.uleb128 0x34
	.byte	0x0
	.uleb128 0x3
	.uleb128 0x8
	.uleb128 0x3a
	.uleb128 0xb
	.uleb128 0x3b
	.uleb128 0x5
	.uleb128 0x49
	.uleb128 0x13
	.uleb128 0x2
	.uleb128 0x6
	.byte	0x0
	.byte	0x0
	.uleb128 0xf
	.uleb128 0xb
	.byte	0x1
	.uleb128 0x55
	.uleb128 0x6
	.byte	0x0
	.byte	0x0
	.uleb128 0x10
	.uleb128 0x26
	.byte	0x0
	.uleb128 0x49
	.uleb128 0x13
	.byte	0x0
	.byte	0x0
	.byte	0x0
	.section	.debug_pubnames,"",@progbits
	.4byte	0x1b
	.2byte	0x2
	.4byte	$Ldebug_info0
	.4byte	0x16b
	.4byte	0xed
	.ascii	"__muldi3\000"
	.4byte	0x0
	.section	.debug_aranges,"",@progbits
	.4byte	0x1c
	.2byte	0x2
	.4byte	$Ldebug_info0
	.byte	0x4
	.byte	0x0
	.2byte	0x0
	.2byte	0x0
	.4byte	$Ltext0
	.4byte	$Letext0-$Ltext0
	.4byte	0x0
	.4byte	0x0
	.section	.debug_ranges,"",@progbits
$Ldebug_ranges0:
	.4byte	$LBB2-$Ltext0
	.4byte	$LBE2-$Ltext0
	.4byte	$LBB3-$Ltext0
	.4byte	$LBE3-$Ltext0
	.4byte	0x0
	.4byte	0x0
	.section	.debug_str,"MS",@progbits,1
$LASF16:
	.ascii	"GNU C 4.0.1 -g\000"
$LASF19:
	.ascii	"DWstruct\000"
$LASF11:
	.ascii	"complex float\000"
$LASF4:
	.ascii	"short int\000"
$LASF14:
	.ascii	"high\000"
$LASF18:
	.ascii	"c:\\\\projects\\\\devkitPro\\\\sources\\\\psp\\\\gcc\\\\"
	.ascii	"gcc\000"
$LASF17:
	.ascii	"../../../gcc-4.0.1-new/gcc/libgcc2.c\000"
$LASF13:
	.ascii	"complex double\000"
$LASF2:
	.ascii	"signed char\000"
$LASF10:
	.ascii	"float\000"
$LASF8:
	.ascii	"long long int\000"
$LASF9:
	.ascii	"long long unsigned int\000"
$LASF3:
	.ascii	"unsigned char\000"
$LASF0:
	.ascii	"unsigned int\000"
$LASF5:
	.ascii	"short unsigned int\000"
$LASF1:
	.ascii	"char\000"
$LASF6:
	.ascii	"SItype\000"
$LASF12:
	.ascii	"double\000"
$LASF20:
	.ascii	"__muldi3\000"
$LASF7:
	.ascii	"DItype\000"
$LASF15:
	.ascii	"DWunion\000"
	.ident	"GCC: (GNU) 4.0.1"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Building mips cross compiler on mingw
  2005-07-20 10:21 ` Building mips cross compiler on mingw Dave Murphy
@ 2005-07-20 10:56   ` Dave Korn
  2005-07-20 11:05     ` Dave Korn
  2005-07-21 16:49     ` Dave Murphy
  0 siblings, 2 replies; 6+ messages in thread
From: Dave Korn @ 2005-07-20 10:56 UTC (permalink / raw)
  To: 'Dave Murphy', gcc

----Original Message----
>From: Dave Murphy
>Sent: 20 July 2005 11:21

> I've been having some trouble building gcc 4.0.1 for mips target on a
> mingw host

  No you aren't.  You're using a modified version of the gcc-4.0.1 sources
and you're targetting PSP.  That may be a MIPS backend, but it's a different
_target_.

> Reading specs from c:/projects/devkitPro/sources/psp/gcc/gcc/specs
> Target: psp
> Configured with: ../../gcc-4.0.1-new/configure --enable-languages=c,c++
> --disable-multilib --with-gcc --with-gnu-ld --with-gnu-as --with-stabs
> --disable-shared --disable-win32-registry --disable-nls
> --enable-cxx-flags=-G0 --target=psp --with-newlib

  There's no such thing in FSF gcc (unless it was sneaked in just after
RC2...):

dk@mace /gnu/testing/psp> /gnu/testing/gcc-4.0.1-20050702/configure
--enable-la
nguages=c --target=psp
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... Invalid configuration `psp': machine `psp'
not recognized

> The same build process works fine on linux and I've compared output. The
> preprocessed source is identical barring paths. The assembly output
> differs only in the function prologue
> 
> on mingw built compiler
> 
> __muldi3:
>     .frame    $sp,0,(null)        # vars= 7640055, regs= 0/0, args= 0,
                      ^^^^^^                 ^^^^^^
                   This is very bad.        This is even worse.

  Stack frame generation / layout is going wrong if it thinks __muldi3 needs
seven and a bit megs of stack.  However, perhaps that's not the correct
number for how much it actually does think it wants.

> can anyone point me in the right direction? I'm not quite sure what I
> should be looking for.

  You're looking for gcc to be calling *printf and passing a NULL argument
to a %s format character, basically.  Whatever patches you have applied must
be faulty.  The bad call is in gcc/config/mips/mips.c
(mips_output_function_prologue):

  if (!flag_inhibit_size_directive)
    {
      /* .frame FRAMEREG, FRAMESIZE, RETREG */
      fprintf (file,
	       "\t.frame\t%s," HOST_WIDE_INT_PRINT_DEC ",%s\t\t"
	       "# vars= " HOST_WIDE_INT_PRINT_DEC ", regs= %d/%d"
	       ", args= " HOST_WIDE_INT_PRINT_DEC
	       ", gp= " HOST_WIDE_INT_PRINT_DEC "\n",
	       (reg_names[(frame_pointer_needed)
			  ? HARD_FRAME_POINTER_REGNUM :
STACK_POINTER_REGNUM]),
	       ((frame_pointer_needed && TARGET_MIPS16)
		? tsize - cfun->machine->frame.args_size
		: tsize),
	       reg_names[GP_REG_FIRST + 31],
	       cfun->machine->frame.var_size,
	       cfun->machine->frame.num_gp,
	       cfun->machine->frame.num_fp,
	       cfun->machine->frame.args_size,
	       cfun->machine->frame.cprestore_size);

  Hmm.  Perhaps we have HOST_WIDE_INT problems for mingw host here?  If
cfun->machine->frame.var_size was a long long, and HOST_WIDE_INT_PRINT_DEC
for mingw is just "%d" or "%ld" rather than "%lld", that would push an extra
NULL word onto the stack that would be taken as the parameter for %s because
the "%d" wouldn't be advancing the varargs pointer past the whole of the
second format arg...

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Building mips cross compiler on mingw
  2005-07-20 10:56   ` Dave Korn
@ 2005-07-20 11:05     ` Dave Korn
  2005-07-21 16:49     ` Dave Murphy
  1 sibling, 0 replies; 6+ messages in thread
From: Dave Korn @ 2005-07-20 11:05 UTC (permalink / raw)
  To: 'Dave Korn', 'Dave Murphy', gcc

----Original Message----
>From: Dave Korn
>Sent: 20 July 2005 11:56

  Couple of minor corrections:

>
>
    HOST_WIDE_INT tsize = cfun->machine->frame.total_size;
>
>   if (!flag_inhibit_size_directive)
>     {
>       /* .frame FRAMEREG, FRAMESIZE, RETREG */
>       fprintf (file,
> 	       "\t.frame\t%s," HOST_WIDE_INT_PRINT_DEC ",%s\t\t"
> 	       "# vars= " HOST_WIDE_INT_PRINT_DEC ", regs= %d/%d"
> 	       ", args= " HOST_WIDE_INT_PRINT_DEC
> 	       ", gp= " HOST_WIDE_INT_PRINT_DEC "\n",
> 	       (reg_names[(frame_pointer_needed)
> 			  ? HARD_FRAME_POINTER_REGNUM :
> STACK_POINTER_REGNUM]),
> 	       ((frame_pointer_needed && TARGET_MIPS16)
> 		? tsize - cfun->machine->frame.args_size
> 		: tsize),
> 	       reg_names[GP_REG_FIRST + 31],
> 	       cfun->machine->frame.var_size,
> 	       cfun->machine->frame.num_gp,
> 	       cfun->machine->frame.num_fp,
> 	       cfun->machine->frame.args_size,
> 	       cfun->machine->frame.cprestore_size);
> 
>   Hmm.  Perhaps we have HOST_WIDE_INT problems for mingw host here?  If

 ...  either HOST_WIDE_INT or ...

> cfun->machine->frame.var_size was a long long, and HOST_WIDE_INT_PRINT_DEC
> for mingw is just "%d" or "%ld" rather than "%lld", that would push an
> extra NULL word onto the stack that would be taken as the parameter for
> %s because the "%d" wouldn't be advancing the varargs pointer past the
> whole of the second format arg...


  Ooops, slight braino there.  I meant the second argument involving
cfun->machine->frame.args_size may be pushing reg_names[GP_REG_FIRST + 31]
along.  You could verify that was happening by running cc1 under gdb,
setting a breakpoint here, and checking that reg_names[GP_REG_FIRST + 31]
isn't actually NULL.  You may also be able to workaround the bug with
-finhibit-size-directive.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Building mips cross compiler on mingw
  2005-07-20 10:56   ` Dave Korn
  2005-07-20 11:05     ` Dave Korn
@ 2005-07-21 16:49     ` Dave Murphy
  1 sibling, 0 replies; 6+ messages in thread
From: Dave Murphy @ 2005-07-21 16:49 UTC (permalink / raw)
  To: Dave Korn; +Cc: gcc

Dave Korn wrote:

>>I've been having some trouble building gcc 4.0.1 for mips target on a
>>mingw host
>>    
>>
>
>  No you aren't.  You're using a modified version of the gcc-4.0.1 sources
>and you're targetting PSP.  That may be a MIPS backend, but it's a different
>_target_.
>  
>

:) fair enough, the patches are currently minimal for gcc though.

>  Hmm.  Perhaps we have HOST_WIDE_INT problems for mingw host here?  If
>cfun->machine->frame.var_size was a long long, and HOST_WIDE_INT_PRINT_DEC
>for mingw is just "%d" or "%ld" rather than "%lld", that would push an extra
>NULL word onto the stack that would be taken as the parameter for %s because
>the "%d" wouldn't be advancing the varargs pointer past the whole of the
>second format arg...
>
>  
>
And that's exactly the problem.

in /gcc/config/i386/xm-mingw32.h we have

/* MSVCRT does not support the "ll" format specifier for printing
   "long long" values.  Instead, we use "I64".  */
#define HOST_LONG_LONG_FORMAT "I64"

then in gcc/hwint.h we have

/* The string that should be inserted into a printf style format to
   indicate a "long long" operand.  */
#ifndef HOST_LONG_LONG_FORMAT
#define HOST_LONG_LONG_FORMAT "ll"
#endif


and later in the same file

#if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
# define HOST_WIDE_INT_PRINT "l"
# define HOST_WIDE_INT_PRINT_C "L"
  /* 'long' might be 32 or 64 bits, and the number of leading zeroes
     must be tweaked accordingly.  */
# if HOST_BITS_PER_WIDE_INT == 64
#  define HOST_WIDE_INT_PRINT_DOUBLE_HEX "0x%lx%016lx"
# else
#  define HOST_WIDE_INT_PRINT_DOUBLE_HEX "0x%lx%08lx"
# endif
#else
# define HOST_WIDE_INT_PRINT "ll"
# define HOST_WIDE_INT_PRINT_C "LL"
  /* We can assume that 'long long' is at least 64 bits.  */
# define HOST_WIDE_INT_PRINT_DOUBLE_HEX \
    "0x%" HOST_LONG_LONG_FORMAT "x%016" HOST_LONG_LONG_FORMAT "x"
#endif /* HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG */

so the HOST_WIDE_INT_PRINT ignores the mingw override.

I've currently patched as follows

diff -Naurb gcc-4.0.1/gcc/hwint.h gcc-4.0.1-new/gcc/hwint.h
--- gcc-4.0.1/gcc/hwint.h    Wed Nov 24 04:31:57 2004
+++ gcc-4.0.1-new/gcc/hwint.h    Thu Jul 21 14:37:06 2005
@@ -80,7 +80,7 @@
 #  define HOST_WIDE_INT_PRINT_DOUBLE_HEX "0x%lx%08lx"
 # endif
 #else
-# define HOST_WIDE_INT_PRINT "ll"
+# define HOST_WIDE_INT_PRINT HOST_LONG_LONG_FORMAT
 # define HOST_WIDE_INT_PRINT_C "LL"
   /* We can assume that 'long long' is at least 64 bits.  */
 # define HOST_WIDE_INT_PRINT_DOUBLE_HEX \

This works for me and allows the build to complete. I'm not currently 
sure if HOST_WIDE_INT_PRINT_C needs similar treatment.

I've created PR22594 - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22594

Many thanks.

Dave

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-07-21 16:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-02 23:22 Linux 2.6 nanosecond time stamp weirdness breaks GCC build Nathanael Nerode
2004-04-24  5:28 ` Ulrich Weigand
2005-07-20 10:21 ` Building mips cross compiler on mingw Dave Murphy
2005-07-20 10:56   ` Dave Korn
2005-07-20 11:05     ` Dave Korn
2005-07-21 16:49     ` Dave Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).