FreeBSD 9.1 and how to map the libraries form gcc47?

Konstantin Belousov kostikbel at
Mon Dec 31 17:07:48 UTC 2012

On Mon, Dec 31, 2012 at 10:34:29AM +0100, Paul Maulberger wrote:
> Hi folks,
> I'm using FreeBSD 9.1 Release with custom kernels. Kernel and userland are compiled with the base compiler (gcc 4.2.1).
> My whole project needs a few fast servers. If I compile my own source and libgmp with gcc47 (and optimization for XEON Sandy-Bridge) my executables are significant faster. Compared to gcc42 I would save money as I need fewer servers.
> My first goal is a very stable system, after that a fast one.
> Using the same library in different versions (e.g. /usr/lib/ and /usr/local/lib/gcc47/ makes me a little bit nervous.
> The following links are a good starting point.
> Following '3.2 Adjusting libmap.conf' from the first link I should map all gcc libraries to the new ones. So that every executable (also userland) will use the libraries from gcc47. Is that safe?
The libgcc in base was supposed to be ABI-compatible with the stock
libgcc from the corresponding version of the compiler.

Assuming gcc project keep the ABI stability of the supplied libraries,
it should be fine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <>

More information about the freebsd-performance mailing list