[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] gcc: error: unrecognized command line option '-R'
From: |
Tim Rühsen |
Subject: |
Re: [Bug-wget] gcc: error: unrecognized command line option '-R' |
Date: |
Sun, 20 May 2018 11:13:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 19.05.2018 23:44, Jeffrey Walton wrote:
> On Sat, May 19, 2018 at 5:21 PM, Tim Rühsen <address@hidden> wrote:
>> On 19.05.2018 20:53, Jeffrey Walton wrote:
>>> On Sat, May 19, 2018 at 12:27 PM, Tim Rühsen <address@hidden> wrote:
>>> ...
>>> make[4]: Entering directory '/home/Build-Scripts/wget-1.19.5/src'
>>> make[4]: Leaving directory '/home/jwalton/Build-Scripts/wget-1.19.5/src'
>>> gcc -Wno-unused-parameter -Wno-pedantic -I/usr/local/include
>>> -I/usr/local/include -I/usr/local/include -DNDEBUG -g2 -O2 -m64
>>> -march=native -fPIC -L/usr/local/lib64 -m64 -Wl,-R,/usr/local/lib64
>>> -Wl,--enable-new-dtags -o wget_css_fuzzer wget_css_fuzzer.o main.o
>>> ../src/libunittest.a ../lib/libgnu.a -L/usr/local/lib64 -liconv
>>> -R/usr/local/lib64 -lpthread -ldl -L/usr/local/lib64 -lpcre
>>> -lidn2 /usr/local/lib64/libssl.so /usr/local/lib64/libcrypto.so
>>> -Wl,-rpath -Wl,/usr/local/lib64 -ldl -L/usr/local/lib64 -lz
>>> -L/usr/local/lib64 -lpsl -ldl -lpthread
>>> gcc: error: unrecognized command line option '-R'
>>> make[3]: *** [Makefile:1757: wget_css_fuzzer] Error 1
>>>
>>> Some of the command above looks a little unusual. For example:
>>>
>>> -Wl,-rpath -Wl,/usr/local/lib64
>>>
>>> Here are the variables I configure with:
>>>
>>> PKGCONFIG: /usr/local/lib64/pkgconfig
>>> CPPFLAGS: -I/usr/local/include -DNDEBUG
>>> CFLAGS: -g2 -O2 -m64 -march=native -fPIC
>>> CXXFLAGS: -g2 -O2 -m64 -march=native -fPIC
>>> LDFLAGS: -L/usr/local/lib64 -m64 -Wl,-R,/usr/local/lib64
>>> -Wl,--enable-new-dtags
>>> LDLIBS: -ldl -lpthread
>>>
>> Could you please change $(LTLIBICONV) to $(LIBICONV) in
>> fuzz/Makefile.am, then autoreconf -fi and ./configure, ...
>>
>> I think it's that wrong variable used there.
> Yes, that was it. Thanks.
Thanks for testing. I couldn't have figured it out without your config.log.
The change is pushed to master.
Regards, Tim
signature.asc
Description: OpenPGP digital signature