Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95298 - Cannot compile gcc-3.4.4: emit-rtl.c:(.text+0x3b70): undefined reference to `split_insns'
Summary: Cannot compile gcc-3.4.4: emit-rtl.c:(.text+0x3b70): undefined reference to `...
Status: RESOLVED DUPLICATE of bug 79852
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 22:01 UTC by Alexander Skwar
Modified: 2005-08-29 05:42 UTC (History)
1 user (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 Alexander Skwar 2005-06-06 22:01:34 UTC
I'm unable to compile gcc-3.4.4 with gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8). Error:

gcc    -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -W
no-long-long    -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-d
ecl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o
cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a  main.o
 libbackend.a ../libiberty/libiberty.a
libbackend.a(emit-rtl.o): In function `try_split':
emit-rtl.c:(.text+0x3b70): undefined reference to `split_insns'
libbackend.a(expmed.o): In function `init_expmed':
expmed.c:(.text+0x232): undefined reference to `recog'
expmed.c:(.text+0x27e): undefined reference to `recog'
expmed.c:(.text+0x2c7): undefined reference to `recog'
libbackend.a(expr.o): In function `init_expr_once':
expr.c:(.text+0x10b): undefined reference to `recog'
expr.c:(.text+0x138): undefined reference to `recog'
libbackend.a(expr.o):expr.c:(.text+0x165): more undefined references to `recog' follow
libbackend.a(recog.o): In function `peephole2_optimize':
recog.c:(.text+0x3efd): undefined reference to `peephole2_insns'
libbackend.a(reload1.o): In function `eliminate_regs_in_insn':
reload1.c:(.text+0x467f): undefined reference to `recog'
reload1.c:(.text+0x4ab8): undefined reference to `recog'
libbackend.a(combine.o): In function `try_combine':
combine.c:(.text+0x2495): undefined reference to `split_insns'
combine.c:(.text+0x256c): undefined reference to `split_insns'
combine.c:(.text+0x25d1): undefined reference to `split_insns'
libbackend.a(combine.o): In function `find_split_point':
combine.c:(.text+0x3d60): undefined reference to `split_insns'
libbackend.a(combine.o): In function `recog_for_combine':
combine.c:(.text+0xf368): undefined reference to `recog'
combine.c:(.text+0xf405): undefined reference to `recog'
collect2: ld returned 1 exit status
make[2]: *** [cc1] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
Making symbolic directory links
./fixinc.sh: line 341: cd: ./include: Datei oder Verzeichnis nicht gefunden
Fixing directory /usr/include into /var/tmp/portage/gcc-3.4.4/work/build/gcc/include
Applying io_quotes_def            to asm/apicdef.h



[06:56:53 vz6tml@exp01:~] $ emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r0, 2.6.10-ck5.03.no-nfs-directio.no-nfs4.only-deadline-sched i686)
=================================================================
System uname: 2.6.10-ck5.03.no-nfs-directio.no-nfs4.only-deadline-sched i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -fomit-frame-pointer -pipe -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://localhost/~vz6tml/gentoo-files/ http://php2.ath.cx/~askwar/gentoo-files/ http://gentoo.phpquadrat.de/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi apache2 artworkextra async audiofile avi bash-completion bcmath bzlib cap caps ccache cdr crypt cscope css cups curl curlwrappers divx4linux djbfft dvd dvdr eds encode ethereal evo evo2 exif fam flac foomaticdb ftp gd gdbm gif gimpprint gnome gnutls gphoto2 gtk gtk2 hal howl iconv imagemagick imlib imlib2 ithreads java javascript jbig jpeg jpeg2k kde kdeenablefinal kdexdeltas kerberos ldap libedit libwww lufsusermount lzw-tiff mad maildir mailwrapper matroska mbox mmap mmx mng mozcalendar mozdevelop mozilla moznoirc mozsvg mp3 mpeg ncurses nfs nis nls noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nodrm nojdepend nojoystick nojsch nojython nolog4j nooro noregexp norhino noxalan noxerces nptl offensive ogg oggvorbis pam parse-clocks pcntl pcre pdflib perl pic pie png posix ppds pwdb python qt quicktime quotes rdesktop readline real recode samba sasl sdl shared slang sndfile sockets spell sse sse2 ssl svg sysvipc tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb videos vim vim-pager vim-with-x vorbis wmf xfs xine xml xml2 xscreensaver xv xvid yp zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Aris Basic 2005-06-09 12:17:48 UTC
im unable to compile 3.4.4 on my amd64 machine seams like it dies in multilib pass

checking for x86_64-pc-linux-gnu-gcc...
/var/tmp/portage/gcc-3.4.4/work/build/gcc/xgcc
-B/var/tmp/portage/gcc-3.4.4/work/build/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/
-B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include
-isystem /usr/x86_64-pc-linux-gnu/sys-include  -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.4 failed.
!!! Function gcc_do_make, Line 1205, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message.

Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.10
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb
-frename-registers -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/tomcat5 /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.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/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/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -momit-leaf-frame-pointer
-fweb -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://mirror.tucdemonic.org/gentoo/ ftp://mirrors.tds.net/gentoo
http://adelie.polymtl.ca/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acl acpi adns alsa apache2 avi bash-completion berkdb
bitmap-fonts bonobo cdparanoia cdr crypt cups curl dvd dvdr dvdread eds encode
esd faad fam ffmpeg flac font-server foomaticdb fortran gcj gd gdbm gif
gimpprint gmail gmailtimestamps gnome gnutls gstreamer gtk gtk2 gtkhtml guile
hal icq imagemagick imap imlib ipv6 java joystick jp2 jp2k jpeg jpeg2k junit kde
libwww lzw lzw-tiff mad matroska mikmod mime mng mozdevelop mozilla mozsvg
mozxmlterm mp3 mpeg mplayer msn multilib ncurses net network nls no_wxgtk1 nptl
nptlonly nvidia odbc ogg oggvorbis opengl oscar oss pam pdflib perl png postgres
python qt rar readline rtc samba sasl scanner sdl slang speex sqlite ssl
subtitles svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts
type1-fonts unicode usb userlocales v4l vidix vorbis vorbisi wmf xanim xine
xinerama xml xml2 xmms xpm xprint xrandr xv xvid xvmc yahoo zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS

Comment 2 Oleg Klochko 2005-07-01 03:18:49 UTC
gcc -c    -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I.
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/.
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include 
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/hashtable.c -o hashtable.o
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/hashtable.c: In function
`approx_sqrt':
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/hashtable.c:310: internal compiler
error: in try_split, at emit-rtl.c:3343
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/gcc-3.4.4/temp/ccS3cvjk.out
file, please attach this to your bugreport.
make[2]: *** [hashtable.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make: *** [profiledbootstrap] Error 2


ortage 2.0.51.22-r1 (hardened/x86, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1,
2.6.5-hardened-r3 i686)
=================================================================
System uname: 2.6.5-hardened-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.10
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.linux.kiev.ua/pub/Linux/Gentoo"
LANG="ru_RU.KOI8-R"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://gentoo.linux.kiev.ua/gentoo-portage"
USE="acl acpi apache2 berkdb crypt curl dlloader doc ethereal exiscan
exiscan-acl gd gdbm hardened jpeg maildir mmx mysql ncurses nls pam perl pic png
python readline samba sse ssl tcpd tls userlocales vhosts x86 xml2 zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-29 05:42:51 UTC

*** This bug has been marked as a duplicate of 79852 ***