tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: USE_PKGSRC_GCC_RUNTIME
> 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/libgmpxx.so.4.5.2 gives
/usr/pkg/lib/libgmpxx.so.4.5.2:
[...]
-lstdc++.7 => /usr/pkg/gcc6//lib/./libstdc++.so.7
[...]
If I set USE_PKGSRC_GCC_RUNTIME=YES, the resulting package does depend on
gcc6-libs, and ldd gives/usr/pkg/lib/libgmpxx.so.4.5.2:
[...]
-lstdc++.7 => /usr/pkg/gcc6/x86_64--netbsd/lib/./libstdc++.so.7
[...]
So (apart from the // and /./ weirdness) NOT setting the option gives a broken
package (/usr/pkg/gcc6/lib/libstdc++.so.7 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/libstdc++.so.7 belongs to gcc6-libs).
Home |
Main Index |
Thread Index |
Old Index