Tested wanted: BSD-licensed libgcc replacement, libcompiler_rt

Rene Ladan rene at freebsd.org
Mon Oct 25 14:05:49 UTC 2010


On 22-10-2010 16:30, Ed Schouten wrote:
> Hello everyone,
> 
> At EuroBSDCon I was talking with some committers active in the area of
> Clang (brooks, kwm, others) about replacing our libgcc shipped with GCC
> 4.2.1 with a BSD-licensed version. The LLVM folks have a BSD licensed
> implementation called libcompiler_rt. See:
> 
> 	http://compiler-rt.llvm.org/
>
[...]
 > I've created a branch in Subversion which replaces libgcc.a and
> libgcc_p.a with libcompiler_rt.a and libcompiler_rt_p.a and symlinks it
> to the original names. It seems to survive a `make universe' and it
> works properly on at least amd64.
[...]
> How to test this:
> 
> - Check out the branch from SVN:
> 	svn co svn://svn.freebsd.org/base/user/ed/compiler-rt/
> - Rebuild and reinstall world (and kernel).
> - Rebuild all your software (yes, I know it's unfortunate).
> - See whether software crashes or misbehaves, while it didn't do that
>   previously.
> 
I noticed that the nvidia driver (from ports/x11/nvidia-driver*) needs
to be recompiled after upgrading from HEAD to this branch. If you don't,
it will load, but cause a panic when used by X.

Rene


More information about the freebsd-current mailing list