pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/54298: devel/glib2 fails to build
The following reply was made to PR pkg/54298; it has been noted by GNATS.
From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/54298: devel/glib2 fails to build
Date: Tue, 25 Jun 2019 10:12:44 +0100
On Mon, Jun 24, 2019 at 03:40:01AM +0000, John D. Baker wrote:
> prlw1%NetBSD.org@localhost writes:
>
> > Could you try the __sync_bool_compare_and_swap test and send the
>
> On NetBSD/sparc-7.2_STABLE, the test file compiles without complaint.
I need help with this part: meson checks for
__sync_bool_compare_and_swap. You find that this compiles without
complaint, so meson is right to set G_ATOMIC_LOCK_FREE.
glib then also tests for __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 and
fails if it isn't defined.
What is the relationship between __sync_bool_compare_and_swap() and
the macro __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4?
(I'll try to paper over this by making meson also test for the macro.)
Home |
Main Index |
Thread Index |
Old Index