[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [bug #50260] Link failed caused by bad linker option -R
From: |
Yousong Zhou |
Subject: |
[Bug-wget] [bug #50260] Link failed caused by bad linker option -R |
Date: |
Fri, 10 Feb 2017 00:13:29 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 |
Follow-up Comment #4, bug #50260 (project wget):
The error happened with wget-1.19 vanilla tarball.
The -R option was probably from m4/lib-link.m4 (search for "-R$found_dir" in
that file) and according from the comment there, it was intended for libtool.
That macro in m4/lib-link.m4 was imported by the AM_ICONV macro in
configure.ac
Below is the related snippet in the generated src/Makefile after configure
run
LTLIBICONV='-L/home/yousong/.usr/lib -liconv -R/home/yousong/.usr/lib'
Note that I have those wget dependency libs including libiconv-1.14 in a
non-standard location ~/.usr/
This should be reproducible with the following steps
- clone the build-scripts git repo
- remove the do_patch func in build-wget.sh
- remove the PKG_AUTOCONF_FIXUP=1 in build-wget.sh
- "make wget/install/test" will build do the download, compile, install is
test_dir/ without polluting system-level settings.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50260>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-wget] [bug #50260] Link failed caused by bad linker option -R, Yousong Zhou, 2017/02/08
- [Bug-wget] [bug #50260] Link failed caused by bad linker option -R, Yousong Zhou, 2017/02/08
- [Bug-wget] [bug #50260] Link failed caused by bad linker option -R, Yousong Zhou, 2017/02/09
- [Bug-wget] [bug #50260] Link failed caused by bad linker option -R, Tim Ruehsen, 2017/02/09
- [Bug-wget] [bug #50260] Link failed caused by bad linker option -R,
Yousong Zhou <=
- [Bug-wget] [bug #50260] Link failed caused by bad linker option -R, Yousong Zhou, 2017/02/10
- [Bug-wget] [bug #50260] Link failed caused by bad linker option -R, Tim Ruehsen, 2017/02/10
- [Bug-wget] [bug #50260] Link failed caused by bad linker option -R, Yousong Zhou, 2017/02/10
- [Bug-wget] [bug #50260] Link failed caused by bad linker option -R, Tim Ruehsen, 2017/02/10