OpenJDK ports and 13-CURRENT

Thierry Thomas thierry at freebsd.org
Sat Oct 10 20:50:31 UTC 2020


Le sam. 10 oct. 20 à 21:49:26 +0200, Shawn Webb <shawn.webb at hardenedbsd.org>
 écrivait :

> > Ah, that is -fno-common fallout, strange that there is no build breakage
> > reported in the FreeBSD ports build cluster?
> > 
> > From gcc 10 and clang 11 onwards, -fno-common is the default (this is
> > really a historical mistake, -fcommon should never have been default).
> > 
> > It can result in link errors, if duplicate symbols exist in object
> > files. There is a suprising amount of software that makes this very
> > basic mistake!
> > 
> > The quick way to work around these errors is to set -fcommon in CFLAGS,
> > which will basically fudge around the actual issue. The better way is to
> > get rid of the duplicated symbols. This is usually easy, except that
> > Java ports tend to take ages to build. :) I'll submit a patch when my
> > machine's finished crunching through it.
> 
> Yup. Another victim: print/tex-luatex:
> 
> https://git-01.md.hardenedbsd.org/HardenedBSD/hardenedbsd-ports/commit/229b7663bc82ff7e471dc1e19662f68d4226984a

There is a meta-PR for that:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248756

Regards.
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20201010/e72a9787/attachment.sig>


More information about the freebsd-ports mailing list