Re: [Bug-wget] gcc: error: unrecognized command line option '-R'
On Sat, May 19, 2018 at 5:21 PM, Tim Rühsenwrote: > On 19.05.2018 20:53, Jeffrey Walton wrote: >> On Sat, May 19, 2018 at 12:27 PM, Tim Rühsen 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. Jeff
Re: [Bug-wget] gcc: error: unrecognized command line option '-R'
On 19.05.2018 20:53, Jeffrey Walton wrote: > On Sat, May 19, 2018 at 12:27 PM, Tim Rühsenwrote: >> 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 signature.asc Description: OpenPGP digital signature
Re: [Bug-wget] gcc: error: unrecognized command line option '-R'
On Sat, May 19, 2018 at 12:27 PM, Tim Rühsenwrote: > 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 Attached is config.log. It is the one for the Wget package. There is no separate fuzz/config.log. Jeff config.log.tar.gz Description: application/gzip
Re: [Bug-wget] gcc: error: unrecognized command line option '-R'
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. Regards, Tim On 19.05.2018 17:28, Jeffrey Walton wrote: > Hi Everyone, > > This looks like a new issue with Wget 1.19.5: > > make > ... > CC libunittest_a-version.o > AR libunittest.a > gmake[3]: Leaving directory '/home/Build-Scripts/wget-1.19.5/src' > gmake[2]: Leaving directory '/home/Build-Scripts/wget-1.19.5/src' > Making check in doc > ... > > gmake[4]: Leaving directory '/home/Build-Scripts/wget-1.19.5/src' > CCLD wget_css_fuzzer > gcc: error: unrecognized command line option '-R' > gmake[3]: *** [Makefile:1757: wget_css_fuzzer] Error 1 > > The config.log is attached. It looks like there is a bad interaction > with -Wl,-R,/usr/local/lib64, which is in my LDFLAGS. The complete > LDFLAGS used is: > > -L/usr/local/lib64 -m64 -Wl,-R,/usr/local/lib64 -Wl,--enable-new-dtags > > Jeff signature.asc Description: OpenPGP digital signature
[Bug-wget] gcc: error: unrecognized command line option '-R'
Hi Everyone, This looks like a new issue with Wget 1.19.5: make ... CC libunittest_a-version.o AR libunittest.a gmake[3]: Leaving directory '/home/Build-Scripts/wget-1.19.5/src' gmake[2]: Leaving directory '/home/Build-Scripts/wget-1.19.5/src' Making check in doc ... gmake[4]: Leaving directory '/home/Build-Scripts/wget-1.19.5/src' CCLD wget_css_fuzzer gcc: error: unrecognized command line option '-R' gmake[3]: *** [Makefile:1757: wget_css_fuzzer] Error 1 The config.log is attached. It looks like there is a bad interaction with -Wl,-R,/usr/local/lib64, which is in my LDFLAGS. The complete LDFLAGS used is: -L/usr/local/lib64 -m64 -Wl,-R,/usr/local/lib64 -Wl,--enable-new-dtags Jeff config.log.tar.gz Description: application/gzip