gcc -shared -O2 -pipe -o ../lib/powerpc-darwin/libpl.so.5.4.7 -Wl,-soname=libpl.so.5.4.7 \ pl-atom.o pl-wam.o pl-stream.o pl-error.o pl-arith.o pl-bag.o pl-comp.o pl-rc.o pl-dwim.o pl-ext.o pl-file.o pl-flag.o pl-fmt.o pl-funct.o pl-gc.o pl-glob.o pl-itf.o pl-list.o pl-load.o pl-modul.o pl-op.o pl-os.o pl-prims.o pl-pro.o pl-proc.o pl-prof.o pl-read.o pl-rec.o pl-rl.o pl-setup.o pl-sys.o pl-table.o pl-trace.o pl-util.o pl-wic.o pl-write.o pl-term.o pl-buffer.o pl-thread.o pl-xterm.o pl-feature.o pl-ctype.o pl-beos.o pl-attvar.o pl-gvar.o pl-btree.o pl-main.o rc/access.o rc/build.o rc/html.o rc/util.o -ldl -lncurses -lm -lpthread gcc: unrecognized option `-shared' ar r ../lib/powerpc-darwin/libpl.a pl-atom.o pl-wam.o pl-stream.o pl-error.o pl-arith.o pl-bag.o pl-comp.o pl-rc.o pl-dwim.o pl-ext.o pl-file.o pl-flag.o pl-fmt.o pl-funct.o pl-gc.o pl-glob.o pl-itf.o pl-list.o pl-load.o pl-modul.o pl-op.o pl-os.o pl-prims.o pl-pro.o pl-proc.o pl-prof.o pl-read.o pl-rec.o pl-rl.o pl-setup.o pl-sys.o pl-table.o pl-trace.o pl-util.o pl-wic.o pl-write.o pl-term.o pl-buffer.o pl-thread.o pl-xterm.o pl-feature.o pl-ctype.o pl-beos.o pl-attvar.o pl-gvar.o pl-btree.o pl-main.o rc/access.o rc/build.o rc/html.o rc/util.o ld: unknown flag: -soname=libpl.so.5.4.7 ar: creating archive ../lib/powerpc-darwin/libpl.a make: *** [../lib/powerpc-darwin/libpl.so.5.4.7] Error 1 make: *** Waiting for unfinished jobs.... ranlib: file: ../lib/powerpc-darwin/libpl.a(pl-beos.o) has no symbols ranlib ../lib/powerpc-darwin/libpl.a make: *** Waiting for unfinished jobs.... ranlib: file: ../lib/powerpc-darwin/libpl.a(pl-beos.o) has no symbols Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.52-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh) ================================================================= System uname: 8.2.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X Xaw3d aalib altivec berkdb bzip2 cdr cups curl dga dynagraph ecc emboss flac gd gif idea ipv6 javascript jpeg ldap lesstif libwww mad motif neXt nls ogg opengl png ppc-macos python qt sdl slang speex sqlite ssl tetex tiff unicode vorbis xinerama xv zlib userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
should try something newer, like 5.5.39 anything else is unsupported upstream
Created attachment 73952 [details, diff] patch for 5.4.7 Since UvA calls 5.4.* stable, and 5.5.* has way to many USE-flags I gave patching 5.4.7 a try. Officially it should be MacOSX aware, but it doesn't even know what dylibs are. Result is a bit large patch. Not sure about its sanity. I found no evidence that 5.5.* source is better in this regard.
yes, but ive talked with their developers and they'd rather we push 5.5.x than 5.4.x plus, unless your patch applies against the latest 5.5.x (cvs), it's useless to send upstream
hmmm... ok. I don't feel like going through the deps of 5.5.* right now. Will see later if the 5.5 has the same problems and if patching nicely allows to do so.
swi-prolog-lite-5.5.39 as ~ppc-macos in portage