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

            Bug ID: 81732
           Summary: Error: Architecture mismatch on "rd".
           Product: gcc
           Version: 7.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mfe at live dot de
  Target Milestone: ---

the exact version of GCC:
gcc-7.1.0

the system type:
NetgearReadyNAS Duo
(http://wiki.dietpc.org/index.php/DIET-PC_on_SPARC_ReadyNAS)

the options given when GCC was configured/built:
gcc-7.1.0-compiled# ../gcc-7.1.0/configure CC=/opt/gcc-4.6/bin/gcc
CXX=/opt/gcc-4.6/bin/g++ --enable-languages=c,c++ --prefix=/opt/gcc-7.1 
--with-cpu=v7 --with-mpc=/usr/local  --with-mpfr=/usr/local
--with-gmp=/usr/local --with-isl=/usr/local/ --disable-libstdcxx-pch
--disable-linux-futex --disable-libsanitizer --enable-__cxa_atexit
--with-system-zlib --enable-nls --enable-clocale=gnu --enable-debug 
--disable-doc

the compiler output (error messages, warnings, etc.);
[...]
/../../gcc-7.1.0/libcilkrts/runtime/config/sparc/os-unix-sysdep.c  -fPIC -DPIC
-o .libs/os-unix-sysdep.o
/tmp/ccmVqkfg.s: Assembler messages:
/tmp/ccmVqkfg.s:15: Error: Architecture mismatch on "rd".
/tmp/ccmVqkfg.s:15:  (Requires v9|v9a|v9b; requested architecture is
sparclite.)
/tmp/ccmVqkfg.s:16: Error: Architecture mismatch on "srlx".
/tmp/ccmVqkfg.s:16:  (Requires v9|v9a|v9b; requested architecture is
sparclite.)
/tmp/ccmVqkfg.s:34: Error: Architecture mismatch on "rd".
/tmp/ccmVqkfg.s:34:  (Requires v9|v9a|v9b; requested architecture is
sparclite.)
/tmp/ccmVqkfg.s:37: Error: Architecture mismatch on "rd".
/tmp/ccmVqkfg.s:37:  (Requires v9|v9a|v9b; requested architecture is
sparclite.)
/tmp/ccmVqkfg.s:40: Error: Architecture mismatch on "rd".
/tmp/ccmVqkfg.s:40:  (Requires v9|v9a|v9b; requested architecture is
sparclite.)
/tmp/ccmVqkfg.s:43: Error: Architecture mismatch on "rd".
/tmp/ccmVqkfg.s:43:  (Requires v9|v9a|v9b; requested architecture is
sparclite.)
make[2]: *** [Makefile:684: os-unix-sysdep.lo] Error 1
make[2]: Leaving directory
'/c/media/gcc-7.1.0-compiled/sparc-unknown-linux-gnu/libcilkrts'
make[1]: *** [Makefile:15512: all-target-libcilkrts] Error 2
make[1]: Leaving directory '/c/media/gcc-7.1.0-compiled'

Is there a way to disable "libcilkrts" ?

Reply via email to