[Top][All Lists]

[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: Sat, 19 May 2018 23:21:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 19.05.2018 20:53, Jeffrey Walton wrote:
> On Sat, May 19, 2018 at 12:27 PM, Tim Rühsen <address@hidden> wrote:
>> Hi Jeff,
>> could you 'cd fuzz', then 'make -j1 V=1' and send us the ouput ?
>> It should include the full gcc command line.
>> Please attach your config.log.
> Thanks Tim.
> $ cd wget-1.19.5
> $ make check V=1
> ...
> 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.

Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]