Hi, openssh-3.7.1_p2-r1 compiling fails. I dont know if it compiles without propolice, but sshd + propolice is a must for me. gcc -mcpu=ultrasparc -mtune=v9 -O3 -pipe -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c strlcat.c setproctitle.c: In function `compat_init_setproctitle': setproctitle.c:102: `argv_start' undeclared (first use in this function) setproctitle.c:102: (Each undeclared identifier is reported only once setproctitle.c:102: for each function it appears in.) setproctitle.c:103: `argv_env_len' undeclared (first use in this function) make[1]: *** [setproctitle.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/openssh-3.7.1_p2-r1/work/openssh-3.7.1p2/openbsd-compat' make: *** [openbsd-compat/libopenbsd-compat.a] Error 2 Output of emerge info: Portage 2.0.49-r15 (default-sparc64-1.4, gcc-3.2.3, glibc-2.3.1-r4, 2.4.23-sparc) ================================================================= System uname: 2.4.23-sparc sparc64 sun4u Gentoo Base System version 1.4.3.10p1 ccache version 2.2 [enabled] ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-mcpu=ultrasparc -mtune=v9 -O3 -pipe" CHOST="sparc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=ultrasparc -mtune=v9 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc avi crypt fbcon gif imlib jpeg mad motif mpeg ncurses nls png spell truetype xml2 zlib gdbm berkdb slang readline java mysql X sdl tcpd pam libwww ssl perl python gnome opengl mozilla gtk2 openssh php xml -cups -encode -foomaticdb -kde -mikmod -oss -pdflib -xv -xmms -arts -esd -oggvorbis -gtk -qt -fstack-protector"
Damn. Shoot me. I just noticed I did not use -fstack-protector in the right place. So, this bug report is that openssh does not compile at all.
Is this happening while you are doing an emerge system or during an upgrade of a previous openssh? Also, if you drop the -mtune=v9, does it build?
Problem is solved with not using -mtune=v9. Nice!
Ahh ok. Be wary of using -mtune=v9 as a lot of programs may interpret that to mean they can build 64 bit rather than 32 bit, which isn't possible at the moment.