pkgsrc-Users archive

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

Re: parallel/openmp: requires alloca fix?



On Sat, Jul 23, 2022 at 09:58:45PM +0530, Mayuresh wrote:
> When using libgomp to build wip/py-torch I get:
> 
>     ld: /usr/pkgsrc/work/wip/py-torch/work/.buildlink/lib/libgomp.so: warning: Warning: reference to the libc supplied alloca(3); this most likely will not work. Please use the compiler provided version of alloca(3), by supplying the appropriate compiler flags (e.g. not -std=c89).
> 

This solves the issue. Please consider this patch for
parallel/openmp/Makefile:

     BUILDLINK_TRANSFORM.NetBSD+=    opt:-std=c++14:-std=gnu++14 # alloca

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index