Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153228 - GCC fails with access violation on /usr/lib64/crt1.o
Summary: GCC fails with access violation on /usr/lib64/crt1.o
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-28 21:01 UTC by Harry Holt
Modified: 2007-11-16 03:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge log (compressioned!) (gcc-emerge.log.bz2,220.93 KB, application/octet-stream)
2006-10-29 10:40 UTC, Harry Holt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harry Holt 2006-10-28 21:01:23 UTC
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
--------------------------------------------------------------------------------
Comment 1 SpanKY gentoo-dev 2006-10-28 21:09:02 UTC
post a full build log as an attachment

emerge gcc >& log
Comment 2 Duncan 2006-10-29 04:17:00 UTC
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.)
Comment 3 Harry Holt 2006-10-29 05:17:19 UTC
(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
Comment 4 SpanKY gentoo-dev 2006-10-29 08:56:13 UTC
it's called compression :P

run bzip2 and post it
Comment 5 Harry Holt 2006-10-29 10:40:11 UTC
Created attachment 100728 [details]
emerge log (compressioned!)
Comment 6 Harry Holt 2006-10-29 10:41:14 UTC
Emerge log attached.
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2007-11-16 03:36:23 UTC
Is this still a problem?
Comment 8 Harry Holt 2007-11-16 03:59:38 UTC
(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.