Bug 2191

Summary: relocation R_X86_64_32 against `com::redhat::ftk::Stripchart::class$' can not be used when making a shared object; recompile with -fPIC
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Diego Novillo <dnovillo>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 2127    

Description Andrew Cagney 2006-01-21 21:19:27 UTC
/usr/bin/gcj4 -shared Stripchart.o
-L/usr/src/build/683379-x86_64/install//usr/lib64/frysk -lgtkjava -lcairojava
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0
-lpangoft2-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
-lglibjava \
        -Wl,-soname -Wl,libftkjava.so -o libftkjava.so
/usr/bin/ld: Stripchart.o: relocation R_X86_64_32 against
`com::redhat::ftk::Stripchart::class$' can not be used when making a shared object;
recompile with -fPIC
Stripchart.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

from a scratch build based on frysk-0.0.1.2006.01.13-0.EL4.7, I've a feeling
this is fixed upstream?

(Of course the build getting this far implies that any of the earlier build
problems have been fixed! :-)
Comment 1 Diego Novillo 2006-01-26 18:38:02 UTC
Fixed.