On Fri, Apr 10, 2020 at 07:34:21PM -0600, Todd C. Miller wrote: > On Fri, 10 Apr 2020 18:17:33 -0700, Andrew Hewus Fresh wrote: > > > Recently it was pointed out that we don't link /usr/lib/libperl.so.* to > > libm the way is expected for code that also links to libperl. That led > > me to go digging again into the customization we have around the perl > > build and getting terribly confused. That did somewhat clear up after > > reading more about bsd.*.mk, but still feel like some of this mess was > > to make the vax work, but I couldn't actually figure it out from the cvs > > logs why it exists. > > The way OpenBSD builds is that the libraries are built and installed > first, then the binaries that link against those binaries get built > and linked against the new libs. This guarantees that we don't > link new binaries against the old libs.
I was so confused, had to rebuild with and without and compare logs, and it didn't seem like this was happening for libperl. Then I figured out it stopped happening for libperl a while back. So, it does seem like we shouldn't need all this code anymore. http://cvsweb.openbsd.org/src/Makefile?rev=1.92&content-type=text/x-cvsweb-markup http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/Makefile.diff?r1=1.91&r2=1.92&f=h https://github.com/openbsd/src/commit/7c8333e2365b13cb84a047094edcf2469959cffa l8rZ, -- andrew - http://afresh1.com Instructions are just another man's opinion of how to do something. -- Weldboy #DPWisdom
