During bootstrap stage2, llvm-3.4.2 fails to compile when trying to create libcompiler_rt.a. The compile script calls: "lipo -create -output #EPREFIX/tmp/var/tmp/portage/sys-devel/llvm-3.4.2/work/llvm-3.4.2.src-.ppc/tools/clang/runtime/compiler-rt/clang_darwin/eprintf/" causing the error "lipo: no input files specified", followed by a usage example. This can be shown at line #6339 of the build log. Reproducible: Always Steps to Reproduce: 1. On Mac OS X 10.5.8 (ppc) execute "./bootstrap_prefix.sh $EPREFIX stage1" - this step completed as expected. 2. Execute "./bootstrap_prefix.sh $EPREFIX stage2" - this step fails during compilation phase of llvm-3.4.2. Downloaded patch set from bugs.gentoo.org/show_bug.cgi?id=537342. Applied patches and executed "./bootstrap_prefix.sh $EPREFIX stage2". 3. Actual Results: After applying the supplied patches, Output of emerge --info '=sys-devel/llvm-3.4.2::gentoo_prefix' Portage 2.2.28-prefix (python 2.7.3-final-0, prefix/darwin/macos/10.5/ppc, gcc-4.2.1, unavailable, 9.8.0 Power Macintosh) ================================================================= System Settings ================================================================= System uname: Darwin-9.8.0-Power_Macintosh-powerpc-32bit Timestamp of repository gentoo_prefix: Tue, 05 Apr 2016 16:20:41 +0000 sh bash 4.3_p39 distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled] Repositories: gentoo_prefix location: /Users/brandon/gentoo/usr/portage sync-type: rsync sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix priority: -1000 aliases: gentoo ACCEPT_KEYWORDS="~ppc-macos" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-apple-darwin9" CFLAGS=" -O2 -pipe" CHOST="powerpc-apple-darwin9" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" CXXFLAGS=" -O2 -pipe" DISTDIR="/Users/brandon/gentoo/tmp/usr/portage/distfiles" FCFLAGS="" FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged userfetch userpriv usersandbox usersync" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-dead_strip_dylibs" MAKEOPTS="-j1 -w" PKGDIR="/Users/brandon/gentoo/tmp/usr/portage/packages" PORTAGE_CONFIGROOT="/Users/brandon/gentoo/tmp/" 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 --exclude=/.git" PORTAGE_TMPDIR="/Users/brandon/gentoo/tmp/var/tmp" USE="aqua coreaudio cracklib cxx ipv6 modules ncurses nls objc objc++ ppc-macos prefix prefix-guest readline ssl unicode xattr zlib" 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="Darwin" 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="Darwin" 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 python3_5" RUBY_TARGETS="ruby20 ruby21" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 432876 [details] output of emerge -pqv '=sys-devel/llvm-3.4.2::gentoo_prefix'
Created attachment 432878 [details] sys-devel/llvm-3.4.2 environment (from the work directory)
Created attachment 432882 [details] portion of the build log from sys-devel/llvm-3.4.2 Due to the size limit for attachments, I broke the log file into segments of 1000 lines (approximately). This is the last segment of the build log.
Created attachment 432958 [details] Compressed complete build log for sys-devel/llvm-3.4.2 At the request of a member of #gentoo-prefix I have attached a complete build log for sys-devel/llvm-3.4.2.
thanks, we don't use llvm/clang at this point on (powerpc) macos