id summary reporter owner description type status milestone component version severity resolution keywords cc 1758 Boost 1.35 fails to build under gcc 3.4 unix Solaris jgottman@… Peter Dimov "When I tried to build the boost libraries under gcc 3.4 unix Solaris, I repeatedly got an error message that looked like {{{ /var/tmp//ccdt31Ke.s: Assembler messages: /var/tmp//ccdt31Ke.s:619: Error: Architecture mismatch on ""cas"". /var/tmp//ccdt31Ke.s:619: (Requires v9|v9a|v9b; requested architecture is v8.) }}} I traced the problem to the following lines in : {{{ #elif defined(__GNUC__) && ( defined( __sparcv8 ) || defined( __sparcv9 ) ) # include }}} which call the following command: {{{ __asm__ __volatile__( ""cas %0, %2, %1"" : ""+m"" (*dest_), ""+r"" (swap_) : ""r"" (compare_) : ""memory"" ); }}} It looks like __sparcv8 is not sufficient to call this command, only __sparcv9 is. Note also the is apparantly never included. Joe Gottman " Patches closed Boost 1.37.0 smart_ptr Boost 1.35.0 Showstopper fixed