tech-pkg archive

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

Re: Stupid libatomic dependencies



On Sun, 22 May 2022 21:57:52 +0200
Martin Husemann <martin%duskware.de@localhost> wrote:

> Hey folks,
> 
> I see this on macppc with NetBSD-current:
> 
> => Returning to build of ffmpeg5-5.0.1nb1
> => Full dependency libxml2>=2.9.13nb1: found libxml2-2.9.14
> => Full dependency libatomic>=10.0: NOT found
> => Verifying update for ../../devel/libatomic
> ===> Skipping vulnerability checks.
> => Bootstrap dependency digest>=20211023: found digest-20220214
> => Fetching gcc-12.1.0.tar.xz
> 
> 
> I understand this is the "plug & play" solution in pkgsrc for papering
> over stupid upstreams that think atomic 64bit operations are a must-have.
> 
> But it is really suprising (and very heavy) in this context.
> 
> Can we avoid it with some cpu option for local builds at least (like it
> is possible for i386)?

ppc doesn't have a 64-bit hardware CAS instruction unlike i586.
This doesn't depend on the whole GCC, just libatomic.so.
This library is not a heavy dependency. It is released as part
of the GCC distfile but that is a one time download.


Home | Main Index | Thread Index | Old Index