[Bug 1738] New: openbsd-compat wants xstrdup but it's in libssh.a
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Tue Mar 23 22:46:09 EST 2010
https://bugzilla.mindrot.org/show_bug.cgi?id=1738
Summary: openbsd-compat wants xstrdup but it's in libssh.a
Product: Portable OpenSSH
Version: 5.4p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: alanh at fairlite.co.uk
Created an attachment (id=1816)
--> (https://bugzilla.mindrot.org/attachment.cgi?id=1816)
provide provde xstrdup for bsd-misc.c
When building a static only openssh the link order is -lssh
-lopenbsd-compat. But xstrdup exists in bsd-misc.c (and an aix file).
The problem is that on a static only build xstrdup is in libssh.a and
yet openbsd-compat needs it and fails because of the link order.
This patch adds a private copy of xstrdup to bsd-misc.c but doesn't fix
the aix file, as most will probably never build static only on AIX.
--
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