media-gfx/gimp-2.2.6-r1 causes a glibc malloc() error. Reproducible: Always Steps to Reproduce: 1. emerge =gimp-2.2.6-r1 2. 3. Actual Results: if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../app -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include -DG_LOG_DOMAIN=\"Gimp-Composite\" -DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -pipe -O3 -march=k8 -ggdb3 -Wall -MT gimp-composite-mmx.o -MD -MP -MF ".deps/gimp-composite-mmx.Tpo" \ -c -o gimp-composite-mmx.o `test -f 'gimp-composite-mmx.c' || echo './'`gimp-composite-mmx.c; \ then mv -f ".deps/gimp-composite-mmx.Tpo" ".deps/gimp-composite-mmx.Po"; \ else rm -f ".deps/gimp-composite-mmx.Tpo"; exit 1; \ fi *** glibc detected *** malloc(): memory corruption: 0x0000000000a9ac50 *** In file included from gimp-composite-mmx.c:46: gimp-composite-x86.h:1: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. *** glibc detected *** malloc(): memory corruption: 0x0000000000a62e30 *** *** glibc detected *** malloc(): memory corruption: 0x0000000000a62e30 *** Preprocessed source stored into /var/tmp/portage/gimp-2.2.6-r1/temp/ccn3Ljli.out file, please attach this to your bugreport. make[3]: *** [gimp-composite-mmx.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/gimp-2.2.6-r1/work/gimp-2.2.6/app/composite' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gimp-2.2.6-r1/work/gimp-2.2.6/app' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gimp-2.2.6-r1/work/gimp-2.2.6' make: *** [all] Error 2 Expected Results: successful build Gentoo Base System version 1.6.13 Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3400+ dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O3 -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O3 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts crypt cups eds encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls opengl pam pdflib perl png python qt quicktime readline ruby sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Hold on, I `rm -r /usr/local/portage/*` and will re-emerge.
Nope still there.
Created attachment 65984 [details] preprocessed source from gimp-2.2.6-r1 build
Another problem caused by some chroot-voodoo.