Created attachment 373114 [details] net-misc:openssh-6.6_p1:20140320-151636.log Thu 20 Mar 16:28:40 CET 2014 emerge --info =net-misc/openssh-6.6_p1 Portage 2.2.8-r1 (default/linux/hppa/13.0, gcc-4.7.3, glibc-2.17, 3.12.2-gentoo-JeR parisc64) ================================================================= System Settings ================================================================= System uname: Linux-3.12.2-gentoo-JeR-parisc64-PA8800_-Mako-with-gentoo-2.2 KiB Mem: 8232100 total, 3654608 free KiB Swap: 2101676 total, 2101676 free Timestamp of tree: Thu, 20 Mar 2014 04:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 distcc 3.1 hppa2.0-unknown-linux-gnu [enabled] ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45 dev-lang/python: 2.6.8-r3, 2.7.6, 3.2.5-r3, 3.3.3 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.11.2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.22-r1, 2.23.1, 2.23.2, 2.24-r1 sys-devel/gcc: 4.6.3, 4.7.2-r1, 4.7.3-r1, 4.8.1-r1, 4.8.2 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.11 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo JeR ACCEPT_KEYWORDS="hppa" ACCEPT_LICENSE="*" CBUILD="hppa2.0-unknown-linux-gnu" CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment" CHOST="hppa2.0-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/distcc/bin /usr/lib/python2.6/site-packages/buildbot/status/web /usr/lib/python2.7/site-packages/buildbot/status/web /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/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="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe" DISTDIR="/world/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FCFLAGS="" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer network-sandbox news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe" GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://91.121.124.139/gentoo-distfiles/" LANG="C" LC_ALL="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/keeps/gentoo/packages/karsten" 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" PORTAGE_TMPDIR="/dev/shm" PORTDIR="/world/gentoo/portage" PORTDIR_OVERLAY="/keeps/gentoo/local" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="256-color X acl alsa amr anacron apng audit bash-completion berkdb bfio bittorrent bzip2 cairo canberra cli coverage cracklib crypt cups custom-cflags cxx dane dbus declarative dirac directfb distinct-l dlz dri emacs exif expat fbcon filecaps firefox firmware foomaticdb fortran frontend-optional gdbm geoip geoloc glep gost gpm graphite gsm gstreamer gtk gudev guile hddtemp hppa hwdb iconv idn imlib inotify ipv6 javascript jingle jpeg json kmod ladspa launch-frontend libcaca libcanberra libevent libusb libwww lua lzma lzo mad mng mod modplug modules mp3 multislot multitarget munge nagios ncurses netlink nls nptl objc objc++ objc-gc offensive openexr opengl openmp openrc opus oss pam pcre php pic pkcs11 png pnm policykit python qt qt3support qt4 quvi readline regression-test rtmp samba schroedinger session smi socks5 speex spell spidermonkey sqlite ssl systemd tcl tcpd test tga theora threads tiff tk truetype unicode unwind v4l vim-syntax vorbis vpx wcwidth x264 xattr xcb xft xhtml xml2 xvfb xvid zlib" ALSA_CARDS="ad1889 usb-audio" 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" CURL_SSL="nss" DRACUT_MODULES="nfs 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 ublox ubx" INPUT_DEVICES="evdev joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl he" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python2_7 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="stifb dummy" 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" USE_PYTHON="2.6 2.7 3.2 3.3" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
that is gcc crashing, so not really a whole lot to do on the openssh side try diff CFLAGS ?
It compiles with -O1 but that in itself doesn't say much.
looks like it's related to the -ftrapv flag. we should be able to remove it for just hppa for now.
Commit message: Disable -ftrapv flag on hppa until gcc ICEs get sorted out http://sources.gentoo.org/net-misc/openssh/openssh-6.6_p1-r1.ebuild?r1=1.2&r2=1.3
Created attachment 373200 [details] 6.6_p1-r1 config.log (In reply to SpanKY from comment #4) > Commit message: Disable -ftrapv flag on hppa until gcc ICEs get sorted out > http://sources.gentoo.org/net-misc/openssh/openssh-6.6_p1-r1.ebuild?r1=1. > 2&r2=1.3 Only it doesn't work as is, since -ftrapv is still tested for successfully and then included in CFLAGS: configure:6298: checking if hppa2.0-unknown-linux-gnu-gcc supports compile flag -ftrapv and linking succeeds configure:6320: hppa2.0-unknown-linux-gnu-gcc -o conftest -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -Werror -ftrapv -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack conftest.c >&5 configure:6320: $? = 0 configure:6328: result: yes configure:6342: checking gcc version configure:6353: result: 4.7.3 configure:6356: checking if hppa2.0-unknown-linux-gnu-gcc accepts -fno-builtin-memset configure:6371: hppa2.0-unknown-linux-gnu-gcc -o conftest -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack conftest.c >&5 configure:6371: $? = 0 configure:6372: result: yes
Commit message: Also disable -ftrapv flag in configure.ac http://sources.gentoo.org/net-misc/openssh/openssh-6.6_p1-r1.ebuild?r1=1.3&r2=1.4
seems to work with gcc-4.7.4/gcc-4.8.5 now