Created attachment 510466 [details] Full build log x11-plugins/bfm fails to build with the following error (with gcc 7.2.0): x86_64-pc-linux-gnu-gcc -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -Wl,-O1 -Wl,--as-needed -shared -Wl -o gkrellm-bfm.so fishmon.o bubblemon.o sys_linux.o gkrellm-bfm.o x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-Wl'; did you mean '-W'? Editing line 36 of x11-plugins/bfm/files/bfm-0.6.4-makefile.patch to remove -Wl allows building to complete (but I'm not sure it's the correct fix).
Removing the obsolete "-Wl" from the Makefile looks correct. (See also https://gcc.gnu.org/gcc-4.7/porting_to.html .)
Thanks for the report, yes it has probably been ages since I tested with USE=gkrellm :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a66de87e357b61b8fc9b7b02801bd7eab537cd3c commit a66de87e357b61b8fc9b7b02801bd7eab537cd3c Author: Bernard Cafarelli <voyageur@gentoo.org> AuthorDate: 2017-12-20 14:17:29 +0000 Commit: Bernard Cafarelli <voyageur@gentoo.org> CommitDate: 2017-12-20 14:17:37 +0000 x11-plugins/bfm: fix build with USE=gkrellm LDFLAGS still used an obsolete single "-Wl" option Closes: https://bugs.gentoo.org/641460 Package-Manager: Portage-2.3.19, Repoman-2.3.6 x11-plugins/bfm/files/bfm-0.6.4-makefile.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)