News for hackers. Stuff that matters.
Re:Kernel RCE in iOS/macOS with ICMP by pcwalton on Wednesday October 31, 2018 @09:20PM (#18350715)
> I find it to be an extremely sad state of affairs when it requires scouring the internet for a blog post from a Darwin engineer to build an outdated XNU :(

Large projects at companies tend to be hard to build, simply because it takes a lot of effort to make the build system for something so complex easy. If community contributions aren't particularly valued (which they aren't for XNU), then it's hard to internally justify spending the effort. Linux hackers are spoiled…

XNU isn't even one of the worst offenders. Try compiling Google's Skia, for example…

Re:Kernel RCE in iOS/macOS with ICMP by lunixbochs on Wednesday October 31, 2018 @09:49PM (#18350877)
Really? I found Skia easier to compile than actually use.
Re:Kernel RCE in iOS/macOS with ICMP by pjmlp on Thursday November 01, 2018 @05:27AM (#18352324)
One needs to duplicate Google's build infrastructure, which is quite a pain versus other open source projects that rely on more mainstream tooling.
Re:Kernel RCE in iOS/macOS with ICMP by hoaw on Thursday November 01, 2018 @07:42AM (#18352985)
Which would be fine if they provided some straight forward way to replicate that (like a container). It really seems like open source doesn't have that high of a standing at Google (anymore?). I guess limiting hardware manufacturers use of open source, not spending time making sure other people can build open source code, is what gives you the promotion these days
Re:Kernel RCE in iOS/macOS with ICMP by pcwalton on Wednesday October 31, 2018 @11:10PM (#18351183)
It's probably gotten better lately. A few years ago it took me several days to get it built.
Re:Kernel RCE in iOS/macOS with ICMP by pjmlp on Thursday November 01, 2018 @05:22AM (#18352308)
So it is not only me.

On my case I ended up giving up and went back to Qt.

Re:Kernel RCE in iOS/macOS with ICMP by slimsag on Wednesday October 31, 2018 @10:48PM (#18351104)
I also found this to be true when I tried to use Skia.
Re:Kernel RCE in iOS/macOS with ICMP by sigjuice on Wednesday October 31, 2018 @09:55PM (#18350896)
I don’t see why compiling XNU needs to be more complicated than 1. install the compiler (easy to do just by typing ‘cc’ on a pristine Mac) 2. Type ‘make’
Re:Kernel RCE in iOS/macOS with ICMP by pcwalton on Wednesday October 31, 2018 @10:29PM (#18351049)
It doesn't need to be that more complicated, but build systems inevitably have a way of needing at least one full time engineer to get them to the point of being that nice to use.
Re:Kernel RCE in iOS/macOS with ICMP by setquk on Thursday November 01, 2018 @03:53AM (#18352020)
That’s not how software teams work unfortunately.

There’s probably three build systems and none of them work on certain days of the week and the guy who wrote it all left six months ago.

Re:Kernel RCE in iOS/macOS with ICMP by saagarjha on Thursday November 01, 2018 @03:57AM (#18352030)
For XNU? Doubt it. It's probably all on XBS and has multiple people maintaining the build system.
Re:Kernel RCE in iOS/macOS with ICMP by setquk on Thursday November 01, 2018 @07:53AM (#18353054)
Sorry I forgot the /s on the end of that.