On 2019/01/07 16:42, 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?
> 
> -- 
> Antoine
> 

This is the one landry ran into the other day I think?

I've seen similar before where an autoconf script does a test compile
(to a .o) but doesn't try linking and/or running it so the error doesn't
show up.

Reply via email to