[gs-bugs] [Bug 691315] New: 'make so' fails with "ld: fatal: relocations remain against allocatable but non-writable sections"

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Tue May 18 02:44:10 UTC 2010


http://bugs.ghostscript.com/show_bug.cgi?id=691315

           Summary: 'make so' fails with "ld: fatal: relocations remain
                    against allocatable but non-writable sections"
           Product: Ghostscript
           Version: 8.71
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Build Process
        AssignedTo: hintak at ghostscript.com
        ReportedBy: ken at hero.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


In trying to "make so" the linking fails.

I changed the link line for the last step and got it to work:

diff soobj/ldt.tr soobj/foo.tr
1c1
< gcc -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.71
./obj/../soobj/gsromfs1.o ./obj/../soobj/gs.o ./obj/../soobj/gp_getnv.o \
---
> gld -shared -soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.71 ./obj/../soobj/gsromfs1.o ./obj/../soobj/gs.o ./obj/../soobj/gp_getnv.o \


-KB

-- 
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the gs-bugs mailing list