Created attachment 169267 [details]
portupgrade build log with error
While working on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206998 i got this error while linking MySQL 5.7.12 against security/libressl-devel-2.3.3
Linking against security/openssl-1.0.2_11 works without any error.
Attached build log produced by portupgrade.
Created attachment 169268 [details]
portupgrade build log with error and -fPIC for MySQL
This is the build log with enabled -fPIC for MySQL, which results in the same error.
Created attachment 169269 [details]
used portfiles to reproduce error
These are the portfiles i used to trigger the bug
Can you please try this a LibreSSL version that adds a
> CFLAGS+= -fPIC
to the Makefile and then recompile MySQL 5.7
This has been tested for D5902 and works. You can download a diff there but beware that this also updates LibreSSL to the now released 2.3 branch.
that solved the problem, thanks.
Will this go in for libressl-devel too?
Thanks for the confirmation!
Once the update for security/libressl is finished, this will also be committed to libressl-devel.
Thanks for your fast responds and the fix.
(In reply to Bernard Spil from comment #3)
Worked for me too ;)
poudirere QA confirmed 10.X 11.X :D
So we can continue on rest of MySQL stuffs (cause it fixed :D)
Thanks all guys.
A commit references this bug:
Date: Tue May 3 21:15:44 UTC 2016
New revision: 414560
security/libressl: Update to 2.3.4
- Upstream marked the 2.3 branch as stable
- Bump SHLIB_VERSION in bsd.openssl.mk
- Note SHLIB_VERSION bump and SSLv3 removal in UPDATING
- Add TLS-enabled netcat binary
- Fix linking issues with MySQL 5.7 
- Includes vulnerability fixes 
PR: 208759 
Security: 01d729ca-1143-11e6-b55e-b499baebfeaf 
Reviewed_by: feld (mentor), koobs (mentor)
Approved by: feld (mentor, ports-secteam)
Differential Revision: D5902