[Bug 196588] [databases/libmemcached] -fPIE is not supported on older FreeBSD versions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 7 11:35:40 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196588

            Bug ID: 196588
           Summary: [databases/libmemcached] -fPIE is not supported on
                    older FreeBSD versions
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: software-freebsd at interfasys.ch

Created attachment 151453
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151453&action=edit
patch removing -fPIE from CFLAGS

I'm not sure if any recent RELEASE version already supports -fPIE, but FreeBSD
9 does not.

Using gcc 4.9, the port will fail to compile because -fPIE is detected as
supported by the compiler, when it can't create working PIE binaries.

I've attached a "quick fix" patch, but have noticed that it will fail later on
due to missing -pthread and later with this error:
/libtest/exception.hpp:83:13: error: 'va_list' has not been declared
   void init(va_list);

Seems this release is pretty broken :S

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list