Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512586 (PR60155) - [ICE/4.8] building net-misc/openssh-6.6_p1 hits get_pressure_class_and_nregs at gcse.c:3438 on alpha
Summary: [ICE/4.8] building net-misc/openssh-6.6_p1 hits get_pressure_class_and_nregs ...
Status: RESOLVED FIXED
Alias: PR60155
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Alpha Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://gcc.gnu.org/PR60155
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-06 10:17 UTC by Tobias Klausmann (RETIRED)
Modified: 2014-10-02 00:10 UTC (History)
2 users (show)

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


Attachments
net-misc/openssh-6.6_p1-r1 build log (net-misc:openssh-6.6_p1-r1:20140606-100421.log,174.98 KB, text/x-log)
2014-06-06 10:19 UTC, Tobias Klausmann (RETIRED)
Details
patch failure log (gcse_ice_trap_fix.patch.out,2.97 KB, text/plain)
2014-06-17 16:51 UTC, Tobias Klausmann (RETIRED)
Details
patch application failure for 4.8.3 on alpha (93_all_4.9.0_pr60155.patch.out,6.12 KB, text/plain)
2014-06-18 06:43 UTC, Tobias Klausmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2014-06-06 10:17:50 UTC
$ emerge --info
Portage 2.2.10 (default/linux/alpha/13.0, gcc-4.8.2, glibc-2.17, 3.12.2+ alpha)
=================================================================
System uname: Linux-3.12.2+-alpha-EV68AL-with-gentoo-2.2
KiB Mem:     8305496 total,    284656 free
KiB Swap:     977912 total,    961096 free
Timestamp of tree: Thu, 05 Jun 2014 22:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p47
dev-lang/python:          2.7.6, 3.3.5, 3.4.0
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local
ACCEPT_KEYWORDS="alpha ~alpha"
ACCEPT_LICENSE="* -@EULA"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev67"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev67"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
PORTAGE_TMPDIR="/space/portage-tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl alpha bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran ftp gdbm iconv mmap modules ncurses nls nptl nptlonly offensive pam pcre readline recode session sharedmem sockets ssl tcpd unicode vim vim-pager zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx 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" 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" 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_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" 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, LANG, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

alpha-unknown-linux-gnu-gcc -mieee -pipe -O2 -mcpu=ev67 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing  -ftrapv -fno-builtin-memset -fPIE  -I. -I.  -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/misc/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c ssh-pkcs11-client.c
alpha-unknown-linux-gnu-gcc -mieee -pipe -O2 -mcpu=ev67 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing  -ftrapv -fno-builtin-memset -fPIE  -I. -I.  -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/misc/ssh-pkcs11-helper\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c scp.c
ssh-keygen.c: In function ‘do_fingerprint’:
ssh-keygen.c:887:1: internal compiler error: in get_pressure_class_and_nregs, at gcse.c:3438
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
Makefile:138: recipe for target 'ssh-keygen.o' failed
make: *** [ssh-keygen.o] Error 1
make: *** Waiting for unfinished jobs....

This is the dev alpha, if someone needs access to it, poke me, mattst88 or armin76
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2014-06-06 10:19:04 UTC
Created attachment 378372 [details]
net-misc/openssh-6.6_p1-r1 build log
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2014-06-06 13:33:10 UTC
I've injected the patch from the glibc bugtracker into 4.8.2 and OpenSSH 6.6.1_p1 compiles now, as does 6.6_p1-r1.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2014-06-16 02:06:58 UTC
Fixed in 4.8.3 p1.1.
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2014-06-17 16:50:48 UTC
Looks like the patch is broken:

***** gcse_ice_trap_fix.patch *****
PWD: /space/portage-tmp/portage/sys-devel/gcc-4.7.4/work/gcc-4.7.4

===================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches/sys-devel/gcc/gcse_ice_trap_fix.patch'

===================================
checking file gcc/gcse.c
Hunk #1 succeeded at 2466 (offset -36 lines).
Hunk #2 succeeded at 2524 with fuzz 2 (offset -36 lines).
Hunk #3 succeeded at 3166 with fuzz 1 (offset -255 lines).
Hunk #4 FAILED at 3507.
1 out of 4 hunks FAILED

patch program exited with status 1

full .out to follow
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2014-06-17 16:51:22 UTC
Created attachment 379138 [details]
patch failure log
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2014-06-18 03:29:21 UTC
Because the patch is for 4.8 and you're trying to apply it to 4.7.  Is 4.7 affected too?
Comment 7 Tobias Klausmann (RETIRED) gentoo-dev 2014-06-18 06:41:44 UTC
Ugh, my bad.

The 4.7.4 failure was due to me hand-patching it before using /etc/portage and forgetting about that.

4.8.3 _does_ fail during unpack, though:

>>> Messages generated for package sys-devel/gcc-4.8.3 by process 5022 on       
20140617-182720 CEST:                                                           

ERROR: prepare
Failed Patch: 93_all_4.9.0_pr60155.patch !
 ( /space/portage-tmp/portage/sys-devel/gcc-4.8.3/work/patch/93_all_4.9.0_pr6015
5.patch )

Logs to follow.
Comment 8 Tobias Klausmann (RETIRED) gentoo-dev 2014-06-18 06:43:07 UTC
Created attachment 379176 [details]
patch application failure for 4.8.3 on alpha
Comment 9 Tobias Klausmann (RETIRED) gentoo-dev 2014-06-18 12:54:19 UTC
Okay, me dumb.

Said patch that broke 4.7.3 was also applied to 4.8.3, which of course made the application of 93_all_4.9.0_pr60155.patch break. 

Nothing to see here, move along.
Comment 10 Tobias Klausmann (RETIRED) gentoo-dev 2014-06-19 14:33:37 UTC
Are we planning on making this patch available for >=4.7.3-r1? As it is now, stable users can not compile the latest openssh version on alpha due to this.
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2014-06-20 04:53:41 UTC
That's why I asked if 4.7 was affected too. :p
Comment 12 Tobias Klausmann (RETIRED) gentoo-dev 2014-06-20 07:32:04 UTC
Oh, I completely missed that. Yes, it is. I managed to get the patch to apply to 4.7.3-r1 by dropping the last chunk.
Comment 13 Raúl Porcel (RETIRED) gentoo-dev 2014-08-05 15:58:14 UTC
Can we get this fixed please?
Comment 14 Raúl Porcel (RETIRED) gentoo-dev 2014-09-12 18:12:51 UTC
ping :)
Comment 15 Ryan Hill (RETIRED) gentoo-dev 2014-09-29 02:58:41 UTC
Fixed in 4.7.4 p1.2.
Comment 16 Ryan Hill (RETIRED) gentoo-dev 2014-10-02 00:10:09 UTC
Oop, I guess we need this in stable too.  Also fixed in 4.7.3 p1.5.