emerging webkit-gtk with gcc-4.6 throws a lot of the following errors: /usr/include/glib-2.0/glib/gthread.h:51:16: warning: 'union' tag used in naming 'struct _GMutex' [-fpermissive] /usr/include/glib-2.0/glib/gthread.h:58:7: warning: 'union' tag used in naming 'struct _GMutex' [-fpermissive] adding »append-flags "-fpermissive"« to the ebuild changes those errors to warnings, so at it is compilable at least. Reproducible: Always Steps to Reproduce: 1. install gcc:4.6 2. select gcc-config gcc:4.6 3. install webkit-gtk I'm not shure if -fpermissive is a real good idea, but I am in no position to patch the source code
post your build log and emerge --info.
Also, what version of dev-libs/glib are you using?
dev-libs/glib-2.31.6 Package Manager Information: Package Name paludis Package Version 0.70.1 Build Date 2011-12-05T11:48:42+0100 Built with CXX x86_64-pc-linux-gnu-g++ 4.6.2 Built with CXXFLAGS -march=native -O3 -pedantic Built with LDFLAGS -Wl,-O1 -Wl,--as-needed Environment Information: Format paludis Config dir /etc/paludis Root / System Root / World file /var/db/pkg/world Repository layman: format unavailable location /var/paludis/repositories/layman sync tar+http://git.exherbo.org/layman_repositories.tar.bz2 sync_options Repository gentoo: format e location /var/paludis/repositories/gentoo builddir /var/tmp/paludis cache /var/paludis/repositories/gentoo/metadata/cache distdir /var/paludis/distfiles eapi_when_unknown 0 eapi_when_unspecified 0 eclassdirs /var/paludis/repositories/gentoo/eclass layout traditional manifest_hashes RMD160 SHA1 SHA256 names_cache /var/cache/paludis/names newsdir /var/paludis/repositories/gentoo/metadata/news profile_eapi_when_unspecified 0 profile_layout traditional profiles /var/paludis/repositories/gentoo/profiles/default/linux/amd64/10.0/desktop securitydir /var/paludis/repositories/gentoo/metadata/glsa setsdir /var/paludis/repositories/gentoo/sets sync rsync://rsync.de.gentoo.org/gentoo-portage sync_options use_manifest use write_cache /var/empty Package information app-shells/bash 4.2_p20 dev-java/java-config 2.1.11-r3 dev-lang/python 2.6.7-r2 2.7.2-r3 3.1.4-r3 3.2.2 dev-util/ccache (none) dev-util/cmake 2.8.6-r4 dev-util/pkgconfig 0.26 sys-apps/baselayout 2.1-r1 sys-apps/openrc 0.9.7 sys-apps/sandbox 2.5 sys-devel/autoconf 2.13 2.68 sys-devel/automake 1.11.1-r1 sys-devel/binutils 2.22-r1 sys-devel/gcc 4.6.2 sys-devel/gcc-config 1.5-r2 sys-devel/libtool 2.4.2 sys-devel/make 3.82-r3 sys-freebsd/freebsd-lib (none) sys-kernel/linux-headers 3.1 sys-libs/glibc 2.14.1-r1 sys-libs/uclibc (none)
(In reply to comment #3) > dev-libs/glib-2.31.6 > Please don't mix that glib development versions with stable, I guess you will probably need webkit-1.7.x for that > Package Manager Information: > Package Name paludis > Package Version 0.70.1 > Build Date 2011-12-05T11:48:42+0100 > Built with CXX x86_64-pc-linux-gnu-g++ 4.6.2 > Built with CXXFLAGS -march=native -O3 -pedantic -O3 is also discouraged: http://www.gentoo.org/doc/en/gcc-optimization.xml#doc_chap2