The lastest openssl-1.0.2d support ppc64le. When compiling openssl, it's use configuration linux-ppc64 but not the right configuration: linux-ppc64le Reproducible: Always Steps to Reproduce: 1. echo '=dev-libs/openssl-1.0.2d ~ppc64' >> /etc/portage/package.accept_keywords 2. ROOT=/gentoo emerge openssl 3. Compiler error happens as following. Actual Results: ./Configure linux-ppc64 no-sse2 enable-camellia enable-ec enable-idea enable-mdc2 enable-rc5 enable-tlsext enable-asm no-gmp no-krb5 no-rfc3779 no-sctp enable-heartbeats enable-zlib --prefix=/usr --openssldir=/etc/ssl --libdir=lib64 shared threads Expected Results: ./Configure linux-ppc64le no-sse2 enable-camellia enable-ec enable-idea enable-mdc2 enable-rc5 enable-tlsext enable-asm no-gmp no-krb5 no-rfc3779 no-sctp enable-heartbeats enable-zlib --prefix=/usr --openssldir=/etc/ssl --libdir=lib64 shared threads root@p006vm32:/var/tmp/portage/dev-libs/openssl-1.0.2d/temp# ROOT=/test emerge --info '=dev-libs/openssl-1.0.2d::gentoo' setlocale: unsupported locale setting !!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf' !!! Set 'masters = gentoo' in this file for future compatibility !!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf' !!! Set 'masters = gentoo' in this file for future compatibility Portage 2.2.20.1 (python 3.4.1-final-0, default/linux/powerpc/ppc64/13.0/64bit-userland/little-endian, gcc-4.9.1, unavailable, 3.16.0-23-generic ppc64le) ================================================================= System Settings ================================================================= System uname: Linux-3.16.0-23-generic-ppc64le-POWER8E_-raw-,_altivec_supported-with-debian-jessie-sid KiB Mem: 8361792 total, 1978368 free KiB Swap: 2174912 total, 2174848 free Timestamp of repository gentoo: Wed, 16 Sep 2015 02:00:01 +0000 sh dash ld GNU ld (GNU Binutils for Ubuntu) 2.24.90.20141014 Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 x-portage location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="ppc64" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc64le-linux-gnu" CFLAGS="-mcpu=power8 -mtune=power8 -O2 -pipe -I/usr/include -I/usr/include/powerpc64le-linux-gnu -I/gentoo/usr/include -L/gentoo/usr/lib64 -L/gentoo/lib -L/gentoo/lib64 -lpthread " CHOST="powerpc64le-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" CPPFLAGS="-mcpu=power8 -mtune=power8 -O2 -pipe -I/usr/include -I/usr/include/powerpc64le-linux-gnu -I/gentoo/usr/include -L/gentoo/usr/lib64 -L/gentoo/lib -L/gentoo/lib64 -lpthread " CXXFLAGS="-mcpu=power8 -mtune=power8 -O2 -pipe -I/usr/include -I/usr/include/powerpc64le-linux-gnu -I/gentoo/usr/include -L/gentoo/usr/lib64 -L/gentoo/lib -L/gentoo/lib64 -lpthread " DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg 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://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-L/lib/powerpc64le-linux-gnu -L/gentoo/usr/lib64 -L/gentoo/lib -L/gentoo/lib64 -lpthread" MAKEOPTS="-j8" 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="/var/tmp" USE="acl berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm ibm iconv ipv6 modules ncurses nls nptl openmp pam pcre ppc64 ppc64le readline session ssl tcpd unicode zlib" ABI_PPC="64" 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 evdev" 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_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 mga nv r128 radeon 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: CC, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= dev-libs/openssl-1.0.2d::gentoo was built with the following: USE="asm (ppc64) tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -static-libs -test -vanilla" CFLAGS="-mcpu=power8 -mtune=power8 -O2 -pipe -I/usr/include -I/usr/include/powerpc64le-linux-gnu -I/gentoo/usr/include -L/gentoo/usr/lib64 -L/gentoo/lib -L/gentoo/lib64 -lpthread -fno-strict-aliasing -Wa,--noexecstack" CXXFLAGS="-mcpu=power8 -mtune=power8 -O2 -pipe -I/usr/include -I/usr/include/powerpc64le-linux-gnu -I/gentoo/usr/include -L/gentoo/usr/lib64 -L/gentoo/lib -L/gentoo/lib64 -lpthread -fno-strict-aliasing -Wa,--noexecstack" root@p006vm32:/var/tmp/portage/dev-libs/openssl-1.0.2d/temp#
Created attachment 412234 [details, diff] Fixed compile error for linux-ppc64le
Created attachment 412252 [details] build log for openssl-1.0.2d in ppc64le
thanks for pointing it out. the issue is that the existing ppc64le match was missing a trailing glob. i fixed that and updated the target: http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b2ffc3b84bc53e596a2517aae8c061f2e99fd22