Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325303 - sys-devel/llvm-gcc-2.7-r1 Segmentation fault during compiling
Summary: sys-devel/llvm-gcc-2.7-r1 Segmentation fault during compiling
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 392951
  Show dependency tree
 
Reported: 2010-06-24 09:01 UTC by Marcin Mirosław
Modified: 2011-12-02 22:10 UTC (History)
0 users

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


Attachments
build log (build.log.bz2,53.44 KB, application/octet-stream)
2010-06-24 09:03 UTC, Marcin Mirosław
Details
llvm-gcc-2.9_with_gcc-4.4.5_build.log (build.log.bz2,29.19 KB, application/x-bzip2)
2011-04-08 13:30 UTC, Marcin Mirosław
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2010-06-24 09:01:32 UTC
Tested on two hosts.

/var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/obj/./gcc/xgcc -B/var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/obj/./gcc/ -B/usr/lib/llvm-gcc-4.2-2.7/i686-pc-linux-gnu/bin/ -B/usr/lib/llvm-gcc-4.2-2.7/i686-pc-linux-gnu/lib/ -isystem /usr/lib/llvm-gcc-4.2-2.7/i686-pc-linux-gnu/include -isystem /usr/lib/llvm-gcc-4.2-2.7/i686-pc-linux-gnu/sys-include  -O2  -O2 -march=native -O2 -pipe  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I/var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/gcc -I/var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/gcc/. -I/var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/gcc/../include -I/var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/gcc/../libcpp/include  -I/var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/gcc/../libdecnumber -I../libdecnumber -I/usr/include -DL_ashldi3 -fvisibility=hidden -DHIDE_EXPORTS -c /var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/gcc/libgcc2.c -o libgcc/./_ashldi3.o
/var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/gcc/libgcc2.c:443: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.
make[4]: *** [libgcc/./_lshrdi3.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/var/tmp/portage/sys-devel/llvm-gcc-2.7-r1/work/llvm-gcc-4.2-2.7.source/gcc/libgcc2.c:471: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://llvm.org/bugs/> for instructions.
make[4]: *** [libgcc/./_ashldi3.o] Error 1


Reproducible: Always




# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.33-zen3 i686)
=================================================================
System uname: Linux-2.6.33-zen3-i686-Intel-R-_Celeron-R-_CPU_E1500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 24 Jun 2010 05:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 PUEL Q3AEULA skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="XXXmetadata-transfer assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/gnustep /usr/local/portage/miro-overlay/portage /usr/local/portage/miro-overlay/in_sunrise /usr/local/portage/miro-overlay/staging"
SYNC="rsync://192.168.138.254/gentoo-portage"
USE="X a52 aac acl acpi adns alsa apache2 async bash-completion bittorrent branding bzip2 cairo caps cdr chroot clamdtop cli community consolekit cracklib crypt cups custom-cflags custom-optimization cxx dbus diskio dlz dmx dri dts dvd dvdr emboss encode exif extras fam firefox flac fortran ftp fts3 gif gpm graphite gtk hal hash iconv idn iproute2 ipv6 ithreads jpeg kde lcms ldap libnotify lightning logrotate loop-aes lzo mad mikmod mmap mmx mmxext mng modules mp3 mp4 mpeg mtp mudflap mysql mysqli ncurses network-cron nls nptl nptlonly nsplugin objc ogg opengl openmp openssl optimization optimized-qmake pam pango pch pcre pdf perl phonon png ppds pppd profile profiling python qt3support qt4 readline reflection replytolist rss samba sdl semantic-desktop session sharedmem smp spell spl sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs tcpd threads threadsafe tiff tools truetype unicode urandom usb vim vim-pager vim-syntax vim-with-x vorbis watchdog x264 x86 xattr xcb xinerama xml xorg xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm  authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cgid dav deflate dir env expires ext_filter  filter headers include info log_config logio mime mime_magic negotiation  rewrite setenvif speling status unique_id usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcin Mirosław 2010-06-24 09:03:40 UTC
Created attachment 236369 [details]
build log
Comment 2 Bernard Cafarelli gentoo-dev 2011-04-07 09:57:03 UTC
Hello, does it still happen with 2.9?
Comment 3 Marcin Mirosław 2011-04-07 13:32:50 UTC
I don't know, there is no llvm-gcc-2.9 in tree;)
But there is no llvm-gcc-2.7 too, llvm-gcc-2.8 doesn't compile with error:
/var/tmp/portage/sys-devel/llvm-gcc-2.8/work/llvm-gcc-4.2-2.8.source/gcc/llvm-linker-hack.cpp: In function ‘void dummy_function()’:
/var/tmp/portage/sys-devel/llvm-gcc-2.8/work/llvm-gcc-4.2-2.8.source/gcc/llvm-linker-hack.cpp:72:3: error: ‘createLoopIndexSplitPass’ is not a member of ‘llvm’
/var/tmp/portage/sys-devel/llvm-gcc-2.8/work/llvm-gcc-4.2-2.8.source/gcc/llvm-linker-hack.cpp:98:3: error: ‘DIFactory’ is not a member of ‘llvm’

(gcc-4.5.2)
but this need another bug filled (after 2.9 will be in tree).
Comment 4 Bernard Cafarelli gentoo-dev 2011-04-07 14:37:20 UTC
Well 2.9 really is in tree, but our master CVS host has some problems at the moment, so it did not reach rsync mirrors :/
Comment 5 Marcin Mirosław 2011-04-08 13:30:35 UTC
Created attachment 269009 [details]
llvm-gcc-2.9_with_gcc-4.4.5_build.log

I got build error using gcc-4.4.5, build log is attached. This time it's not ICE
Comment 6 Bernard Cafarelli gentoo-dev 2011-12-02 22:10:31 UTC
llvm-gcc is going away, dragonegg should be easier to support as LLVM/GCC system

Thanks for the report anyway!