On Gentoo gcc 6 defaults to PIE and that generates and ton of error: code model kernel does not support PIC mode Throwing in a general -fno-pie does not seem to be the right fix either. Maybe iPXE should start specifying -fno-pie where needed? What about other gcc options like __FORTIFY__ ? Jocke