This seem to have been KEYWORDED ppc without sufficent testing. output from the ebuild: I used the command: gcc -o try -O3 -pipe -mcpu=750 -mpowerpc-gfxopt -fsigned-char -DDEBUGGING -fno-strict-aliasing -L/usr/local/lib try.c -lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil ./try and I got the following output: /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.1/../../../libdb.so: undefined reference to `pthread_mutexattr_destroy' /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.1/../../../libdb.so: undefined reference to `pthread_mutexattr_init' /usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.1/../../../libdb.so: undefined reference to `pthread_mutex_trylock' collect2: ld returned 1 exit status I can't compile the test program. You have a BIG problem. Shall I abort Configure [y] Ok. Stopping Configure. !!! ERROR: sys-devel/perl-5.6.1-r9 failed. !!! Function src_compile, Line 69, Exitcode 1 !!! (no error message) this is on a Powerbook G3 (Pismo) with: gcc-3.2.1 binutils-2.13.90.0.16 glibc-2.3.1-r2
what version(s) of db?
Calum, I need to ask you to rsync and try again. Lolo made a fix, shouldn't have affected your configure running, but still. I will also need to know which version of db you are running. db-4 was yanked and -arch'd (not ~arched). If you have db-4 running, there is nothing I can do for you - it's a bad build of db. PPC testers were provided by -core and #-dev ppc users. I didn't unmask this for ppc carelessly or haphazardly.
sys-libs/db-1.85-r1 sys-libs/db-3.2.9-r1 sys-libs/db-4.1.24
Calum, Your issue is with db-4, not perl. Unmerge db-4, re-emerge db-3, then emerge perl. db-4 was pulled for this reason (not specific to perl).
Add -lpthreads to that linkline and it should work
Calum, Is this still causing you problems?
Calum, Please respond. Gerk has tested the latest ebuild for ppc and given it his OK. I need to know whether this is still giving you trouble or not.
Michael ... sorry not getting back to you earlier. Yes, it was indeed the db-4 package that was at issue. I have since unmerged db-4 and perl built (and seems to run as expected). I didn't KEYWORD ppc (along with ExtUtils-MakeMaker) but I think it's probably safe to do so.
Calum, No problem. Actually, we had to do a security release for perl 5.6.1 and bump the -r number after you submitted this report, and Gerk confirmed that build was good and unmasked it for ppc. I'm going to go ahead and close this out. Glad it all worked out, Michael