After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 458025 - glib/gthread.h:335: error: cannot convert 'volatile gsize*' to 'void* volatile*' for argument '1' to 'void* g_atomic_pointer_get(void* volatile*)'
glib/gthread.h:335: error: cannot convert 'volatile gsize*' to 'void* volatil...
Status: RESOLVED DUPLICATE of bug 457641
Product: glib
Classification: Platform
Component: general
2.13.x
Other Linux
: Normal major
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2007-07-18 16:25 UTC by Loïc Minier
Modified: 2007-07-24 08:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Loïc Minier 2007-07-18 16:25:58 UTC
Hi,

2.13.7 now fails to build on some architectures (at least alpha, mips and powerpc) with:
/build/buildd/glib2.0-2.13.7/glib/gthread.h: In function 'gboolean g_once_init_enter(volatile gsize*)':

In file included from /build/buildd/glib2.0-2.13.7/glib/gasyncqueue.h:30,
                 from /build/buildd/glib2.0-2.13.7/glib/glib.h:32,
                 from /build/buildd/glib2.0-2.13.7/tests/bit-test.c:1:
/build/buildd/glib2.0-2.13.7/glib/gthread.h: In function 'g_once_init_enter':
/build/buildd/glib2.0-2.13.7/glib/gthread.h:335: warning: passing argument 1 of 'g_atomic_pointer_get' from incompatible pointer type
/bin/sh ../libtool --mode=link alpha-linux-gnu-gcc  -Wall -g -O2  -Wl,-z,defs -Wl,-O1 -o bit-test  bit-test.o  ../glib/libglib-2.0.la  
alpha-linux-gnu-gcc -Wall -g -O2 -Wl,-z -Wl,defs -Wl,-O1 -o .libs/bit-test bit-test.o  ../glib/.libs/libglib-2.0.so
creating bit-test
if c++ -DHAVE_CONFIG_H -I. -I/build/buildd/glib2.0-2.13.7/tests -I.. -g -I/build/buildd/glib2.0-2.13.7 -I/build/buildd/glib2.0-2.13.7/glib -I/build/buildd/glib2.0-2.13.7/gmodule -DG_ENABLE_DEBUG -DENABLE_REGEX  -pthread  -g -O2 -MT cxx-test.o -MD -MP -MF ".deps/cxx-test.Tpo" \
          -c -o cxx-test.o `test -f '/build/buildd/glib2.0-2.13.7/tests/cxx-test.C' || echo '/build/buildd/glib2.0-2.13.7/tests/'`/build/buildd/glib2.0-2.13.7/tests/cxx-test.C; \
        then mv -f ".deps/cxx-test.Tpo" ".deps/cxx-test.Po"; \
        else rm -f ".deps/cxx-test.Tpo"; exit 1; \
        fi
/build/buildd/glib2.0-2.13.7/glib/gthread.h:335: error: cannot convert 'volatile gsize*' to 'void* volatile*' for argument '1' to 'void* g_atomic_pointer_get(void* volatile*)'
make[5]: *** [cxx-test.o] Error 1
make[5]: Leaving directory `/build/buildd/glib2.0-2.13.7/debian/build/deb/tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/build/buildd/glib2.0-2.13.7/debian/build/deb/tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/build/buildd/glib2.0-2.13.7/debian/build/deb/tests'
make[2]: *** [check-recursive] Error 1


This is a regression over 2.13.6.

Build logs at:
http://experimental.ftbfs.de/build.php?arch=&pkg=glib2.0
http://experimental.ftbfs.de/fetch.php?&pkg=glib2.0&ver=2.13.7-1&arch=alpha&stamp=1184460475&file=log&as=raw
http://experimental.ftbfs.de/fetch.php?&pkg=glib2.0&ver=2.13.7-1&arch=mips&stamp=1184478880&file=log&as=raw


Bye,
Comment 1 Sebastien Bacher 2007-07-24 08:22:47 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 457641 ***