On 2019/01/07 16:57, Matthieu Herrb wrote:
> On Mon, Jan 07, 2019 at 04:42:26PM +0100, Antoine Jacoutot wrote:
> > On Mon, Jan 07, 2019 at 04:35:51PM +0100, Matthieu Herrb wrote:
> > > Hi,
> > > 
> > > Trying to build some ports on macppc, glib2 is now broken:
> > > 
> > > FAILED: glib/4430778@@glib-2.0@sha/gatomic.c.o
> > > cc -Iglib/4430778@@glib-2.0@sha -Iglib -I../glib-2.58.2/glib -I. 
> > > -I../glib-2.58.2/ -I/usr/local/include -pipe -D_FILE_OFFSET_BITS=64 
> > > -std=gnu89 -D_GNU_SOURCE -fno-strict-aliasing -Wall -Wstrict-prototypes 
> > > -Wunused -Wno-bad-function-cast -Werror=declaration-after-statement 
> > > -Werror=format=2 -Werror=implicit-function-declaration -Werror=init-self 
> > > -Werror=missing-include-dirs -Werror=missing-prototypes 
> > > -Werror=pointer-arith -O2 -g -fPIC -pthread '-DG_LOG_DOMAIN="GLib"' 
> > > -DGLIB_COMPILATION -fvisibility=hidden  -MD -MQ 
> > > 'glib/4430778@@glib-2.0@sha/gatomic.c.o' -MF 
> > > 'glib/4430778@@glib-2.0@sha/gatomic.c.o.d' -o 
> > > 'glib/4430778@@glib-2.0@sha/gatomic.c.o' -c ../glib-2.58.2/glib/gatomic.c
> > > ../glib-2.58.2/glib/gatomic.c:675:2: error: #error G_ATOMIC_LOCK_FREE 
> > > defined, but incapable of lock-free atomics.
> > > ninja: build stopped: subcommand failed.
> > 
> > Probably a broken test at configure time?
> 
> The full log is here : http://herrb.eu/glib2-2.58.2p0.log
> 
> Intesting lines:
> 
> meson.build:1534: WARNING: Unknown host cpu: macppc
> Checking if "atomic ops" links: YES
> 
> -- 
> Matthieu Herrb
> 

You should have ${WRKDIR}/build-*/meson-logs/meson-log.txt with the results
of the compiler tests, which may give a clue ..

Reply via email to