Bug 689834

Summary: "make so" fails in 64bit linux (debian)
Product: Ghostscript Reporter: Joe Higton <joe>
Component: Build ProcessAssignee: Ralph Giles <ralph.giles>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P4    
Version: 8.62   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---

Description Joe Higton 2008-05-12 04:57:57 UTC
I can't build the shared object for 8.62 or 8.61 in debian (etch). I am using
the amd64 variant. I can build 8.57 shared object fine, and I can build the main
gs target in 8.62 fine as well. The make so process chokes at:

if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
        XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
        FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
        DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
        DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
        DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
        DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
        DEVICE_DEVS_EXTRA= \
        /bin/sh <./obj/../soobj/ldt.tr
/usr/bin/ld: ./obj/../soobj/gs.o: relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
./obj/../soobj/gs.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
Comment 1 Hin-Tak Leung 2008-08-28 05:33:45 UTC
Same issue as an existing bug (which had a patch not yet reviewed/integrated).

*** This bug has been marked as a duplicate of 689396 ***