The output is shown below. The spice deck does not matter. Spice appears to
read the first line of the input deck and then catch a seg fault.
scottha@phaedrus spbitcell $ spice test.sp
Program: Spice, version: 3f5
Date built: Thu Mar 3 21:13:27 MST 2005
Type "help" for more information, "quit" to leave.
Circuit: * This is a name
internal error -- segmentation violation
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1,dev-lang/python-2.2.3-r5 [2.3.4
(#1, Feb 12 2005, 15:17:51)]
dev-lang/python: 2.3.4-r1, 2.2.3-r5
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4
sys-devel/binutils: 2.15.92.0.2-r1
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.ccccom.com
http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts berkdb bitmap-fonts bonobo cdr crypt cups curl esd
f77 fam font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk
gtkhtml guile imagemagick imlib ipv6 java jp2 jpeg lzw lzw-tiff mad motif
mozilla multilib ncurses nls oggvorbis opengl oss pam perl png ppds python qt
readline scanner slang ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts
usb userlocales xml xml2 xpm xrandr xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I got the same with my pentium4 and the following flags:
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
Lowering them to "-O2" gives the same error.
removing "-Ox" at all corrects it.
Maybe a filter could be added to the ebuild in order to remove the "-Ox" flag
Sure it is not AMD64 specific, but, at least, x86.