bugzilla-daemon at mindrot.org
2003-Dec-08 16:59 UTC
[Bug 770] configure --without-rpath is incomplete
http://bugzilla.mindrot.org/show_bug.cgi?id=770
Summary: configure --without-rpath is incomplete
Product: Portable OpenSSH
Version: -current
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: djast at cs.toronto.edu
The --without-rpath flag to ./configure is supposed to mean "Disable
auto-added
-R linker paths". However, the "*-*-solaris*" section in
configure.ac contains
LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
need_dash_r=1
which includes the -R option unconditionally.
Other places within configure.ac (e.g., when determining linker options for
openssl, zlib, etc.) correctly check whether need_dash_r has been unset via
--without-rpath before including -R options for them.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-08 17:20 UTC
[Bug 770] configure --without-rpath is incomplete
http://bugzilla.mindrot.org/show_bug.cgi?id=770 ------- Additional Comments From tim at multitalents.net 2003-12-08 10:20 ------- Created an attachment (id=508) --> (http://bugzilla.mindrot.org/attachment.cgi?id=508&action=view) fix --without-rpath Please try this patch. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-08 19:23 UTC
[Bug 770] configure --without-rpath is incomplete
http://bugzilla.mindrot.org/show_bug.cgi?id=770 ------- Additional Comments From djast at cs.toronto.edu 2003-12-08 12:23 ------- (My autoconf is ancient; Tim sent me the configure script for 3.7.1p2 produced with the patch applied.) The fix seems to work for me: the Makefile is produced without the -R option for /usr/local/lib, as desired, and the 3.7.1p2 client and server compile and run okay. Thanks. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-Dec-08 20:40 UTC
[Bug 770] configure --without-rpath is incomplete
http://bugzilla.mindrot.org/show_bug.cgi?id=770
tim at multitalents.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From tim at multitalents.net 2003-12-08 13:40
-------
I've appiead the patch to HEAD and the V_3_7 branch.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.