Created attachment 229854 [details] git diff Hi there. It would seem, that as a result of defaulting to -fno_common instead of -fcommon, ports depending on devel/libowfat break. One example is www/gatling: ld: error: duplicate symbol: first_deferred >>> defined at io_close.c >>> io_close.o:(first_deferred) in archive /usr/local/lib/libowfat.a >>> defined at io_fd.c >>> io_fd.o:(.bss+0xD8) in archive /usr/local/lib/libowfat.a This small patch, the idea for which I have blatantly stolen from https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/libowfat/files/libowfat-0.32-gcc10.patch tries to fix that. - Bump PORTREVISION - Add new patchfile for io_internal.h
Created attachment 229855 [details] poudriere and portlint output
Maintainer reset.
devel/libowfat builds fine now.
The patch is for fixing the depending ports.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c983a807cafca5e32628dfa1b5808207b0292b91 commit c983a807cafca5e32628dfa1b5808207b0292b91 Author: Marco Steinbach <coco@executive-computing.de> AuthorDate: 2023-02-20 18:05:18 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2023-02-20 18:05:18 +0000 devel/libowfat: Fix depending ports build with -fno-common This small patch, the idea for which I have blatantly stolen from https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/libowfat/files/libowfat-0.32-gcc10.patch tries to fix that. PR: 260184 devel/libowfat/Makefile | 1 + devel/libowfat/files/patch-io_internal.h (new) | 11 +++++++++++ 2 files changed, 12 insertions(+)