Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2017 20:15:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224488] Should LDFLAGS+=-Wl,--as-needed be always added when USE_QT5=gui is used?
Message-ID:  <bug-224488-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 224488
           Summary: Should LDFLAGS+=3D-Wl,--as-needed be always added when
                    USE_QT5=3Dgui is used?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: freebsd-ports-bugs@FreeBSD.org

It appears that USE_QT5 always/often induces the unneeded OpenGL dependency.
The recipe to cure this has been floated around: to add
"LDFLAGS+=3D-Wl,--as-needed" in the individual ports. For example, this was=
 done
in this submission: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224=
470

Routinely adding such LDFLAGS to ports seems to be wrong to me. If --as-nee=
ded
changes the list of actually linked libraries, then the list needs to be fi=
xed
instead?

Does USE_QT5=3Dgui always supply wrong link flags, erroneously containing t=
he
opengl lib? Is this a problem of framework, or Qt ports, or Qt upstream?

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224488-13>