On Tue, Jun 01, 2010 at 10:46:54AM +1000, Lawrence Stewart wrote: > On 06/01/10 09:25, James R. Van Artsdalen wrote: > [snip interesting history] > > >I do suggest modifying the FreeBSD build process so that uname -a shows > >the compiler and its version for both the kernel and userland. > > Reading through this discussion, I wanted to draw attention to this > footnote in James' email. It sounds like a sensible and useful > suggestion that would go some way to addressing Kostik's concerns about > knowing whether a kernel bug report was related to a gcc or clang built > kernel. This is unsufficient. What could work is if clang provided some common symbol into all .o files generated by it, e.g. __clang_compiled. And then kernel considered tainted with corresponding banner printed when weak reference to that symbol is resolved to non-zero. This does not handle modules and does not cleanly handle usermode runtime (libc, libthr, rtld etc). I do not care about users busting their systems by using alternative compilers and/or mixed builds. I worry about wasting developers time chasing bugs that are not bugs in the FreeBSD system. As an example see low-visible thread about sig11 during buildworld.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC