[4611/4615] cd /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkit-gtk-2.30.5_build && /usr/bin/cmake -E env CC=/usr/bin/x86_64-pc-linux-gnu-gcc "CFLAGS=-fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno[57/99621]o-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fno-strict-aliasing -fno-exceptions -Wno-unused-parameter" "LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold -Wl,--disable-new-dtags" /var/tmp/portage/net-libs/webkit-gtk-2.30.5/temp/python3.8/bin/python /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc --gtk && touch docs-build.stamp FAILED: docs-build.stamp cd /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkit-gtk-2.30.5_build && /usr/bin/cmake -E env CC=/usr/bin/x86_64-pc-linux-gnu-gcc "CFLAGS=-fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-psabi -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Os -pipe -march=native -Os -pipe -march=native -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -fno-strict-aliasing -fno-exceptions -Wno-unused-parameter" "LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold -Wl,--disable-new-dtags" /var/tmp/portage/net-libs/webkit-gtk-2.30.5/temp/python3.8/bin/python /var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc --gtk && touch docs-build.stamp ld.lld: error: unknown argument '-Wl,-O1' ld.lld: error: unknown argument '-Wl,--as-needed' ld.lld: error: unknown argument '-Wl,--no-keep-memory' ld.lld: error: unknown argument '-fuse-ld=gold' ld.lld: error: unknown argument '-Wl,--disable-new-dtags' ld.lld: error: unable to find library -lgobject-2.0 ld.lld: error: unable to find library -lglib-2.0 2021-03-17 22:17:26,419:scangobj.py:execute_command:1289:WARNING:Linking scanner failed: 1, command: ld.lld jsc-glib-4.0-scan.o -L/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkit-gtk-2.30.5_build/lib -ljavascriptcoregtk-4.0 -lgobject-2.0 -lglib-2.0 -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold -Wl,--disable-new-dtags -o jsc-glib-4.0-scan Traceback (most recent call last): File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc", line 254, in <module> build_gtkdoc_for_wkgtk(arguments) File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc", line 208, in build_gtkdoc_for_wkgtk saw_warnings = generate_documentation(jsc_generator) File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc", line 158, in generate_documentation return generate_doc(generator, arguments.skip_html) File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc", line 145, in generate_doc generator.generate(not skip_html) File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/gtkdoc.py", line 147, in generate self._run_gtkdoc_scangobj() File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/gtkdoc.py", line 337, in _run_gtkdoc_scangobj self._run_command(['gtkdoc-scangobj', '--module=%s' % self.module_name], File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/gtkdoc.py", line 218, in _run_command raise Exception(('%s produced a non-zero return code %i\n' Exception: gtkdoc-scangobj produced a non-zero return code 1 Command: gtkdoc-scangobj --module=jsc-glib-4.0 Error output: ld.lld: error: unknown argument '-Wl,-O1' ld.lld: error: unknown argument '-Wl,--as-needed' ld.lld: error: unknown argument '-Wl,--no-keep-memory' ld.lld: error: unknown argument '-fuse-ld=gold' ld.lld: error: unknown argument '-Wl,--disable-new-dtags' ld.lld: error: unable to find library -lgobject-2.0 ld.lld: error: unable to find library -lglib-2.0
Created attachment 692199 [details] buildlog
I'm hitting the same error without LLD ld: unrecognized option '-Wl,-O1' ld: use the --help option for usage information 2021-03-25 05:25:32,894:scangobj.py:execute_command:1289:WARNING:Linking scanner failed: 1, command: ld jsc-glib-4.0-scan.o -L/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkit-gtk-2.30.5_build/lib -ljavascriptcoregtk-4.0 -lgobject-2.0 -lglib-2.0 -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -fuse-ld=gold -Wl,--disable-new-dtags -o jsc-glib-4.0-scan Traceback (most recent call last): File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc", line 254, in <module> build_gtkdoc_for_wkgtk(arguments) File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc", line 208, in build_gtkdoc_for_wkgtk saw_warnings = generate_documentation(jsc_generator) File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc", line 158, in generate_documentation return generate_doc(generator, arguments.skip_html) File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/generate-gtkdoc", line 145, in generate_doc generator.generate(not skip_html) File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/gtkdoc.py", line 147, in generate self._run_gtkdoc_scangobj() File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/gtkdoc.py", line 337, in _run_gtkdoc_scangobj self._run_command(['gtkdoc-scangobj', '--module=%s' % self.module_name], File "/var/tmp/portage/net-libs/webkit-gtk-2.30.5/work/webkitgtk-2.30.5/Tools/gtkdoc/gtkdoc.py", line 218, in _run_command raise Exception(('%s produced a non-zero return code %i\n' Exception: gtkdoc-scangobj produced a non-zero return code 1 Command: gtkdoc-scangobj --module=jsc-glib-4.0 Error output: ld: unrecognized option '-Wl,-O1' ld: use the --help option for usage information
Created attachment 693462 [details] info emerge --info