On a Tru64 alpha system, when I compile a file containing: #include <iostream>
using g++ 3.4.3 as follows: g++ -c -gcoff I get the following output: mips-tfile, /tmp//ccnFchPc.s:1071 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIbE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1072 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIbE; .scl 13; .tag 13__type_traitsIbE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1074 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIcE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1075 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIcE; .scl 13; .tag 13__type_traitsIcE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1077 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIaE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1078 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIaE; .scl 13; .tag 13__type_traitsIaE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1080 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIhE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1081 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIhE; .scl 13; .tag 13__type_traitsIhE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1083 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIwE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1084 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIwE; .scl 13; .tag 13__type_traitsIwE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1086 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIsE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1087 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIsE; .scl 13; .tag 13__type_traitsIsE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1089 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsItE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1090 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsItE; .scl 13; .tag 13__type_traitsItE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1092 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIiE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1093 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIiE; .scl 13; .tag 13__type_traitsIiE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1095 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIjE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1096 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIjE; .scl 13; .tag 13__type_traitsIjE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1098 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIlE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1099 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIlE; .scl 13; .tag 13__type_traitsIlE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1101 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsImE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1102 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsImE; .scl 13; .tag 13__type_traitsImE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1104 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIxE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1105 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIxE; .scl 13; .tag 13__type_traitsIxE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1107 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIyE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1108 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIyE; .scl 13; .tag 13__type_traitsIyE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1110 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIfE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1111 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIfE; .scl 13; .tag 13__type_traitsIfE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1113 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIdE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1114 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIdE; .scl 13; .tag 13__type_traitsIdE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1116 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 13__type_traitsIeE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1117 compiler error, badly formed #.def (internal line # = 2812) line: #.def 13__type_traitsIeE; .scl 13; .tag 13__type_traitsIeE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1119 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIbE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1120 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIbE; .scl 13; .tag 11_Is_integerIbE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1122 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIcE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1123 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIcE; .scl 13; .tag 11_Is_integerIcE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1125 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIaE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1126 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIaE; .scl 13; .tag 11_Is_integerIaE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1128 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIhE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1129 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIhE; .scl 13; .tag 11_Is_integerIhE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1131 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIwE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1132 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIwE; .scl 13; .tag 11_Is_integerIwE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1134 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIsE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1135 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIsE; .scl 13; .tag 11_Is_integerIsE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1137 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerItE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1138 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerItE; .scl 13; .tag 11_Is_integerItE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1140 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIiE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1141 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIiE; .scl 13; .tag 11_Is_integerIiE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1143 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIjE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1144 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIjE; .scl 13; .tag 11_Is_integerIjE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1146 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIlE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1147 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIlE; .scl 13; .tag 11_Is_integerIlE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1149 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerImE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1150 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerImE; .scl 13; .tag 11_Is_integerImE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1152 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIxE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1153 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIxE; .scl 13; .tag 11_Is_integerIxE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:1155 compiler error, badly formed #.def (internal line # = 2812) line: #.def .eos; .val 1; .scl 102; .tag 11_Is_integerIyE; .size 1; .endef mips-tfile, /tmp//ccnFchPc.s:1156 compiler error, badly formed #.def (internal line # = 2812) line: #.def 11_Is_integerIyE; .scl 13; .tag 11_Is_integerIyE; .size 1; .type 0x8; .endef mips-tfile, /tmp//ccnFchPc.s:2538 Segmentation fault line: .long 0x0 Environment: System: OSF1 alpha V5.1 2650 alpha Machine: alpha host: alphaev68-dec-osf5.1 build: alphaev68-dec-osf5.1 target: alphaev68-dec-osf5.1 configured with: ../gcc-3.4.3/configure --enable-languages=c,c++ --enable-threads --disable-nls How-To-Repeat: On an alpha system, do this: echo "#include <iostream>" > x.C g++ -c -gcoff x.C After cutting down the preprocessor output, the smallest input file I've found that will yield errors like the above when compiling with -gcoff is template<class _Tp> struct __type_traits { }; template<> struct __type_traits<bool> { }; ------- Additional Comments From dsanderson at panasas dot com 2005-03-04 21:27 ------- Fix: The only workaround I've found so far is to drop the -gcoff option. I was using the -gcoff option to try to get debug information that the Tru64 dbx could use. -- Summary: Tru64 assembler cores for 3.4.3 g++ -gcoff of #include <iostream> Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dsanderson at panasas dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: alphaev68-dec-osf5.1 GCC host triplet: alphaev68-dec-osf5.1 GCC target triplet: alphaev68-dec-osf5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20324