%% emerge --info Portage 2.2.00.13830-prefix (prefix/aix/6.1.0.0/ppc, gcc-4.2.4, unavailable, 1 00C47B0E4C00) ================================================================= System uname: AIX-1-00C47B0E4C00-32bit Timestamp of tree: Wed, 22 Jul 2009 21:50:05 +0000 app-shells/bash: 4.0_p24 dev-lang/python: 2.5.2-r8 sys-devel/autoconf: 2.63-r01.1 sys-devel/automake: 1.9.6-r2, 1.10.2-r00.1, 1.11 sys-devel/gcc-config: 1.4.0-r04.6 sys-devel/libtool: 2.2.6a-r00.1 ACCEPT_KEYWORDS="~ppc-aix" CBUILD="powerpc-ibm-aix6.1.0.0" CFLAGS="-O2 -pipe -fomit-frame-pointer" CHOST="powerpc-ibm-aix6.1.0.0" 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/aix-6.1/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests collision-protect distlocks fixpackages nodoc noinfo nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US" LDFLAGS="" LINGUAS="en" MAKEOPTS="-j3" PKGDIR="/home/jolexa/portage/aix-6.1/usr/portage/packages" PORTAGE_CONFIGROOT="/home/jolexa/portage/aix-6.1/" 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/aix-6.1/var/tmp" PORTDIR="/home/jolexa/portage/aix-6.1/usr/portage" PORTDIR_OVERLAY="/home/jolexa/portage/global/overlays" SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix" USE="bash-completion bzip2 cracklib midi ncurses perl ppc-aix 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="AIX" INPUT_DEVICES="keyboard mouse" KERNEL="AIX" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 198913 [details] build.log %% emerge -pv python These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] dev-lang/python-2.6.2-r01.1 [2.5.2-r8] USE="ncurses readline ssl threads xml -berkdb -build -doc -examples -gdbm -ipv6 -sqlite -tk -ucs2 -wininst" 0 kB
Similar error on AIX 5.3, bunch of warnings about duplicate symbols then: ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. Fatal Python error: Interpreter not initialized (version mismatch?) /home/jolexa/portage/aix-5.3/bin/bash: line 1: 737528 IOT/Abort trap (core dumped) CC='powerpc-ibm-aix5.3.0.0-gcc -pthread' LDSHARED='./Modules/ld_so_aix powerpc-ibm-aix5.3.0.0-gcc -pthread -bI:Modules/python.exp' OPT='-DNDEBUG -O2 -pipe -fomit-frame-pointer' ./python -E ./setup.py -q build make: *** [sharedmods] Error 134 ^[[31;01m*^[[0m ERROR: dev-lang/python-2.6.2-r01.1 failed:
powerpc-ibm-aix6.1.0.0-ranlib libpython2.6.a ./Modules/makexp_aix Modules/python.exp . libpython2.6.a; powerpc-ibm-aix6.1.0.0-gcc -pthread -L. -Wl,-bE:Modules/python.exp -lld -o python \ Modules/python.o \ libpython2.6.a -ldl -lm It looks like that command results in the zillion of duplicate symbols. Perhaps because it both uses python.o (Modules/python.o) and the libpython2.6.a static archive. What happens if you replay this command (starting from the gcc call) without libpython2.6a in it?
Fixed in r49058.
(In reply to comment #4) > Fixed in r49058. > confirmed, thx