Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582222 - x11-libs/wxGTK-3.0.2.0-r1 : x86_64-pc-linux-gnu-g++: internal compiler error: Segmentation fault (program cc1plus)
Summary: x11-libs/wxGTK-3.0.2.0-r1 : x86_64-pc-linux-gnu-g++: internal compiler error:...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-06 07:50 UTC by Toralf Förster
Modified: 2016-05-09 20:18 UTC (History)
0 users

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


Attachments
emerge-history.txt (emerge-history.txt,204.45 KB, text/plain)
2016-05-06 07:50 UTC, Toralf Förster
Details
environment (environment,87.97 KB, text/plain)
2016-05-06 07:50 UTC, Toralf Förster
Details
x11-libs:wxGTK-3.0.2.0-r1:20160505-224016.log (x11-libs:wxGTK-3.0.2.0-r1:20160505-224016.log,251.32 KB, text/plain)
2016-05-06 07:50 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-05-06 07:50:28 UTC
x86_64-pc-linux-gnu-g++ -c -o basedll_any.o -I./.pch/wxprec_basedll -D__WXGTK__      -DWXBUILDING      -I/var/tmp/portage/x11-libs/wxGTK-3.0.2.0-r1/work/wxPython-src-3.0.2.0/src/regex  -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -DwxUSE_BASE=1 -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/x11-libs/wxGTK-3.0.2.0-r1/work/wxPyt

x86_64-pc-linux-gnu-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.


$ cat emerge-info.txt
  -----------------------------------------------------------------

  This is an stable amd64 chroot image (named amd64-hardened-stable_20160501-191036) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

  make.conf: USE="mmx sse sse2 pax_kernel xtpax -cdinstall -oci8 -bindist X a52 aac aes-ni alsa apache2 avx avx2 cairo cdda cdr cgroups client consolekit corefonts cups custom-cflags custom-optimization dbus declarative dnssec drmkms dts dvb dvd dvdr ecc encode exif fam ffmpeg flac fontconfig fortran fpm gif git glamor gnuplot gpg gpm gtk gui help httpd hwaccel icu isag java jpeg kde lcms libnotify libvirtd live logrotate lua mad matroska mbox minizip mmx mng mp3 mp4 mpeg mpg123 mysql mysqli ogg opengl orc pcre16 pdf png policykit pwquality qemu qml qt3support qt5 rtsp samba script scrypt sddm sdl snmp spice sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssse3 startup-notification svg system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite theora thinkpad threads tiff tk tls tor-hardening truetype udev uml upnp usb usbredir uxa v4l v4l2 vaapi vcd vcdx video vorbis vpx widgets wxwidgets x264 xa xcb xinerama xkb xml xmp xscreensaver xv xvfb xvid xz zenmap -bindist -hpn -ldap -semantic-desktop -urandom"

  -----------------------------------------------------------------
Portage 2.2.28 (python 3.4.3-final-0, hardened/linux/amd64, gcc-4.9.3, glibc-2.22-r4, 4.4.8-hardened-r1 x86_64)
=================================================================
System uname: Linux-4.4.8-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16157888 total,    670416 free
KiB Swap:   16777212 total,  16748408 free
Timestamp of repository gentoo: Thu, 05 May 2016 22:15:52 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::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.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.25.1-r1::gentoo
sys-devel/gcc:            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.de.gentoo.org/gentoo-portage/
    priority: 1

