Attached is locale-inst.ii for gcc-4_3-branch revision 143448. The assembler says, during build: locale-inst.s: Assembler messages: locale-inst.s:192360: Error: bignum invalid
The line, with context, is (with -dA -mpdebug for improved clarity, but causing the line number to change to 203626): 203615 .dword 0x1fd ;# DW_AT_type 203616 .byte 0x1 ;# DW_AT_external 203617 .byte 0x1 ;# DW_AT_declaration 203618 .uleb128 0xb6 ;# (DIE (0x227ba) DW_TAG_variable) 203619 .dword .LASF1471 ;# DW_AT_name: "__min" 203620 .byte 0x36 ;# DW_AT_decl_file (/tmp/hptest/v32l/gccobj/crisv32-axis-linux-gnu/libstdc++-v3/include/ 203620 ext/numeric_traits.h) 203621 .byte 0x3e ;# DW_AT_decl_line 203622 .dword .LASF1591 ;# DW_AT_MIPS_linkage_name: "_ZN9__gnu_cxx24__numeric_traits_integerIxE5__minE" 203623 .dword 0x839f ;# DW_AT_type 203624 .byte 0x1 ;# DW_AT_external 203625 .byte 0x1 ;# DW_AT_declaration 203626 .sleb128 -9223372036854775808 ;# DW_AT_const_value 203627 .uleb128 0xba ;# (DIE (0x227d6) DW_TAG_variable) 203628 .dword .LASF1472 ;# DW_AT_name: "__max" 203629 .byte 0x36 ;# DW_AT_decl_file (/tmp/hptest/v32l/gccobj/crisv32-axis-linux-gnu/libstdc++-v3/include/ 203629 ext/numeric_traits.h) 203630 .byte 0x3f ;# DW_AT_decl_line 203631 .dword .LASF1592 ;# DW_AT_MIPS_linkage_name: "_ZN9__gnu_cxx24__numeric_traits_integerIxE5__maxE" 203632 .dword 0x839f ;# DW_AT_type 203633 .byte 0x1 ;# DW_AT_external 203634 .byte 0x1 ;# DW_AT_declaration 203635 .quad 0x7fffffffffffffff ;# DW_AT_const_value 203636 .uleb128 0x4f ;# (DIE (0x227f0) DW_TAG_variable) 203637 .dword .LASF1561 ;# DW_AT_name: "__is_signed" The number -9223372036854775808 is also known as 0x8000000000000000. I've been able to build for this target on the gcc-4.3 branch before. -- Summary: [4.3 Regression] building libstdc++ stumbles on "invalid bignum", 0x8000000000000000 Product: gcc Version: 4.3.3 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hp at gcc dot gnu dot org GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: crisv32-axis-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38896