Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Aug 2014 11:53:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192501] security/libtomcrypt - add fpic flag
Message-ID:  <bug-192501-13-cJN1U2boV0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192501-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192501-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192501

--- Comment #5 from samm@os2.kiev.ua ---
(In reply to Tijl Coosemans from comment #4)
> Please don't add -fPIC like that.  It'll cause static libraries and
> executables to be build with as well and that's wrong.  Problems with -fPIC
> are almost always because a configure test fails, so please search
> config.log for -fPIC and see if there are any problems there.

In this case it's causing link error on the third party software depending on
this tool. As far as i could see this port generating only .a library:

root@bsd10:~ # pkg info -l libtomcrypt-1.17_2|grep -v include
libtomcrypt-1.17_2:
    /usr/local/lib/libtomcrypt.a


so i think that patch is ok. I am ok to apply it only to amd64 if needed.

-- 
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-192501-13-cJN1U2boV0>