> On 06/12/13 3:26 PM, Brad Smith wrote: >> On 05/12/13 3:35 AM, Brad Smith wrote: >>> Here is a work in progress update to LLVM 3.4. This has only been lightly >>> tested on amd64. I need this build tested on i386, powerpc, sparc64 and >>> mips64 to start off. If you have such an arch please try building it as >>> soon as possible as I'd like to report any issues upstream if there are >>> any. Any runtime testing feedback would also be appreciated. >> >> Still looking for build tests for sparc64 and mips64. > > and mips64?
I built it as well on my loongson (it took about 18 hours). A simple C "hello world" compiles, links and runs fine. However, trying to compile base vi(1) with clang gives this: ===> build clang -O2 -pipe -I/usr/src/usr.bin/vi/build -I/usr/src/usr.bin/vi/build/../include -c /usr/src/usr.bin/vi/build/../cl/cl_bsd.c clang -O2 -pipe -I/usr/src/usr.bin/vi/build -I/usr/src/usr.bin/vi/build/../include -c /usr/src/usr.bin/vi/build/../cl/cl_funcs.c /tmp/cl_funcs-556884.s: Assembler messages: /tmp/cl_funcs-556884.s:43: Error: opcode not supported on this processor: mips3 (mips3) `movn $1,$7,$8' /tmp/cl_funcs-556884.s:620: Error: opcode not supported on this processor: mips3 (mips3) `movn $3,$5,$1' clang-3.4: error: assembler command failed with exit code 1 (use -v to see invocation) *** Error 1 in build (<sys.mk>:87 'cl_funcs.o') *** Error 1 in /usr/src/usr.bin/vi (<bsd.subdir.mk>:48 'all') Still, it looks like things are improving for mips64. "make test" needs a few more hours...