Bug 3526

Summary: skipping incompatible /usr/lib/gcc/ppc64-redhat-linux/4.1.1/libgcj.so when searching for -lgcj
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2188, 3385, 2654    

Description Phil Muldoon 2006-11-15 21:11:11 UTC
Cause builds on ppc64 to fail. Might be transient rawhide issues.

-bash-3.1$ cat /etc/redhat-release 
Fedora Core release 6 (Rawhide)

uname -a

-bash-3.1$ uname -a 
Linux tooma 2.6.18-1.2699.fc6 #1 SMP Tue Sep 26 23:53:42 EDT 2006 ppc64 ppc64
ppc64 GNU/Linux

 gcc -DPACKAGE_NAME=\"frysk\" -DPACKAGE_TARNAME=\"frysk\"
-DPACKAGE_VERSION=\"0.0.1.2006.11.15\" -DPACKAGE_STRING=\"frysk\
0.0.1.2006.11.15\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"frysk\"
-DVERSION=\"0.0.1.2006.11.15\"  -I. -I../../../frysk/frysk-imports/tests   
-Werror -Wall -I../../../frysk/frysk-imports/include -g -O -c -o
frysk2595/ptrace_peek_wrong_thread.o
../../../frysk/frysk-imports/tests/frysk2595/ptrace_peek_wrong_thread.c
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/ppc64-redhat-linux/4.1.1/libgcj.so when searching for -lgcj
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/ppc64-redhat-linux/4.1.1/libgcj.so when searching for -lgcj
/usr/bin/ld: cannot find -lgcj
collect2: ld returned 1 exit status
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/ppc64-redhat-linux/4.1.1/libgcj.so when searching for -lgcj
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/ppc64-redhat-linux/4.1.1/libgcj.so when searching for -lgcj
/usr/bin/ld: cannot find -lgcj
collect2: ld returned 1 exit status
Comment 1 Andrew Cagney 2006-11-16 15:22:36 UTC
There are commands for checking which rpm a file belongs to, and that the file
came from an rpm; might want to first do that.
Comment 2 Phil Muldoon 2006-11-16 15:43:34 UTC
-bash-3.1$ rpm -qf /usr/lib/gcc/ppc64-redhat-linux/4.1.1/libgcj.so
libgcj-devel-4.1.1-30
libgcj-devel-4.1.1-30

I don't maintain this machine, so not sure if this was user installed, or
something that was downloaded from yum.
Comment 3 Andrew Cagney 2006-11-24 17:01:58 UTC
See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=217069
Problems with libgcj, fixed in updates (if they ever install).