User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: With a fresh 2006.1 install, "emerge monetdb" fails during compilation. It appears that the configure scripts set compiler flags for GCC versions up to 4.0, but 4.1 ends up getting -Werror and ends up not getting -fno-strict-aliasing. A (probably harmless) warning then fires, and the compilation dies. Reproducible: Always Steps to Reproduce: 1. emerge monetdb (I doubt the USE settings matter) on a recent 2006.1 x86 box 2. 3. Actual Results: .....much output.... make[5]: Entering directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src/monet' ../../rpm.mk:22: warning: overriding commands for target `../../.tar.gz' ../../rpm.mk:22: warning: ignoring old commands for target `../../.tar.gz' ../../rpm.mk:26: warning: overriding commands for target `rpm' ../../rpm.mk:26: warning: ignoring old commands for target `rpm' /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../common -I./../common -I../gdk -I./../gdk -DLIBMONET -O3 -march=pentium3 -pipe -std=c99 -Wall -W -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c -o libmonet_la-monet.lo `test -f 'monet.c' || echo './'`monet.c mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../common -I./../common -I../gdk -I./../gdk -DLIBMONET -O3 -march=pentium3 -pipe -std=c99 -Wall -W -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c monet.c -fPIC -DPIC -o .libs/libmo cc1: warnings being treated as errors /export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx: In function 'monet_init': /export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:424: warning: value computed is not usednet_la-monet.o ....many more similar./export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx: In function 'monet_syscall': /export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:928: warning: dereferencing type-punned pointer will break strict-aliasing rules ... make[5]: *** [libmonet_la-monet.lo] Error 1 make[5]: Leaving directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src/monet' make[4]: *** [all] Error 2 make[4]: Leaving directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src/monet' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src' .... !!! ERROR: dev-db/monetdb-4.10.2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile monetdb-4.10.2.ebuild, line 94: Called die !!! emake monetdb failed manual hacking of 'configure' scripts to remove -Werror and add -fno-strict-aliasing seems to fix the problem (to the point where I can start the server and run "Hello world" tests.) emerge info: Portage 2.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7ofk i686) ================================================================= System uname: 2.6.17-gentoo-r7ofk i686 Pentium III (Cascades) Gentoo Base System version 1.12.1 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo" CXXFLAGS="-O3 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo http://adelie.polymtl.ca/ " MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp"USE="x86 X apache2 bash-completion bcmath berkdb bitmap-fonts bonobo bzip2 cli crypt cups dbm dlloader doc dri emacs foomaticdb fortran gdbm gif gimp gmp gnome gpm gtk gtk2 iconv innodb isdnlog java jpeg junit leim libg++ mmap mozilla mpi mysql mysqli ncurses nls nptl nptlonly nsplugin odbc pam pcre pdf perl php png postgres ppds pppd python qdbm readline reflection ruby session soap sockets spell spl sse ssl symlink tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode xml xmlrcp xorg zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
true, and it doesn't respect CFLAGS either. Bad bug, will fix soon.
I tried modifying configure such that it leaves out the -Werror stuff. Could you reopen this bug if the problem persists, please?