[Bug 260184] [devel/libowfat] Fix duplicate symbol: first_deferred when linking to libowfat
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260184] devel/libowfat: Fails to link: ld: error: duplicate symbol: first_deferred"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260184] devel/libowfat: Fails to link: ld: error: duplicate symbol: first_deferred"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 260184] devel/libowfat: Fails to link: ld: error: duplicate symbol: first_deferred"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Dec 2021 04:00:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260184
Bug ID: 260184
Summary: [devel/libowfat] Fix duplicate symbol: first_deferred
when linking to libowfat
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: lx@FreeBSD.org
Reporter: coco@executive-computing.de
Assignee: lx@FreeBSD.org
Flags: maintainer-feedback?(lx@FreeBSD.org)
Created attachment 229854
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229854&action=edit
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
--
You are receiving this mail because:
You are the assignee for the bug.