gcc-3.[01] current: bad assembler output building libstdc++-v3

pavenis@lanet.lv pavenis@lanet.lv
Thu Apr 19 06:06:00 GMT 2001


I last weeks I'm getting bad assembler output from C++ compiler for 
target i586-pc-msdosdjgpp (both branches: gcc-3_0-branch and 
HEAD). Newest version I got working for that target was gcc-ss-
20010320 (gcc-ss-20010326 already failed build)

I'm appending part of assembler output for libstdc++-v3/src/globals.cc
(with gcc-3_0-branch I got similar failures earlier with 
libstdc++-v3/src/bitset.cc). I marked bad assembler lines where C++ 
names were not correctly mangled with '===>'.

I didn't saw similar problems for i686-pc-linux-gnu

Andris

       .file "globals.ii"
       .section .text
       .def  _string; .scl  13;   .type 010;  .endef
.................    
       .def  _St13_Format_cacheIwE;  .scl  13;   .tag  _St13_Format_cacheIwE;  .size 24;   .type 010;  .endef
       .def  _St9basic_iosIcSt11char_traitsIcEE; .scl  10;   .type 010;  .size 136;  .endef
       .def  _ios_base;  .val  4; .scl  8; .tag  _ios_base;  .size 100;  .type 010;  .endef
===>   .def  __vptr$basic_ios<char,std::char_traits<char> >; .val  0; .scl  8; .type 01124;   .endef
       .def  __M_tie; .val  104;  .scl  8; .type 030;  .endef
       .def  __M_fill;   .val  108;  .scl  8; .type 02;   .endef
       .def  __M_exception; .val  112;  .scl  8; .tag  __Ios_Iostate; .size 4; .type 012;  .endef
       .def  __M_streambuf; .val  116;  .scl  8; .type 030;  .endef
       .def  __M_streambuf_state; .val  120;  .scl  8; .tag  __Ios_Iostate; .size 4; .type 012;  .endef
       .def  __M_ios_fctype;   .val  124;  .scl  8; .tag  _St5ctypeIcE;  .size 28;   .type 030;  .endef
       .def  __M_fnumput;   .val  128;  .scl  8; .type 030;  .endef
       .def  __M_fnumget;   .val  132;  .scl  8; .tag  _St7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE; .size 8; .type 030;  .endef
       .def  .eos; .val  136;  .scl  102;  .tag  _St9basic_iosIcSt11char_traitsIcEE; .size 136;  .endef
       .def  _St9basic_iosIcSt11char_traitsIcEE; .scl  13;   .tag  _St9basic_iosIcSt11char_traitsIcEE; .size 136;  .type 010;  .endef
       .def  _Si;  .scl  10;   .type 010;  .size 144;  .endef
       .def  _St9basic_iosIcSt11char_traitsIcEE; .val  8; .scl  8; .tag  _St9basic_iosIcSt11char_traitsIcEE; .size 136;  .type 010;  .endef
===>   .def  __vptr$basic_istream<char,std::char_traits<char> >;   .val  0; .scl  8; .type 01124;   .endef
       .def  __M_gcount; .val  4; .scl  8; .type 04;   .endef
       .def  .eos; .val  144;  .scl  102;  .tag  _Si;  .size 144;  .endef
       .def  _Si;  .scl  13;   .tag  _Si;  .size 144;  .type 010;  .endef
       .def  _fake_istream; .scl  13;   .dim  144;  .size 144;  .type 062;  .endef
       .def  _So;  .scl  10;   .type 010;  .size 140;  .endef
       .def  _St9basic_iosIcSt11char_traitsIcEE; .val  4; .scl  8; .tag  _St9basic_iosIcSt11char_traitsIcEE; .size 136;  .type 010;  .endef
===>   .def  __vptr$basic_ostream<char,std::char_traits<char> >;   .val  0; .scl  8; .type 01124;   .endef
       .def  .eos; .val  140;  .scl  102;  .tag  _So;  .size 140;  .endef
       .def  _So;  .scl  13;   .tag  _So;  .size 140;  .type 010;  .endef
       .def  _fake_ostream; .scl  13;   .dim  140;  .size 140;  .type 062;  .endef
       .def  __ZSt3cin;  .val  __ZSt3cin;  .scl  2; .dim  144;  .size 144;  .type 062;  .endef
    .globl __ZSt3cin
       .section .bss
       .p2align 5
.....................    
    
       .ident   "GCC: (GNU) 3.1 20010418 (experimental)"



More information about the Gcc-bugs mailing list