Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359427 - [4.6/ICE] dev-libs/icu-4.6 fails in lhd_set_decl_assembler_name, at langhooks.c:158
Summary: [4.6/ICE] dev-libs/icu-4.6 fails in lhd_set_decl_assembler_name, at langhooks...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 23:47 UTC by Zeev Tarantov
Modified: 2011-03-19 03:54 UTC (History)
0 users

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


Attachments
build log in bzip2 (icu-4.6_build.log.bz2,6.71 KB, application/octet-stream)
2011-03-18 23:48 UTC, Zeev Tarantov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zeev Tarantov 2011-03-18 23:47:25 UTC
x86_64-pc-linux-gnu-g++ -D_REENTRANT -I. -I../i18n   "-DDEFAULT_ICU_PLUGINS=\"/usr/lib64/icu\" "  -DU_COMMON_IMPLEMENTATION -DHAVE_CONFIG_H  -g -O2 -pipe -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -fexcess-precision=fast -Wno-unused-result -flto -W -Wall -ansi -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long  -fvisibility=hidden -c -DPIC -fPIC -o uniset_props.o uniset_props.cpp
In file included from unicode/uniset.h:15:0,
                 from uniset_props.cpp:20:
./unicode/unistr.h: In member function 'icu_46::UnicodeString& icu_46::UnicodeString::replace(int32_t, int32_t, UChar32)':
./unicode/unistr.h:4024:9: warning: variable 'isError' set but not used [-Wunused-but-set-variable]
./unicode/unistr.h: In member function 'icu_46::UnicodeString& icu_46::UnicodeString::append(UChar32)':
./unicode/unistr.h:4327:9: warning: variable 'isError' set but not used [-Wunused-but-set-variable]
uniset_props.cpp: In function 'icu_46::intPropertyFilter(int, void*)':
uniset_props.cpp:947:1: internal compiler error: in lhd_set_decl_assembler_name, at langhooks.c:158
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.


gcc (Gentoo SVN) 4.6.0-pre9999 20110318 (prerelease) rev. 171169
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



Reproducible: Always

Steps to Reproduce:
1. emerge =sys-devel/binutils-2.21.51.0.7 =sys-devel/gcc-4.6.0_pre9999 =dev-libs/icu-4.6
2.
3.
Actual Results:  
build fails


Portage 2.2.0_alpha27 (default/linux/amd64/10.0/desktop, gcc-4.6.0-pre9999, glibc-2.13-r2, 2.6.38 x86_64)
=================================================================
System uname: Linux-2.6.38-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.2
Timestamp of tree: Fri, 18 Mar 2011 22:15:01 +0000                                                                                                                                                                                           
app-shells/bash:     4.2_p8                                                                                                                                                                                                                  
dev-java/java-config: 2.1.11-r3                                                                                                                                                                                                              
dev-lang/python:     2.7.1-r1, 3.1.3-r1                                                                                                                                                                                                      
dev-util/cmake:      2.8.4                                                                                                                                                                                                                   
sys-apps/baselayout: 2.0.2                                                                                                                                                                                                                   
sys-apps/openrc:     0.7.0                                                                                                                                                                                                                   
sys-apps/sandbox:    2.5                                                                                                                                                                                                                     
sys-devel/autoconf:  2.13, 2.68                                                                                                                                                                                                              
sys-devel/automake:  1.10.3, 1.11.1                                                                                                                                                                                                          
sys-devel/binutils:  2.21.51.0.7                                                                                                                                                                                                             
sys-devel/gcc:       4.5.2, 4.6.0_pre9999::toolchain                                                                                                                                                                                         
sys-devel/gcc-config: 1.4.1                                                                                                                                                                                                                  
sys-devel/libtool:   2.4-r1                                                                                                                                                                                                                  
sys-devel/make:      3.82                                                                                                                                                                                                                    
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)                                                                                                                                                                                       
Repositories: gentoo mozilla voyageur lcd-filtering gcc-porting toolchain local_overlay                                                                                                                                                      
Installed sets:                                                                                                                                                                                                                              
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                                                                                                                               
ACCEPT_LICENSE="* SKYPE-EULA"                                                                                                                                                                                                                
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                                                                                                 
CFLAGS="-g -O2 -pipe -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -fexcess-precision=fast -Wno-unused-result -flto"                                             
CHOST="x86_64-pc-linux-gnu"                                                                                                                                                                                                                  
CONFIG_PROTECT="/etc /usr/share/config"                                                                                                                                                                                                      
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                            
CXXFLAGS="-g -O2 -pipe -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -fexcess-precision=fast -Wno-unused-result -flto"                                           
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -flto"
LINGUAS="en en_US"
MAKEOPTS="-j3"
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="/home/system/var_tmp_portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mozilla /var/lib/layman/voyageur /var/lib/layman/lcd-filtering /var/lib/layman/gcc-porting /var/lib/layman/toolchain /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion bidi bluetooth branding bzip2 cairo cdr cli cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac gdu gif gpm gtk iconv ipv6 jpeg lcdfilter lcms libnotify lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nptl nptlonly ogg opengl openmp pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="stv0680" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 ppc ppc64 sparc x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="niash stv680" USERLAND="GNU" VIDEO_CARDS="nv nvidia nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zeev Tarantov 2011-03-18 23:48:11 UTC
Created attachment 266421 [details]
build log in bzip2
Comment 2 Rafał Mużyło 2011-03-19 00:00:42 UTC
Does it still break with more sane CFLAGS ?
If not, try to figure out which flag exactly triggers the crash.
Comment 3 SpanKY gentoo-dev 2011-03-19 03:54:07 UTC
on second thought, you're using an ebuild from the toolchain overlay.  please read the directions next time, especially considering you're ricing the hell out of your build settings.

        if [[ -z ${I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS} ]] ; then
                die "Please \`export I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1\` or define it in your make.conf if you want to use this ebuild.  This is to try and cut down on people filing bugs for a compiler we do not currently support."
        fi

        einfo "This gcc-4 ebuild is provided for your convenience, and the use"
        einfo "of this compiler is not supported by the Gentoo Developers."
        einfo "Please file bugs related to gcc-4 with upstream developers."
        einfo "Compiler bugs should be filed at http://gcc.gnu.org/bugzilla/"