clang built kernel runs on qemu

2020-02-04 Thread rgc
ppc@ here's a quick n dirty update about macppc and clang after checking out the specs i agree with George's assertions about the validity of the different code generated by clang [Subject: Re: clang build kernel traps] so i gave everything a try again with his patches. a) applied a base-clang

Re: clang built kernel runs on qemu

2020-02-04 Thread rgc
On Tue, Feb 04, 2020 at 10:23:09PM +0900, rgc wrote: > ppc@ > > here's a quick n dirty update about macppc and clang > : > : > when a full backup finishes. i'll run a GENERIC kernel on my G4. a) clang-compiled kernel and gcc-compiled (stock) ofwboot NG stops after initializing Jasper b) clang-c

Re: clang built kernel runs on qemu

2020-02-04 Thread George Koehler
On Tue, 4 Feb 2020 22:23:09 +0900 rgc wrote: > a) applied a base-clang patch from George Koehler > [Subject: [ports] [macppc] devel/llvm: add clang -msvr4-struct-return] > > ls -la `which clang` > -r-xr-xr-x 3 root bin 52656676 Feb 4 18:47 /usr/bin/clang* Here is a copy of the base-clang pa