local
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /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/games/angband/gamedata/ /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"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--verbose-conflicts --color=n --nospinner --tree --quiet-build --accept-properties=-interactive --accept-restrict=-fetch"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 a52 aac acl aes-ni alsa amd64 apache2 avx avx2 berkdb bzip2 cairo cdda cdr cgroups cli client consolekit corefonts cracklib crypt cups custom-cflags custom-optimization cxx dbus declarative dnssec dri drmkms dts dvb dvd dvdr ecc encode exif fam ffmpeg flac fontconfig fortran fpm gdbm gif git glamor gnuplot gpg gpm gtk gui hardened help httpd hwaccel iconv icu ipv6 isag java jpeg justify kde lcms libnotify libvirtd live logrotate lua mad matroska mbox minizip mmx mmxext mng modules mp3 mp4 mpeg mpg123 multilib mysql mysqli ncurses nls nptl ogg opengl openmp orc pam pax_kernel pcre pcre16 pdf pie png policykit pwquality qemu qml qt3support qt5 readline rtsp samba script scrypt sddm sdl seccomp session snmp spice sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssp ssse3 startup-notification svg system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite tcpd theora thinkpad threads tiff tk tls tor-hardening truetype udev uml unicode upnp usb usbredir uxa v4l v4l2 vaapi vcd vcdx video vorbis vpx widgets wxwidgets x264 xa xattr xcb xinerama xkb xml xmp xscreensaver xtpax xv xvfb xvid xz zenmap 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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" LINGUAS="en en_GB" 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="intel i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Toralf Förster gentoo-dev 2016-05-06 07:50:31 UTC
Created attachment 433356 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2016-05-06 07:50:33 UTC
Created attachment 433358 [details]
environment
Comment 3 Toralf Förster gentoo-dev 2016-05-06 07:50:36 UTC
Created attachment 433360 [details]
x11-libs:wxGTK-3.0.2.0-r1:20160505-224016.log
Comment 4 Toralf Förster gentoo-dev 2016-05-06 07:52:14 UTC
I filed this bug b/c I do have 
# CONFIG_PAX_NOEXEC is not set
now in thre host kernel of the tinderbox, but the internal compiler error still occurs:

from /var/log/grsec.log :

May  6 00:40:50 ms-magpie kernel: [21751.713131] grsec: From 78.54.160.9: Segmentation fault occurred at 0000032eeb4c75e8 in /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:11220] uid/euid:250/250 gid/egid:250/250, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:11216] uid/euid:250/250 gid/egid:250/250
May  6 00:40:50 ms-magpie kernel: [21751.713146] grsec: From 78.54.160.9: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:11220] uid/euid:250/250 gid/egid:250/250, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:11216] uid/euid:250/250 gid/egid:250/250
May  6 00:42:52 ms-magpie kernel: [21872.929804] grsec: From 78.54.160.9: Segmentation fault occurred at 00000381a91560e8 in /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:27507] uid/euid:250/250 gid/egid:250/250, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:27506] uid/euid:250/250 gid/egid:250/250
May  6 00:42:52 ms-magpie kernel: [21872.929817] grsec: From 78.54.160.9: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:27507] uid/euid:250/250 gid/egid:250/250, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:27506] uid/euid:250/250 gid/egid:250/250
Comment 5 Toralf Förster gentoo-dev 2016-05-06 14:44:54 UTC
h, got at my desktop (hardened too) a similar error - grsec did not denied execution of cc1plus, it just segfaults here too :

