[Xfce-bugs] [Bug 7546] New: Disable --as-needed on OpenBSD

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Apr 28 11:14:34 CEST 2011


https://bugzilla.xfce.org/show_bug.cgi?id=7546

           Summary: Disable --as-needed on OpenBSD
    Classification: Xfce
           Product: Libxfce4util
           Version: Unspecified
          Platform: Other
        OS/Version: OpenBSD
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
        AssignedTo: xfce-bugs at xfce.org
        ReportedBy: landry at rhaalovely.net
         QAContact: nick at xfce.org


This should be reassigned to xfce4-dev-tools once there's a bugzilla component
for it.

-Wl,--as-needed (ie linker opts) shouldn't be added when --enable-debug=full is
used, as on OpenBSD things get messed up when --as-needed is used in
conjunction with -pthread. See
http://buildbot.xfce.org/builders/libxfce4util-openbsd/builds/14/steps/gmake%20distcheck/logs/stdio

Ideally, m4macros/xdt-features.m4 should do the AC_MSG_CHECKING([whether $LD
accepts --as-needed]) only if uname is != OpenBSD, as done for adding
-Wredundant-decls. Or conditionally add -Wl,--as-needed to LDFLAGS just below.

-- 
Configure bugmail: https://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list