| Just received my first RPi and wanted to try using SC on it. I’m following the build instructions here: I’m building on the device itself, and I am trying to use the clang that is available via apt-get install clang My configure command is therefore: CC="clang" CXX="clang++" cmake -L -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DSSE=OFF -DSSE2=OFF -DSUPERNOVA=OFF -DNOVA_SIMD=ON -DNATIVE=OFF -DSC_QT=OFF -DSC_WII=OFF -DSC_ED=OFF -DSC_IDE=OFF -DSC_EL=ON -DCMAKE_C_FLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard" -DCMAKE_CXX_FLAGS="-march=armv6 -mfpu=vfp -mfloat-abi=hard" .. According to the log messages, the version of clang I have is 3.0.0. This works, but during compilation, the assembler is issuing the following warnings: [ 3%] Building CXX object external_libraries/CMakeFiles/boost_thread.dir/boost/libs/thread/src/pthread/thread.cpp.o /tmp/thread-ECGJ19.s: Assembler messages: /tmp/thread-ECGJ19.s:1337: rdhi, rdlo and rm must all be different /tmp/thread-ECGJ19.s:1440: rdhi, rdlo and rm must all be different /tmp/thread-ECGJ19.s:1468: rdhi, rdlo and rm must all be different /tmp/thread-ECGJ19.s:1469: Rd and Rm should be different in mla /tmp/thread-ECGJ19.s:1493: rdhi, rdlo and rm must all be different /tmp/thread-ECGJ19.s:3775: Rd and Rm should be different in mul /tmp/thread-ECGJ19.s:3872: Rd and Rm should be different in mul /tmp/thread-ECGJ19.s:3972: Rd and Rm should be different in mul /tmp/thread-ECGJ19.s:5890: Rd and Rm should be different in mul /tmp/thread-ECGJ19.s:6981: Rd and Rm should be different in mul /tmp/thread-ECGJ19.s:7318: Rd and Rm should be different in mul /tmp/thread-ECGJ19.s:7411: Rd and Rm should be different in mul /tmp/thread-ECGJ19.s:7507: Rd and Rm should be different in mul The compiler isn’t bailing out, but I’m wondering if this is worthy of filing a bug on clang’s arm backend. Has anybody else attempted to use clang to build SC for Raspberry Pi? - Patrick |