Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582904 - cross-powerpc-unknown-linux-gnu/gcc crashes when building libstdc++v3 library with vtv USE flag enabled
Summary: cross-powerpc-unknown-linux-gnu/gcc crashes when building libstdc++v3 library...
Status: RESOLVED DUPLICATE of bug 582582
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-13 10:18 UTC by Jocelyn Mayer
Modified: 2016-05-13 17:22 UTC (History)
0 users

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 Jocelyn Mayer 2016-05-13 10:18:21 UTC
cross-powerpc-unknown-linux-gnu/gcc 4.9.3 and 5.3.0 versions are unable to recompile after vtv USE flag being enabled. Note that cross-powerpc64-unknown-linux-gnu/gcc compiles properly.

Reproducible: Always

Steps to Reproduce:
1. emerge --verbose =cross-powerpc-unknown-linux-gnu/gcc-4.9.3:4.9.3
or
2. emerge --verbose =cross-powerpc-unknown-linux-gnu/gcc-5.3.0:5.3.0

Actual Results:  
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] cross-powerpc-unknown-linux-gnu/gcc-4.9.3:4.9.3::x-portage  USE="cxx doc fortran nls nptl openmp sanitize vtv%* (-altivec) -awt -cilk -debug (-fixed-point) -gcj -go -graphite -hardened -libssp -multilib -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 0 KiB

[...]

libtool: compile:  /home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/./gcc/xgcc -shared-libgcc -B/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/./gcc -nostdinc++ -L/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/src -L/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/src/.libs -L/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -B/usr/powerpc-unknown-linux-gnu/bin/ -B/usr/powerpc-unknown-linux-gnu/lib/ -isystem /usr/powerpc-unknown-linux-gnu/include -isystem /usr/powerpc-unknown-linux-gnu/sys-include -I/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu -I/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/include -I/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/gcc-4.9.3/libstdc++-v3/libsupc++ -fPIC -DPIC -fno-implicit-templates -fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=compatibility-ldbl.lo -D_GNU_SOURCE -mlong-double-64 -c /home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/gcc-4.9.3/libstdc++-v3/src/c++98/compatibility-ldbl.cc  -fPIC -DPIC -D_GLIBCXX_SHARED -o .libs/compatibility-ldbl.o
In file included from /home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/include/locale:40:0,
                 from /home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/gcc-4.9.3/libstdc++-v3/src/c++98/compatibility-ldbl.cc:25:
/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/include/bits/locale_facets.h: In member function 'const char* std::ctype<char>::widen(const char*, const char*, std::ctype<char>::char_type*) const':
/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/include/bits/locale_facets.h:892:7: internal compiler error: Segmentation fault
       widen(const char* __lo, const char* __hi, char_type* __to) const
       ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
Makefile:840: recipe for target 'compatibility-ldbl.lo' failed
make[5]: *** [compatibility-ldbl.lo] Error 1
make[5]: Leaving directory '/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/src'
Makefile:583: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3/src'
Makefile:485: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3'
Makefile:391: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build/powerpc-unknown-linux-gnu/libstdc++-v3'
Makefile:9295: recipe for target 'all-target-libstdc++-v3' failed
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory '/home/var_tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-4.9.3/work/build'
Makefile:861: recipe for target 'all' failed
make: *** [all] Error 2


Expected Results:  
compilation to succeed

Note: forcing USE="-vtvmake those packages compile.

# emerge --info
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/developer, gcc-4.9.3, glibc-2.22-r4, 4.1.15-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.1.15-gentoo-r1-x86_64-AMD_Athlon-tm-_II_X2_255_Processor-with-gentoo-2.2
KiB Mem:    15925460 total,    324196 free
KiB Swap:   33554424 total,  32921368 free
Timestamp of repository gentoo: Fri, 13 May 2016 00:50:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.3.5-r3::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.5-r2::gentoo, 1.6.3-r2::gentoo, 1.7.9-r3::gentoo, 1.8.5-r5::gentoo, 1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.20.1-r1::gentoo, 2.21.1-r1::gentoo, 2.22-r1::gentoo, 2.23.2::gentoo, 2.25.1-r1::gentoo
sys-devel/gcc:            3.4.6-r2::gentoo, 4.3.6-r1::gentoo, 4.4.7::gentoo, 4.5.4::gentoo, 4.6.4::gentoo, 4.7.4::gentoo, 4.8.5::gentoo, 4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -g"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg collision-protect config-protect-if-modified ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.bytemark.co.uk/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://tux.rainside.sk/gentoo/"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j 1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X Xaw3d a52 aac aalib acl acpi adns aim alsa amd64 ao apache2 apm audiofile avahi bash-completion bcmath berkdb bidi blas bluetooth branding bzip2 cairo calendar caps cdb cdda cddb cdparanoia cdr cgi cli consolekit cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx dbus dga djvu doc dri dts dv dvb dvd dvdr eds emacs encode enscript evo examples exif expat fam fastcgi fbcon ffmpeg fftw filecaps firefox flac fltk fontconfig foomaticdb fortran ftp gd gdbm geoip ggi gif gimp git glamor glut gmp gnuplot gnutls gphoto2 gpm gps graphviz gsl gsm gstreamer gtk guile gzip hddtemp iconv icq icu idn ieee1394 imagemagick imap imlib inotify introspection iodbc ios ipod ipv6 jack javascript jingle jit jpeg jpeg2k ladspa lame lapack lash latex lcms ldap libass libcaca libffi libnotify libsamplerate libwww lm_sensors lua lzma lzo m17n-lib mad maildir matroska mbox memlimit mhash mikmod mime mmap mms mmx mmxext mng modplug modules motif mozilla mp3 mp4 mpeg mpi mplayer msn mtp multilib musepack musicbrainz nas ncurses neXt netcdf nls nntp nptl nsplugin ocaml ocamlopt odbc offensive ofx ogg openal openexr opengl openmp orc osc oscar oss pam pango pcntl pcre pda pdf perl pie plotutils png policykit portaudio posix postgres postscript ppds pulseaudio python qt3support quicktime raw rdesktop readline recode rss ruby samba sasl savedconfig scanner sdl seccomp sharedmem shorten simplexml skey slang slp smp sndfile snmp soap sockets sound sox speex spell sqlite sse sse2 ssl startup-notification static-libs subversion svg syslog sysvipc szip taglib tcl tcpd theora threads tidy tiff timidity tk truetype udev unicode upnp upnp-av upower usb v4l vaapi vcd vdpau vhosts videos vnc vorbis wavpack wddx webkit wifi wmf wxwidgets x264 xattr xcb xcomposite xface xft xine xinerama xinetd xml xmlrpc xmp xmpp xosd xpm xscreensaver xv xvid yahoo yaz zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 SpanKY gentoo-dev 2016-05-13 17:22:37 UTC
*** This bug has been marked as a duplicate of bug 582582 ***