[gs-bugs] [Bug 691208] New: Wrong compilation (as shared objects) of ghostscript loaders: gsc and gsx

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Mon Mar 22 12:04:19 UTC 2010


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

           Summary: Wrong compilation (as shared objects) of ghostscript
                    loaders: gsc and gsx
           Product: Ghostscript
           Version: 8.71
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Build Process
        AssignedTo: ralph.giles at artifex.com
        ReportedBy: piotr at eps.gda.pl
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0


In 8.71 release makefile of shared unix version was changed:

$ diff unix-dll.ma unix-dll.mak
13c13
< # $Id: unix-dll.mak 9085 2008-09-13 20:22:25Z giles $
---
> # $Id: unix-dll.mak 10180 2009-10-19 20:24:53Z giles $
[...]
82c82,83
<       $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c -L$(BINDIR) -l$(GS)
---
>       $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \
>       $(LDFLAGS) -L$(BINDIR) -l$(GS)
86c87
<       -L$(BINDIR) -l$(GS) $(SOC_LIBS)
---
>       $(LDFLAGS) -L$(BINDIR) -l$(GS) $(SOC_LIBS)
[...]

added LDFLAGS causes that gsc and gsx compiles as a SHARED OBJECT, not a
EXECUTABLE!

The fix is easy -- revert this two changes.

-- 
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