May  6 15:40:34 t44 kernel: [42913.351784] grsec: Segmentation fault occurred at 0000039a329280a8 in /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:7809] uid/euid:250/250 gid/egid:250/250, parent /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:7808] uid/euid:250/250 gid/egid:250/250
May  6 15:40:34 t44 kernel: [42913.351793] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:7809] uid/euid:250/250 gid/egid:250/250, parent /usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:7808] uid/euid:250/250 gid/egid:250/250
Comment 6 SpanKY gentoo-dev 2016-05-07 20:19:30 UTC
please go into the build dir and run the failing command by hand.  if it fails, run it again but change the -c to -E, and attach the output here.
Comment 7 Toralf Förster gentoo-dev 2016-05-08 10:23:05 UTC
(In reply to SpanKY from comment #6)
it works at the command line :-(

from /var/klog/grsec.log I do read :


May  8 11:28:10 ms-magpie kernel: [233369.504343] grsec: From 78.54.160.9: Segmentation fault occurred at 000003b50a9f9618 in /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:18896] uid/euid:250/250 gid/egid:250/250, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:18893] uid/euid:250/250 gid/egid:250/250
May  8 11:28:10 ms-magpie kernel: [233369.504355] grsec: From 78.54.160.9: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:18896] uid/euid:250/250 gid/egid:250/250, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:18893] uid/euid:250/250 gid/egid:250/250
May  8 12:04:12 ms-magpie kernel: [235530.371811] grsec: From 78.50.179.136: Segmentation fault occurred at 000003909a4a55e8 in /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:4874] uid/euid:250/250 gid/egid:250/250, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:4873] uid/euid:250/250 gid/egid:250/250
May  8 12:04:12 ms-magpie kernel: [235530.371827] grsec: From 78.50.179.136: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:4874] uid/euid:250/250 gid/egid:250/250, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[x86_64-pc-linux:4873] uid/euid:250/250 gid/egid:250/250



so it is related to the way I to call the tinderbox script, or ?
Comment 8 Toralf Förster gentoo-dev 2016-05-08 14:09:48 UTC
BTW, the following help text needs a better link, b/c there are no instructions for an ICE:

Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
Comment 9 Toralf Förster gentoo-dev 2016-05-08 14:20:39 UTC
ok, same image, different packge (many others will be emerged fine).

If I chroot into it and run the make command, it segfaults with :

ms-magpie sauerbraten # cd /var/tmp/portage/games-fps/sauerbraten-2013.02.03/work/sauerbraten

ms-magpie sauerbraten # make -j1 -C src master client
make: Entering directory '/var/tmp/portage/games-fps/sauerbraten-2013.02.03/work/sauerbraten/src'
g++  -O3 -fomit-frame-pointer -Wall -fsigned-char -fno-exceptions -fno-rtti  -o sauer_master shared/crypto-standalone.o shared/stream-standalone.o shared/tools-standalone.o engine/command-standalone.o engine/master-standalone.o -lenet -lz
g++ -O3 -fomit-frame-pointer -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ifpsgame `sdl-config --cflags`   -c -o engine/3dgui.o engine/3dgui.cpp

g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
<builtin>: recipe for target 'engine/3dgui.o' failed
make: *** [engine/3dgui.o] Error 4
make: Leaving directory '/var/tmp/portage/games-fps/sauerbraten-2013.02.03/work/sauerbraten/src'



here's the segfault msg - grsec just logs it:


May  8 16:16:37 ms-magpie kernel: [250674.331291] grsec: From 78.50.179.136: Segmentation fault occurred at 0000035acde0a418 in /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:12542] uid/euid:0/0 gid/egid:0/0, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[g++:12539] uid/euid:0/0 gid/egid:0/0
May  8 16:16:37 ms-magpie kernel: [250674.331307] grsec: From 78.50.179.136: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus[cc1plus:12542] uid/euid:0/0 gid/egid:0/0, parent /home/tinderbox/images2/amd64-hardened-stable_20160501-191036/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++[g++:12539] uid/euid:0/0 gid/egid:0/0




If I run it manually, it does not segfault, but:



ms-magpie sauerbraten # g++ -O3 -fomit-frame-pointer -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ifpsgame `sdl-config --cflags`   -c -E engine/3dgui.o engine/3dgui.cpp
g++: error: engine/3dgui.o: No such file or directory
g++: error: engine/3dgui.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.

ms-magpie sauerbraten # g++ -O3 -fomit-frame-pointer -Wall -fsigned-char -fno-exceptions -fno-rtti -Ishared -Iengine -Ifpsgame `sdl-config --cflags`   -c -E engine/3dgui.o engine/3dgui.cpp
g++: error: engine/3dgui.o: No such file or directory
g++: error: engine/3dgui.cpp: No such file or directory
g++: fatal error: no input




