[Bug 1725] New: use x11.pc when linking gnome-ssh-askpass2

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Mar 2 00:51:56 EST 2010


https://bugzilla.mindrot.org/show_bug.cgi?id=1725

           Summary: use x11.pc when linking gnome-ssh-askpass2
           Product: Portable OpenSSH
           Version: 5.3p1
          Platform: Other
               URL: http://bugs.debian.org/555951
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build system
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: cjwatson at debian.org


Created an attachment (id=1799)
 --> (https://bugzilla.mindrot.org/attachment.cgi?id=1799)
explicitly link against libX11

The new 'gold' linker in binutils is a little stricter than traditional
ld; in particular, it defaults to --no-add-needed, which effectively
means that it requires applications to explicitly link against
libraries that provide functions that they explicitly call.  (Obviously
inter-library linkage doesn't have to be specified by the application -
that would be unreasonable.)

Since gnome-ssh-askpass2 uses XUngrabServer (incidentally, why doesn't
it use gdk_x11_ungrab_server to go with the existing call to
gdk_x11_grab_server?), it should link against libX11 itself as well as
relying on libgdk-x11's linkage.

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


More information about the openssh-bugs mailing list