https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93277

            Bug ID: 93277
           Summary: powerpc64*-linux doesn't bootstrap after switch to git
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

Current bootstrap fails on powerpc64*linux due to the following error:

/usr/bin/ld:libstdc++-symbols.ver:774: syntax error in VERSION script
collect2: error: ld returned 1 exit status

I can confirm that the last svn revision builds fine, so the error occurred
after the switch to git.

Looking at the differences between libstdc++-symbols.ver between the svn build
and the git build, it looks like some of the symbols defs have been placed in
the wrong part of the file, leading to the syntax errors:

---
gcc-fsf-mainline-base-svn-test/powerpc64le-linux/libstdc++-v3/src/libstdc++-symbols.ver
    2020-01-15 11:22:35.323772108 -0600
+++
gcc-fsf-mainline-base-test/powerpc64le-linux/libstdc++-v3/src/libstdc++-symbols.ver
2020-01-15 08:23:14.635215301 -0600
@@ -771,6 +771,46 @@
     _ZNSt6locale5_Impl19_M_replace_categoryEPKS0_PKPKNS_2idE;
     _ZNSt6locale5_Impl21_M_replace_categoriesEPKS0_i;
     _ZSt18uncaught_exceptionv;
+GLIBCXX_LDBL_3.4 {
+  _ZNSt14numeric_limitsIgE*;
+  _ZNSirsERg;
+  _ZNSolsEg;
+  _ZNSt13basic_istreamIwSt11char_traitsIwEErsERg;
+  _ZNSt13basic_ostreamIwSt11char_traitsIwEElsEg;
+  _ZSt14__convert_to_vIgEvPKcRT_RSt12_Ios_IostateRKP*;
+ 
_ZStlsIg[cw]St11char_traitsI[cw]EERSt13basic_ostreamIT0_T1_ES6_RKSt7complexIT_E;
+ 
_ZStrsIg[cw]St11char_traitsI[cw]EERSt13basic_istreamIT0_T1_ES6_RSt7complexIT_E;
+  *__gnu_cxx_ldbl128[1-6]*;
+  *St9has_facetINSt17__gnu_cxx_ldbl1287*;
+  *St9use_facetINSt17__gnu_cxx_ldbl1287*;
+ 
*__gnu_cxx_ldbl1287num_getI[cw]St19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEE[CD][0-2]E?;
+ 
*__gnu_cxx_ldbl1287num_getI[cw]St19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEE2idE;
+ 
*__gnu_cxx_ldbl1287num_getI[cw]St19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEEE;
+  *__gnu_cxx_ldbl1287num_getI[cw]*getE*;
+  *__gnu_cxx_ldbl1287num_getI[cw]*14_M_extract_intI*;
+  *__gnu_cxx_ldbl1287num_getI[cw]*16_M_extract_floatE*;
+  *__gnu_cxx_ldbl1287num_putI[cw]*;
+  *__gnu_cxx_ldbl128[8-9]*;
+};
+GLIBCXX_LDBL_3.4.7 {
+  _ZNSi10_M_extractIgEERSiRT_;
+  _ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractIgEERS2_RT_;
+  _ZNSo9_M_insertIgEERSoT_;
+  _ZNSt13basic_ostreamIwSt11char_traitsIwEE9_M_insertIgEERS2_T_;
+} GLIBCXX_LDBL_3.4;
+GLIBCXX_LDBL_3.4.10 {
+  _ZNKSt3tr14hashIgEclEg;
+  _ZNKSt4hashIgEclEg;
+} GLIBCXX_LDBL_3.4.7;
+GLIBCXX_LDBL_3.4.21 {
+  __gnu_cxx_ldbl1287num_getI[cw]*14_M_extract_intB5cxx11*;
+  __gnu_cxx_ldbl1287num_getI[cw]*16_M_extract_floatB5cxx11*;
+} GLIBCXX_LDBL_3.4.10;
+CXXABI_LDBL_1.3 {
+  _ZT[IS]g;
+  _ZT[IS]Pg;
+  _ZT[IS]PKg;
+};
   local:
     *;
 };
@@ -1850,43 +1890,3 @@
   global:
     __cxa_tm_cleanup;
 };
-GLIBCXX_LDBL_3.4 {
-  _ZNSt14numeric_limitsIgE*;
-  _ZNSirsERg;
-  _ZNSolsEg;
-  _ZNSt13basic_istreamIwSt11char_traitsIwEErsERg;
-  _ZNSt13basic_ostreamIwSt11char_traitsIwEElsEg;
-  _ZSt14__convert_to_vIgEvPKcRT_RSt12_Ios_IostateRKP*;
- 
_ZStlsIg[cw]St11char_traitsI[cw]EERSt13basic_ostreamIT0_T1_ES6_RKSt7complexIT_E;
- 
_ZStrsIg[cw]St11char_traitsI[cw]EERSt13basic_istreamIT0_T1_ES6_RSt7complexIT_E;
-  *__gnu_cxx_ldbl128[1-6]*;
-  *St9has_facetINSt17__gnu_cxx_ldbl1287*;
-  *St9use_facetINSt17__gnu_cxx_ldbl1287*;
- 
*__gnu_cxx_ldbl1287num_getI[cw]St19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEE[CD][0-2]E?;
- 
*__gnu_cxx_ldbl1287num_getI[cw]St19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEE2idE;
- 
*__gnu_cxx_ldbl1287num_getI[cw]St19istreambuf_iteratorI[cw]St11char_traitsI[cw]EEEE;
-  *__gnu_cxx_ldbl1287num_getI[cw]*getE*;
-  *__gnu_cxx_ldbl1287num_getI[cw]*14_M_extract_intI*;
-  *__gnu_cxx_ldbl1287num_getI[cw]*16_M_extract_floatE*;
-  *__gnu_cxx_ldbl1287num_putI[cw]*;
-  *__gnu_cxx_ldbl128[8-9]*;
-};
-GLIBCXX_LDBL_3.4.7 {
-  _ZNSi10_M_extractIgEERSiRT_;
-  _ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractIgEERS2_RT_;
-  _ZNSo9_M_insertIgEERSoT_;
-  _ZNSt13basic_ostreamIwSt11char_traitsIwEE9_M_insertIgEERS2_T_;
-} GLIBCXX_LDBL_3.4;
-GLIBCXX_LDBL_3.4.10 {
-  _ZNKSt3tr14hashIgEclEg;
-  _ZNKSt4hashIgEclEg;
-} GLIBCXX_LDBL_3.4.7;
-GLIBCXX_LDBL_3.4.21 {
-  __gnu_cxx_ldbl1287num_getI[cw]*14_M_extract_intB5cxx11*;
-  __gnu_cxx_ldbl1287num_getI[cw]*16_M_extract_floatB5cxx11*;
-} GLIBCXX_LDBL_3.4.10;
-CXXABI_LDBL_1.3 {
-  _ZT[IS]g;
-  _ZT[IS]Pg;
-  _ZT[IS]PKg;
-};

Reply via email to