Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155832 - [4.1/ICE] graphviz-2.8-r2 compile fails w/ -msse3
Summary: [4.1/ICE] graphviz-2.8-r2 compile fails w/ -msse3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-20 22:37 UTC by Yeaw Chu Lee
Modified: 2007-03-23 07:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yeaw Chu Lee 2006-11-20 22:37:45 UTC
Emergine graphviz-2.8-r2 produced the following error when compiling file sfcvt.c

sfcvt.c: In function '_sfcvt':
sfcvt.c:223: error: unrecognizable insn:
(insn 163 161 164 23 (set (reg:SI 151 [ D.5198 ])
        (fix:SI (reg/v:XF 138 [ dval ]))) -1 (nil)
    (nil))
sfcvt.c:223: internal compiler error: in extract_insn, at recog.c:2084

...

!!! ERROR: media-gfx/graphviz-2.8-r2 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  graphviz-2.8-r2.ebuild, line 78:   Called die

!!! Compile Failed!


Reproducable:

Always when compiling graphviz-2.8-r2


Workaround solution:

Remove CFLAG entry -msse3.
ie.
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
to
CFLAGS="-march=athlon64 -O2 -pipe"


emerge --info below:

Portage 2.1.2_rc2-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.6
Last Sync: Mon, 20 Nov 2006 18:50:01 +0000
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
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
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LINGUAS="en"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa amr audiofile avahi avi bash-completion berkdb bitmap-fonts bonobo boost bzip2 cairo cdparanoia cdr cli cracklib crypt cups curl dbus dga dlloader dri dts dv dvd dvdr dvdread elibc_glibc emul-linux-x86 encode examples exif expat faac faad2 fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gamin gd gdbm ggi gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv ieee1394 imagemagick imlib inkjar input_devices_keyboard input_devices_mouse ipv6 isdnlog javascript jpeg jpeg2k kernel_linux lame lcms lesstif libcddb libcdio libdvbpsi libdvdcss libdvdnav libdvdread libg++ libmad libmatroska libogg linguas_en live lm_sensors lzo mad matroska memlimit mikmod mime mjpeg mng mono motif mp3 mpeg musepack ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl pam pcre pdf perl plotutils png posix ppds pppd python quicktime readline reflection rtc samba sasl sdl session slang slp sndfile sox speex spell spl ssl svg tcpd tetex tga theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd verbose video_cards_nv video_cards_nvidia video_cards_vesa vorbis wmf wxwindows x264 xanim xine xinerama xml xorg xosd xpm xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2006-11-26 06:45:55 UTC
i'm unable to reproduce over here ... what version of sys-devel/gcc do you have installed exactly ?

$ x86_64-pc-linux-gnu-gcc --version
x86_64-pc-linux-gnu-gcc (GCC) 4.1.1 (Gentoo 4.1.1-r2)
$ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -Dvt_threaded=0 -march=athlon64 -O2 -pipe -msse3 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c sfcvt.c  -fPIC -DPIC -o .libs/sfcvt.o
$ file .libs/sfcvt.o
.libs/sfcvt.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped
Comment 2 Pacho Ramos gentoo-dev 2007-02-15 00:53:57 UTC
media-gfx/graphviz-2.12 compiles fine for me with CFLAGS=-march=k8 -O2 -pipe -msse3

Comment 3 Yeaw Chu Lee 2007-03-23 07:55:52 UTC
This is now resolved by emerging newer version of graphviz-2.12.

Many thanks.