tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc48-libs vs. gcc48 (gcc48/{x86_64--netbsd/,}lib)

* On 2014-05-21 at 13:20 BST, Edgar Fuß wrote:

> My understanding is that, in order to build a program with gcc 4.8, you need 
> gcc48, but in order to run it, you only need gcc48-libs.
> However, the binary package gcc48 contains gcc48/lib, while that of 
> gcc48-libs 
> contains gcc48/x86_64--netbsd/lib, and I end up with a boost referring to the 
> former, but only the later installed.
> Manually installing gcc48 "fixes" the issue.

The way to fix this is to merge the changes from
gcc47-libs/ up to gcc48-libs too, and then set
USE_PKGSRC_GCC_RUNTIME=yes.  This way the dependency is explicitly
made upon the -libs package rather than relying on dependency

We're also carrying a diff to remove the 'if defined(_USE_GCC_SHLIB)'
section from gcc47/, which may still be required too.

Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index