I can't compile app-editors/emacs-cvs-23.0.0-r1. My log is attached Reproducible: Always Steps to Reproduce: 1. Unmask app-editors/emacs-cvs-23.0.0-r1 2. Type "emerge app-editors/emacs-cvs 3. Look on this ugly error
Created attachment 108949 [details] Log
Remove /usr/portage/distfiles/cvs-src/emacs/ and remerge.
Doesn't work. Still get temacs in free(): error: free_pages: pointer to wrong page
Can't reproduce. Please give `emerge --info` and the output of `emerge -pv emacs-cvs`.
Portage 2.1.2-r7 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.19-morph7 x86_64) ================================================================= System uname: 2.6.19-morph7 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 04 Feb 2007 13:20:01 +0000 ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17-r4 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/home/distfiles" FEATURES="autoconfig distlocks metadata-transfer sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="uk_UA.UTF-8" LC_ALL="uk_UA.UTF-8" LINGUAS="uk" MAKEOPTS="-j2" 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" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/kpex-media /usr/portage/local/layman/java-experimental /usr/portage/local/layman/initng /usr/portage/local/layman/gentopia /usr/portage/local/layman/hanno-xgl /usr/portage/local/layman/xeffects /usr/portage/local/layman/gnome-experimental /usr/local/overlays/conrad /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acpi alsa amd64 amr apache apache2 berkdb bitmap-fonts bzip2 cairo ccache cdr cli cracklib crypt cups customlog dbus dlloader dv emboss encode fam fbcon ffmpeg firefox flac follow-xff fontconfig foomaticdb fortran gd gd2 gif glibc-omitfp glitz glut gnome gpg2-experimental gpm gstreamer gtk gtk2 gzip-el hal hashstyle hpn iconv ipv6 isdnlog java jpeg kqemu lame libg++ live lm_sensors logrotate lzo mad matroska mbox midi mikmod mmap mng mp3 mp4 mpeg mpm-prefork musepack mysql ncurses newspr nls nptl nptlonly nsplugin nvidia ogg openal opengl pam pcre pdf perl png ppds pppd python qr qt3 qt4 readline reflection sdl session spell spl sse3 ssl tcpd teamarena threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vim vim-pager vorbis x264 xcomposite xcomposite% xft xinerama xml xorg xpm xulrunner xv xvid xvmc yv12 zero-penalty-hit zlib" ALSA_CARDS="via82xx intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="uk" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS -------------------------- These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-editors/emacs-cvs-23.0.0-r1 USE="X gif gtk gzip-el jpeg nls png spell tiff toolkit-scroll-bars xft -Xaw3d (-aqua) -source" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB
Still can't reproduce, even with your USE flags. Your CFLAGS look sane, I have a x86 machine, so let me find someone who maybe can reproduce it on amd64.
Works fine here, just merged it on ~amd64.
Sorry Max, I really try to help people with problems, but I won't try to fix a compilation error in a moving target, as it is a live ebuild. If you investigate further and find the source of the error, report it to the Emacs developers. File every bug you find, I try to handle them in time. Closing this one.