It is hard for me to find the differences between these two. build.log coming. Portage 2.2.00.14813-prefix (prefix/hpux/B.11.31/hppa2.0, gcc-4.2.4, unavailable, B.11.31 9000/800) ================================================================= System uname: HP-UX-B.11.31-9000-800-32bit Timestamp of tree: Mon, 23 Nov 2009 22:54:55 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.2-r2 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.10.2-r00.1, 1.11 sys-devel/binutils: 2.19.1-r01.1 sys-devel/gcc-config: 1.4.1-r00.2 sys-devel/libtool: 2.2.6b ACCEPT_KEYWORDS="~hppa-hpux" CBUILD="hppa2.0n-hp-hpux11.31" CFLAGS="-O2 -pipe -fomit-frame-pointer" CHOST="hppa2.0n-hp-hpux11.31" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -pipe -fomit-frame-pointer" DISTDIR="/home/jolexa/portage/hppa-11.31/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests collision-protect distlocks fixpackages news nodoc noinfo nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/home/jolexa/portage/hppa-11.31/usr/portage/packages" PORTAGE_CONFIGROOT="/home/jolexa/portage/hppa-11.31/" 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="/home/jolexa/portage/hppa-11.31/var/tmp" PORTDIR="/home/jolexa/portage/hppa-11.31/usr/portage" PORTDIR_OVERLAY="/home/jolexa/portage/global/overlays" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="bash-completion bzip2 cracklib hppa-hpux modules ncurses perl prefix python readline ssl unicode zlib" 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" ELIBC="HPUX" INPUT_DEVICES="keyboard mouse" KERNEL="HPUX" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 211069 [details] python-2.6.4 build.log
/home/jolexa/portage/hppa-11.31/usr/hppa2.0n-hp-hpux11.31/bin/as: unrecognized option `--noexecstack' can you try yanking out the entire noexecstack bit from the ebuild to see if that makes a difference?
and what does `as -v < /dev/null` report?
(In reply to comment #3) > and what does `as -v < /dev/null` report? > %% as -v < /dev/null GNU assembler version 2.19.1 (hppa2.0n-hp-hpux11.31) using BFD version (GNU Binutils) 2.19.1 I'll try the other suggestion too.
python-2.6.4: 89 case $($(tc-getAS) -v 2>&1 </dev/null) in 90 *"GNU Binutils"*) # GNU ld 91 : 92 ;; 93 *) 94 EPATCH_EXCLUDE=07_all_ctypes_execstack.patch 95 ;; 96 esac 97 EPATCH_SUFFIX="patch" epatch "${WORKDIR}/${PV}" But, something is wrong here because if I unconditionally do line 94 the build succeeds.
Makes sense to me, as I assumed that all GNU as would accept the same arguments, but apparently it doesn't, so I guess we'll have to try if the argument really works. Does as -v --noexecstack bail out by chance?
fixed by checking if --noexecstack is a supported argument