Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91810 - bochs-2.1.1 emerge failed with internal compiler error: Segmentation fault
Summary: bochs-2.1.1 emerge failed with internal compiler error: Segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-07 09:58 UTC by Łukasz Zosiak
Modified: 2005-05-08 00:30 UTC (History)
0 users

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


Attachments
Preprocessed source (cchDQ80j.out,331.51 KB, text/x-c++; charset=us-ascii)
2005-05-07 10:03 UTC, Łukasz Zosiak
Details
Preprocessed source #2 (cchIqGYc.out,402.81 KB, text/x-c++; charset=us-ascii)
2005-05-07 10:06 UTC, Łukasz Zosiak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Zosiak 2005-05-07 09:58:53 UTC
I've failed to emerge bochs-2.1.1 with wxwindows in USE.

Reproducible: Always
Steps to Reproduce:
1. emerge bochs
Actual Results:  
6zjILoO0Lm/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -c -I.. -I./..
-I../inst rument/stubs -I./../instrument/stubs -march=athlon-xp -O2 -s -pipe
-D_FILE_OFFSE T_BITS=64 -D_LARGE_FILES   `sdl-config --cflags`
`/usr/bin/wxgtk2-2.4-config --c xxflags` `gtk-config --cflags`  scancodes.cc -o
scancodes.lo
 i686-pc-linux-gnu-g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/st
ubs -march=athlon-xp -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/i
nclude/SDL -D_REENTRANT -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__
WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/incl
ude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include scancodes.cc  -fPIC -D
PIC -o .libs/scancodes.o
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-g++ -c -I.. -I./.. -I../inst
rument/stubs -I./../instrument/stubs -march=athlon-xp -O2 -s -pipe -D_FILE_OFFSE
T_BITS=64 -D_LARGE_FILES   `sdl-config --cflags` `/usr/bin/wxgtk2-2.4-config --c
xxflags` `gtk-config --cflags`  vga.cc -o vga.lo
In file included from /usr/include/stdio.h:36,
                 from ../bochs.h:49,
                 from scancodes.cc:27:
/usr/include/bits/types.h:146: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/bochs-2.1.1/temp/cchDQ80j.out f
ile, please attach this to your bugreport.
make[1]: *** [scancodes.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/st
ubs -march=athlon-xp -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/i
nclude/SDL -D_REENTRANT -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__
WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/incl
ude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include vga.cc  -fPIC -DPIC -o
 .libs/vga.o
In file included from /usr/include/stdio.h:36,
                 from ../bochs.h:49,
                 from vga.cc:33:
/usr/include/bits/types.h:146: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/bochs-2.1.1/temp/cchIqGYc.out f
ile, please attach this to your bugreport.
make[1]: *** [vga.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/bochs-2.1.1/work/bochs-2.1.1/iodev'
make: *** [bochs_plugins] Error 2


Expected Results:  
compile cleanly :)

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6rzyjontko i686)
=================================================================
System uname: 2.6.10-gentoo-r6rzyjontko i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 30 2005, 15:59:19)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.8.5-r3, 1.6.3, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -s -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /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/ /var/bind
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -s -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.prz.rzeszow.pl
http://gentoo.zie.pg.gda.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 apm arts avi bash-completion berkdb
bitmap-fonts bonobo cdr crypt cups curl directfb divx4linux eds emboss encode
esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl
imagemagick imlib ipv6 java javascript jpeg kde kerberos ldap libg++ libwww
linguas_pl mad mikmod mmx motif mozdevelop mozilla mp3 mpeg mysql ncurses nls
nptl nvidia ogg oggvorbis opengl oss pam pdflib perl plotutils png python qt
quicktime readline real sasl scanner sdl slang snmp spell sse sse2 ssl svga
tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode userlocales
v4l v4l2 vorbis xanim xine xml xml2 xmms xprint xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 &#321;ukasz Zosiak 2005-05-07 10:03:52 UTC
Created attachment 58282 [details]
Preprocessed source
Comment 2 &#321;ukasz Zosiak 2005-05-07 10:06:16 UTC
Created attachment 58283 [details]
Preprocessed source #2
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-05-07 11:29:26 UTC
I'm not able to reproduce this on my system.  Does the error happen in the same place everytime, or is it random?
Comment 4 &#321;ukasz Zosiak 2005-05-08 00:30:31 UTC
I have recompiled/upgraded several packages (including glibc and gcc) after submitting this bug, and now everything compiles fine. I've reported bug immediatelly because error message said to do so. Now I don't think it was a real bug - rather problem with my configuration, sorry for wasting time.