tech-pkg archive

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

Re: GCC_REQD, the NetBSD system compiler, etc



On Thu, Sep 23, 2021 at 11:23:14AM +0200, Edgar Fuß wrote:
> > I don't understand this part - which gcc version is later than what?
> If you build a newer pkgsrc gcc (with base gcc or another pkgsrc gcc), 
> dependencies built on the way are built with the old gcc, which may lead 
> to libstd++-mixing hell. So you would need to build them with a different 
> PREFIX, discard them when the new gcc has been built and start over.

Oh - duh.

Would it be enough to do a regular pkg build of the new compiler, then
check the .so version of libstdc++ used by that compiler, run a script
to find all uses of older libstdc++ in PREFIX and show a pkg_delete -r
invocation that would kill all those pkgs? (And left as an exercise: use
the users prefered update method to get new versions of the updated pkgs
back, if needed).

Or do we end up with mixed libstdc++ in the new gcc pkg already?

Martin


Home | Main Index | Thread Index | Old Index