Error on compile: Reproducible: Always Steps to Reproduce: 1. emerge webkit-gtk Actual Results: Compile error received on emerge: ./doltlibtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DWTF_USE_ICU_UNICODE=1 -DNDEBUG -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/parser -I./JavaScriptCore/wtf -I./DerivedSources -I./JavaScriptCore -I./JavaScriptCore/API -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/interpreter -I./JavaScriptCore/bytecode -I./JavaScriptCore/bytecompiler -I./JavaScriptCore/debugger -I./JavaScriptCore/jit -I./JavaScriptCore/pcre -I./JavaScriptCore/profiler -I./JavaScriptCore/runtime -I./JavaScriptCore/wrec -I./JavaScriptCore/jit -I./JavaScriptCore/assembler -I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/yarr -I./JavaScriptCore/pcre -I./JavaScriptCore/parser -I./JavaScriptCore/runtime -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-rtti -fstrict-aliasing -O3 -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -fvisibility=hidden -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2 -march=prescott -pipe -MT JavaScriptCore/runtime/libJavaScriptCore_la-JSActivation.lo -MD -MP -MF JavaScriptCore/runtime/.deps/libJavaScriptCore_la-JSActivation.Tpo -c -o JavaScriptCore/runtime/libJavaScriptCore_la-JSActivation.lo `test -f 'JavaScriptCore/runtime/JSActivation.cpp' || echo './'`JavaScriptCore/runtime/JSActivation.cpp In file included from ./JavaScriptCore/runtime/RegExp.h:29, from JavaScriptCore/bytecode/CodeBlock.h:39, from JavaScriptCore/bytecode/SamplingTool.cpp:32: ./JavaScriptCore/yarr/RegexJIT.h: In member function `int JSC::Yarr::RegexCodeBlock::execute(const UChar*, unsigned int, unsigned int, int*)': ./JavaScriptCore/yarr/RegexJIT.h:76: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object In file included from ./JavaScriptCore/runtime/RegExp.h:29, from ./JavaScriptCore/bytecode/CodeBlock.h:39, from JavaScriptCore/interpreter/CallFrame.cpp:29: ./JavaScriptCore/yarr/RegexJIT.h: In member function `int JSC::Yarr::RegexCodeBlock::execute(const UChar*, unsigned int, unsigned int, int*)': ./JavaScriptCore/yarr/RegexJIT.h:76: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object mv -f JavaScriptCore/runtime/.deps/libJavaScriptCore_la-InitializeThreading.Tpo JavaScriptCore/runtime/.deps/libJavaScriptCore_la-InitializeThreading.Plo ./doltlibtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DWTF_USE_ICU_UNICODE=1 -DNDEBUG -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/parser -I./JavaScriptCore/wtf -I./DerivedSources -I./JavaScriptCore -I./JavaScriptCore/API -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/interpreter -I./JavaScriptCore/bytecode -I./JavaScriptCore/bytecompiler -I./JavaScriptCore/debugger -I./JavaScriptCore/jit -I./JavaScriptCore/pcre -I./JavaScriptCore/profiler -I./JavaScriptCore/runtime -I./JavaScriptCore/wrec -I./JavaScriptCore/jit -I./JavaScriptCore/assembler -I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/yarr -I./JavaScriptCore/pcre -I./JavaScriptCore/parser -I./JavaScriptCore/runtime -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-rtti -fstrict-aliasing -O3 -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -fvisibility=hidden -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2 -march=prescott -pipe -MT JavaScriptCore/runtime/libJavaScriptCore_la-JSByteArray.lo -MD -MP -MF JavaScriptCore/runtime/.deps/libJavaScriptCore_la-JSByteArray.Tpo -c -o JavaScriptCore/runtime/libJavaScriptCore_la-JSByteArray.lo `test -f 'JavaScriptCore/runtime/JSByteArray.cpp' || echo './'`JavaScriptCore/runtime/JSByteArray.cpp mv -f JavaScriptCore/runtime/.deps/libJavaScriptCore_la-TimeoutChecker.Tpo JavaScriptCore/runtime/.deps/libJavaScriptCore_la-TimeoutChecker.Plo ./doltlibtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DWTF_USE_ICU_UNICODE=1 -DNDEBUG -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/parser -I./JavaScriptCore/wtf -I./DerivedSources -I./JavaScriptCore -I./JavaScriptCore/API -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/interpreter -I./JavaScriptCore/bytecode -I./JavaScriptCore/bytecompiler -I./JavaScriptCore/debugger -I./JavaScriptCore/jit -I./JavaScriptCore/pcre -I./JavaScriptCore/profiler -I./JavaScriptCore/runtime -I./JavaScriptCore/wrec -I./JavaScriptCore/jit -I./JavaScriptCore/assembler -I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/yarr -I./JavaScriptCore/pcre -I./JavaScriptCore/parser -I./JavaScriptCore/runtime -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-rtti -fstrict-aliasing -O3 -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -fvisibility=hidden -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2 -march=prescott -pipe -MT JavaScriptCore/runtime/libJavaScriptCore_la-JSGlobalData.lo -MD -MP -MF JavaScriptCore/runtime/.deps/libJavaScriptCore_la-JSGlobalData.Tpo -c -o JavaScriptCore/runtime/libJavaScriptCore_la-JSGlobalData.lo `test -f 'JavaScriptCore/runtime/JSGlobalData.cpp' || echo './'`JavaScriptCore/runtime/JSGlobalData.cpp make[1]: *** [JavaScriptCore/bytecode/libJavaScriptCore_la-SamplingTool.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [JavaScriptCore/interpreter/libJavaScriptCore_la-CallFrame.lo] Error 1 In file included from ./JavaScriptCore/runtime/RegExp.h:29, from ./JavaScriptCore/bytecode/CodeBlock.h:39, from JavaScriptCore/runtime/JSActivation.h:32, from JavaScriptCore/runtime/JSActivation.cpp:30: ./JavaScriptCore/yarr/RegexJIT.h: In member function `int JSC::Yarr::RegexCodeBlock::execute(const UChar*, unsigned int, unsigned int, int*)': ./JavaScriptCore/yarr/RegexJIT.h:76: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object make[1]: *** [JavaScriptCore/runtime/libJavaScriptCore_la-JSActivation.lo] Error 1 In file included from ./JavaScriptCore/runtime/RegExp.h:29, from ./JavaScriptCore/bytecode/CodeBlock.h:39, from JavaScriptCore/runtime/JSActivation.h:32, from JavaScriptCore/runtime/JSGlobalData.cpp:37: ./JavaScriptCore/yarr/RegexJIT.h: In member function `int JSC::Yarr::RegexCodeBlock::execute(const UChar*, unsigned int, unsigned int, int*)': ./JavaScriptCore/yarr/RegexJIT.h:76: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object mv -f JavaScriptCore/runtime/.deps/libJavaScriptCore_la-JSByteArray.Tpo JavaScriptCore/runtime/.deps/libJavaScriptCore_la-JSByteArray.Plo make[1]: *** [JavaScriptCore/runtime/libJavaScriptCore_la-JSGlobalData.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.1.10/work/webkit-1.1.10' make: *** [all] Error 2 * * ERROR: net-libs/webkit-gtk-1.1.10 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2681: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed Expected Results: Successful compilation. Emerge Info: Portage 2.1.6.13 (hardened/linux/x86/10.0, gcc-3.4.6, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 i686) ================================================================= System uname: Linux-2.6.28-hardened-r9-i686-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 19 Sep 2009 16:00:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo http://gentoo.virginmedia.com/sites/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi apache2 berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd faac faad ffmpeg flac gdbm gnome gpm gtk hal hardened howl iconv id3tag ipv6 isdnlog jpeg libmms lm_sensors mmx mono mp3 mudflap mysql ncurses no-epiphany no-seamonkey nptl nptlonly nsplugin ogg opengl pam pcre pdf perl pic pmu png pppd python readline reflection samba session spl sse ssl stream svg sysfs tcpd truetype type1 unicode urandom vhosts vorbis wma x86 xft xmlreader xmlwriter xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="i915" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I wouldn't be surprised it that's hardened only or, more exactly, gcc 3.4 related.
Please try with 2.0.4