id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3678,Build failure on SPARC64 architecture,churanov.port.maintainer@…,Peter Dimov,"Boost 1.40.0 fail to build on SPARC64 machines. The issue arises when code of smart_ptr is assembled. The ""boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp"" file contains SPARC-specific assembly for atomic compare-and-swap implementation and assembler rejects the code generated by the compiler out of that function. The generated code contains a ""cas"" instruction where first operand is a memory reference with complex addressing (register and offset). According to the SPARC v9 manual only register containing stored address may go there. The patch for the issue was created, but a single test in ""libs/smart_ptr/test"" fails. The patch is at http://alexanderchuranov.com/boost-port/boost-1.41-sparc64/patch-boost_smart_ptr_detail_sp_counted_base_gcc_sparc.hpp [[BR]] The bjam test log is at http://alexanderchuranov.com/boost-port/boost-1.41-sparc64/bjam-smart-ptr-test.log Environment: Operating system - FreeBSD 8.0-BETA4 sparc64 [[BR]] Compiler - c++ (GCC) 4.2.1 20070719 [FreeBSD] [[BR]] Assembler - GNU assembler 2.15 [FreeBSD] 2004-05-23 [[BR]] ",Bugs,closed,Boost 1.42.0,smart_ptr,Boost 1.41.0,Showstopper,fixed,,