[exim-dev] [Bug 1584] New: Build failure with gcc-5 due to P…

Top Page
Delete this message
Reply to this message
Author: Jaroslav Škarvada
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1584] New: Build failure with gcc-5 due to PIC/PIE mismatch
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1584
           Summary: Build failure with gcc-5 due to PIC/PIE mismatch
           Product: Exim
           Version: N/A
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Unfiled
        AssignedTo: nigel@???
        ReportedBy: jskarvad@???
                CC: exim-dev@???



Created an attachment (id=786)
--> (http://bugs.exim.org/attachment.cgi?id=786)
Quick and dirty fix we have used in Fedora

It seems the Makefiles have support for PIC but doesn't support PIE. This means
that lookups, which are shared objects, are also compiled with PIC. But shared
objects should be compiled with PIE. It seems that gcc-5 is a bit more
restrictive about it and the build is now failing with gcc-5.

Version:
exim-4.85


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email