Created attachment 271025 [details] build.log This error also appeared on bug 330915 + alpha-unknown-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -DOPENSSL_BN_ASM_MONT -mieee -pipe -O2 -fno-strict-aliasing -Wa,--noexecstack -Wl,-rpath,/usr/lib -o openssl openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o genpkey.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o pkey.o pkeyparam.o pkeyutl.o spkac.o smime.o cms.o rand.o engine.o ocsp.o prime.o ts.o -L.. -lssl -L.. -lcrypto -ldl -lz ../libcrypto.so: undefined reference to `bn_mul_mont' collect2: ld returned 1 exit status make[2]: *** [link_app.gnu] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/openssl-1.0.0d/work/openssl-1.0.0d/apps' make[1]: *** [openssl] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-libs/openssl-1.0.0d/work/openssl-1.0.0d/apps' make: *** [build_apps] Error 1 However in stable it builds fine Portage 2.1.9.46 (default/linux/alpha/10.0, gcc-4.5.2, libc-0-r0, 2.6.36-gentoo-r3 alpha) ================================================================= System uname: Linux-2.6.36-gentoo-r3-alpha-EV68AL-with-gentoo-2.0.2 Timestamp of tree: Sun, 24 Apr 2011 00:45:01 +0000 app-shells/bash: 4.2_p8 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.38 virtual/os-headers: 0 ACCEPT_KEYWORDS="alpha ~alpha" ACCEPT_LICENSE="* -@EULA" CBUILD="alpha-unknown-linux-gnu" CFLAGS="-mieee -pipe -O2" CHOST="alpha-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-mieee -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg cleanpkgdir distclean distlocks fixlafiles fixpackages genpkgindex news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/packages/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage" USE="acl alpha berkdb bindist bzip2 cli cracklib crypt cups cxx dlloader dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx 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: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
something has changed because this worked on multiple systems for me: # uname -m alpha # qlist -I -v openssl dev-libs/openssl-1.0.0d # readelf -s /usr/lib/libcrypto.so | grep bn_mul_mont 2665: 00000000000b0f40 816 FUNC GLOBAL DEFAULT [<other>: 80] 11 bn_mul_mont maybe the perl-5.8 -> perl-5.12 upgrade ?
your log: /usr/bin/perl asm/alpha-mont.pl | alpha-unknown-linux-gnu-gcc -E - | tee alpha-mont.s > /dev/null <stdin>:1:2: error: invalid preprocessing directive #indef <stdin>:3:2: error: #else without #if <stdin>:4:17: fatal error: asm.h: No such file or directory compilation terminated. not sure how this worked before as none of my alpha systems have build logs http://sources.gentoo.org/dev-libs/openssl/openssl-1.0.0d.ebuild?r1=1.9&r2=1.10 http://sources.gentoo.org/dev-libs/openssl/files/openssl-1.0.0d-alpha-typo.patch?rev=1.1