GCC ebuild fails with "ACCESS VIOLATION" on /usr/lib64/crt1.o. This occurs both on 4.1.1 and 4.1.1-r1. emerge --info: Portage 2.1.1-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64) ================================================================= System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.12.5 Last Sync: Sat, 28 Oct 2006 22:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 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.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-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo " LINGUAS="en de en_GB" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d a52 aac acpi aiglx alsa apache2 asf automount avi bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cddb cdr cli cracklib crypt cups dbus dga directfb divx4linux dlloader doc dri dts dv dvd dvdr dvdread elibc_glibc encode esd fam fbcon ffmpeg firefox flac fontconfig fortran gcj gdbm gif gimpprint glitz gmp gnome gnutls gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml hal iconv ieee1394 imagemagick imap imlib input_devices_kbd input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java javascript jikes jpeg kernel-linux kernel_linux ldap libedit libg++ libwww linguas_de linguas_en linguas_en_GB linuxkeys logrotate mad mikmod mjpeg mono mozcalendar mozdevelop mozsvg mp3 mpeg mysql nas ncurses nls nptl nptlonly nsplugin objc odbc offensive ogg openal opengl pam pcre perl png ppds pppd python quicktime readline reflection rle rtc ruby samba sasl sdl session shorten smbkrb5passwd sox speex spl ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_Darwin userland_GNU utf8 v4l v4l2 vcd vfs vhosts video_cards_ati video_cards_fbdev video_cards_fglrx video_cards_vesa vorbis winbind wmf x264 xine xinerama xorg xpm xprint xv xvid xvmc yv12 zlib zvbi" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Error occurs at the end of build: gzipping man page: std::wstring.3 gzipping man page: _var_tmp_portage_gcc-4.1.1_work_gcc-4.1.1_.3 >>> Completed installing gcc-4.1.1 into /var/tmp/portage/gcc-4.1.1/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-sys-devel_-_gcc-4.1.1-30225.log" unlink: /usr/lib64/crt1.o open_wr: /usr/lib64/crt1.o unlink: /usr/lib64/crt1.o --------------------------------------------------------------------------------
post a full build log as an attachment emerge gcc >& log
FWIW, this was discussed on the amd64 list before bugging. The gmane URL for the top of the thread is: http://permalink.gmane.org/gmane.linux.gentoo.amd64/9631 (I'm curious what the resolution will be so am CCing myself and thought I might as well add this note while I was at it.)
(In reply to comment #1) > post a full build log as an attachment > > emerge gcc >& log > The log is about 9MB, so I can't attach it here. You can download the file from: http://lizardslounge.org/files/gcc-emerge.log
it's called compression :P run bzip2 and post it
Created attachment 100728 [details] emerge log (compressioned!)
Emerge log attached.
Is this still a problem?
(In reply to comment #7) > Is this still a problem? > Not for me. I was never able to determine the cause, though, and eventually did a clean install, then restored /etc and /home. Have not seen it since.