[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: Jeffrey Walton
Subject: Re: [Bug-wget] gcc: error: unrecognized command line option '-R'
Date: Sat, 19 May 2018 14:53:25 -0400

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
       LDLIBS: -ldl -lpthread

Attached is config.log. It is the one for the Wget package. There is
no separate fuzz/config.log.


Attachment: config.log.tar.gz
Description: application/gzip

reply via email to

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