I'd blame make now for it.
Comment 10 SpanKY gentoo-dev 2016-05-09 02:34:13 UTC
(In reply to Toralf Förster from comment #9)

seems like you should be running g++ in the src/ subdir
Comment 11 Toralf Förster gentoo-dev 2016-05-09 09:24:45 UTC
(In reply to SpanKY from comment #10)
indeed, FWIW with strace I do get :

lstat("/usr", {st_mode=S_IFDIR|0755, st_size=216, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu", {st_mode=S_IFDIR|0755, st_size=74, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin", {st_mode=S_IFDIR|0755, st_size=10, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3", {st_mode=S_IFDIR|0755, st_size=602, ...}) = 0
lstat("/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3/x86_64-pc-linux-gnu-g++", {st_mode=S_IFREG|0755, st_size=881296, ...}) = 0
access("shared/crypto.cpp", F_OK)       = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/", X_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/", X_OK) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/4.9.3/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/lib/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/specs", R_OK) = -1 ENOENT (No such file or directory)
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/", X_OK) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus", {st_mode=S_IFREG|0755, st_size=17292048, ...}) = 0
access("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1plus", X_OK) = 0
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/as", 0x3e2970bd670) = -1 ENOENT (No such file or directory)
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/as", 0x3e2970bd670) = -1 ENOENT (No such file or directory)
stat("/usr/libexec/gcc/x86_64-pc-linux-gnu/as", 0x3e2970bd670) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/as", 0x3e2970bd670) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/as", 0x3e2970bd670) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu/4.9.3/as", 0x3e2970bd670) = -1 ENOENT (No such file or directory)
stat("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/as", {st_mode=S_IFREG|0755, st_size=361008, ...}) = 0
access("/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/as", X_OK) = 0
pipe([3, 4])                            = 0
vfork()                                 = 5566
close(4)                                = 0
vfork()                                 = 5567
close(3)                                = 0
wait4(5566, 
[{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV}], 0, NULL) = 5566
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=5566, si_uid=0, si_status=SIGSEGV, si_utime=1, si_stime=0} ---
wait4(5567, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 5567
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "x86_64-pc-linux-gnu-g++: interna"..., 87x86_64-pc-linux-gnu-g++: internal compiler error: Segmentation fault (program cc1plus)
) = 87
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3a546cd8000
open("/proc/self/exe", O_RDONLY|O_CLOEXEC) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
Comment 12 SpanKY gentoo-dev 2016-05-09 16:28:48 UTC
(In reply to Toralf Förster from comment #11)

i'm not sure what you're trying to show here.  go into the right subdir and run the command with -E as requested in comment #6.
Comment 13 Toralf Förster gentoo-dev 2016-05-09 18:22:50 UTC
(In reply to SpanKY from comment #12)

cd /var/tmp/portage/x11-libs/wxGTK-3.0.2.0-r1/work/wxPython-src-3.0.2.0/wxgtk_build/
x86_64-pc-linux-gnu-g++ -c -o basedll_any.o ...


gives:



x86_64-pc-linux-gnu-g++: internal compiler error: Segmentation fault (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.



where 

x86_64-pc-linux-gnu-g++ -E -o basedll_any.o


gives no output at all.
Comment 14 SpanKY gentoo-dev 2016-05-09 18:48:47 UTC
(In reply to Toralf Förster from comment #13)

please read exactly what i said in comment #6.  i didn't say "only use -E", i said "change -c to -E".
Comment 15 Toralf Förster gentoo-dev 2016-05-09 19:27:40 UTC
(In reply to SpanKY from comment #14)
I did it, I just did not repeat the complete command line here again, maybe I should use "<snip>" next time in my comment
Comment 16 Toralf Förster gentoo-dev 2016-05-09 20:18:39 UTC
this report was PEBKAC

installation of gcc is br0ken (due to the 4.5.2-hardened-r1 issue w/ xattr and tmpfs)

thx to Zorry for help