Re: devel/glib20 build issue

2020-12-09 Thread Kristof Provost
On 19 Nov 2020, at 11:59, Dimitry Andric wrote: On 19 Nov 2020, at 11:57, Kristof Provost wrote: While trying to build assorted ports on RISC-V I found that devel/glib20 doesn’t build. It turns out to be due to a missing __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 define. That define is implicitly

devel/glib20 build issue

2020-11-19 Thread Kristof Provost
Hi, While trying to build assorted ports on RISC-V I found that devel/glib20 doesn’t build. It turns out to be due to a missing __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 define. That define is implicitly set by the toolchain. Or, at least, it is on other platforms (ARM, MIPS, x86, …), but not on

Re: devel/glib20 build issue

2020-11-19 Thread Kristof Provost
On 19 Nov 2020, at 11:59, Dimitry Andric wrote: On 19 Nov 2020, at 11:57, Kristof Provost wrote: While trying to build assorted ports on RISC-V I found that devel/glib20 doesn’t build. It turns out to be due to a missing __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 define. That define is implicitly