FreeBSD 9.1 and how to map the libraries form gcc47?
kostikbel at gmail.com
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/libgcc_s.so.1 and /usr/local/lib/gcc47/libgcc_s.so.1) 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
Size: 834 bytes
Desc: not available
More information about the freebsd-performance