Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2015 11:35:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196588] [databases/libmemcached] -fPIE is not supported on older FreeBSD versions
Message-ID:  <bug-196588-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: software-freebsd@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196588-13>