tech-pkg archive

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

Re: Fixing print/qpdf on NetBSD/i386



Dear all,

Thanks for the replies both on- and off-list!

On 2020-12-15, nia wrote:
> On Mon, Dec 14, 2020 at 06:49:17PM -0500, Greg Troxel wrote:
> > 
> > Yorick Hardy <yorickhardy%gmail.com@localhost> writes:
> 
> > > Any ideas on how to fix this correctly?
> 
> No 64-bit atomic ops on i386?
> All over pkgsrc we have the following hack:
> 
> .if ${MACHINE_ARCH} == "i386"
> CFLAGS/CXXFLAGS+=	-march=i586
> .endif
> 
> .if ${MACHINE_ARCH} == "powerpc"
> .include "../../devel/libatomic/buildlink3.mk"
> .endif

Thanks! I will grep through pkgsrc to see how common this
is, it seems to be the easiest path and ...

> > What did upstream say when you raised the issue with them?
> 
> "Who builds C++ code for an 386/486 in 2020?"? The remaining Linux
> distributions supporting 32-bit x86 are i686 at least.

I have not raised it yet (I hoped to find the "right" solution first)
but I was anticipating such a response! Fortunately my "386" machines
can support 64 bit atomic operations, with the suggested flags.

-- 
Kind regards,

Yorick Hardy


Home | Main Index | Thread Index | Old Index