tech-pkg archive

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


> It instructs pkgsrc to build packages against the gcc*-libs packages,
> otherwise there is a full dependency on the main gcc* packages.
I'm afraid this is, in fact, not the case.

If I build gmp (with GCC 6) without USE_PKGSRC_GCC_RUNTIME, the package depends 
on neither gcc6 nor gcc6-libs, and ldd /usr/pkg/lib/ gives
        -lstdc++.7 => /usr/pkg/gcc6//lib/./
If I set USE_PKGSRC_GCC_RUNTIME=YES, the resulting package does depend on 
gcc6-libs, and ldd gives/usr/pkg/lib/
        -lstdc++.7 => /usr/pkg/gcc6/x86_64--netbsd/lib/./

So (apart from the // and /./ weirdness) NOT setting the option gives a broken 
package (/usr/pkg/gcc6/lib/ belongs to gcc6, but there's no 
dependency on it), while setting the option gives a working package 
(/usr/pkg/gcc6/x86_64--netbsd/lib/ belongs to gcc6-libs).

Home | Main Index | Thread Index | Old Index