Bug 689758

Summary: Shared Object Compile on 32 bit Solaris x86
Product: Ghostscript Reporter: Jonathan Adams <t12nslookup>
Component: Build ProcessAssignee: Ralph Giles <ralph.giles>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: P3    
Version: 8.62   
Hardware: PC   
OS: Solaris   
Customer: Word Size: ---
Attachments: ( gmake so 2>&1 ) > /tmp/libgs.log
my configuration log

Description Jonathan Adams 2008-03-20 05:01:37 UTC
tried in all versions from 8.60 up

failure to link libgs.so.8.62:

"Text relocation remains" ... about 64000 lines of relocation error.

I'm using the installed gcc 3.4.3 that came compiled with Solaris, it's compiled
with Sun's ld.

I have tried compiling with Sun's cc compiler, but it fails at the same stage.
Comment 1 Jonathan Adams 2008-03-20 05:03:49 UTC
Created attachment 3878 [details]
( gmake so 2>&1 ) > /tmp/libgs.log

This is the log of the specific failure, if you want to see the full log i have
it.
Comment 2 Jonathan Adams 2008-03-20 05:06:23 UTC
Created attachment 3879 [details]
my configuration log

I tried many configurations, but this is the config of the current build.

/opt/tools has a slightly newer version of SDL, GL and libz, not sure if it
used them, but it's a habit to include them.
Comment 3 Jonathan Adams 2008-03-20 05:11:23 UTC
just thought i'd add that the same config compiled happily in 8.57, and that gs
compiled as a non shared object happily (and when i had my LD_LIBRARY_PATH setup
to point to the old libgs.so and commented out the compile of libgs.so from
unix-dll.mak the rest built fine)
Comment 4 Ray Johnston 2008-05-15 07:36:15 UTC
Priorities are set by the Artifex staff. P1 and P2 are for licensed, supported
customer bugs, or those bugs deemed very important by us.
Comment 5 Jonathan Adams 2008-05-30 03:20:37 UTC
Another bug has been added to the system, for Sparc solaris that appears to be
the same problem:

http://bugs.ghostscript.com/show_bug.cgi?id=689872
Comment 6 Hin-Tak Leung 2008-08-28 05:56:28 UTC
quite possibly same as bug 686865 - and see the linker flag mod's there.

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