http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50822

             Bug #: 50822
           Summary: [4.7 regression] Solaris/SPARC bootstrap failure with
                    Sun as: invalid assembler for ios_init.cc
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: r...@gcc.gnu.org
                CC: ebotca...@gcc.gnu.org
              Host: sparc-sun-solaris2*
            Target: sparc-sun-solaris2*
             Build: sparc-sun-solaris2*


Between 20111014 and 20111021,Solaris/SPARC bootstrap with Sun as got broken
compiling the stage1 libstdc++:

> /var/gcc/regression/trunk/11-gcc/build/./gcc/xgcc -shared-libgcc 
> -B/var/gcc/regression/trunk/11-gcc/build/./gcc -nostdinc++ 
> -L/var/gcc/regression/trunk/11-gcc/build/sparc-sun-solaris2.11/libstdc++-v3/src
>  
> -L/var/gcc/regression/trunk/11-gcc/build/sparc-sun-solaris2.11/libstdc++-v3/src/.libs
>  -B/vol/gcc/sparc-sun-solaris2.11/bin/ -B/vol/gcc/sparc-sun-solaris2.11/lib/ 
> -isystem /vol/gcc/sparc-sun-solaris2.11/include -isystem 
> /vol/gcc/sparc-sun-solaris2.11/sys-include 
> -I/var/gcc/regression/trunk/11-gcc/build/sparc-sun-solaris2.11/libstdc++-v3/include/sparc-sun-solaris2.11
>  
> -I/var/gcc/regression/trunk/11-gcc/build/sparc-sun-solaris2.11/libstdc++-v3/include
>  -I/vol/gcc/src/hg/trunk/local/libstdc++-v3/libsupc++ -fno-implicit-templates 
> -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once 
> -ffunction-sections -fdata-sections -frandom-seed=ios_init.lo -g -O2 -c 
> /vol/gcc/src/hg/trunk/local/libstdc++-v3/src/ios_init.cc  -fPIC -DPIC -o 
> .libs/ios_init.o -save-temps
/usr/bin/as: "ios_init.s", line 14123: error: symbol
"_ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEEC2EP6__FILESt13_Ios_Openmodej"
is used but not defined
/usr/bin/as: "ios_init.s", line 14123: error: symbol
"_ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEEC2EP6__FILESt13_Ios_Openmodej"
is used but not defined
/usr/bin/as: "ios_init.s": , approx line 14123: internal error:
evaluate_symbol_expression(): op 48?

In fact, both symbols are used, but not defined:

   
_ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEEC1EP6__FILESt13_Ios_Openmodej
=
_ZN9__gnu_cxx13stdio_filebufIcSt11char_traitsIcEEC2EP6__FILESt13_Ios_Openmodej
   
_ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEEC1EP6__FILESt13_Ios_Openmodej
=
_ZN9__gnu_cxx13stdio_filebufIwSt11char_traitsIwEEC2EP6__FILESt13_Ios_Openmodej

gas can cope with that, Sun as cannot.  I'll have to start a reghunt for the
culprit patch.

  Rainer

Reply via email to