Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Dec 2021 04:00:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260184] [devel/libowfat] Fix duplicate symbol: first_deferred when linking to libowfat
Message-ID:  <bug-260184-7788@https.bugs.freebsd.org/bugzilla/>

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

            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=3D229854&action=
=3Dedit
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/libowf=
at.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/libo=
wfat-0.32-gcc10.patch
tries to fix that.

- Bump PORTREVISION
- Add new patchfile for io_internal.h

--=20
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-260184-7788>