[gs-bugs] [Bug 691510] New: issues with x11 device as dynamic module

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Fri Jul 30 01:00:41 UTC 2010


           Summary: issues with x11 device as dynamic module
           Product: Ghostscript
           Version: HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Build Process
        AssignedTo: support at artifex.com
        ReportedBy: hintak at ghostscript.com
         QAContact: gs-bugs at ghostscript.com
   Estimated Hours: 0.0

Created an attachment (id=6579)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=6579)
patch addressing those issues mentioned.

While looking at bug 690009, I noted a few issues with building the x11 device
as dynamic module:

all object files destined for shared libraries
 needed to be compiled with -fPIC but this is not the case for gdevxcmp, 
gsparamx and gdevemap. The first one is easiest to fix, just switching from
$(GLCC) to $(GLCCSHARED). The other two are more difficult as they
are required by other parts to be built as standard.


Also, all used of $(CC_SHARED) are for object files, rather than linking, so 
DYNAMIC_CFLAGS is more appropiate than DYNAMIC_LDLAGS.

The attached patch is one way of addressing the problems with gsparamx and
gdevemap - relying on the first one being available as part of psdf and
inserting the 2nd one bodily into where it is used for the 2nd; there are
probably better ways of doing the same thing.

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