Summary: | net-libs/webkit-gtk-2.30.5 error: unknown argument '-Wl,-O1' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alessandro Barbieri <lssndrbarbieri> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | erhard_f |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
buildlog
info build.log.xz (amd64, 2.44.4-r600) |
Description
Alessandro Barbieri
2021-03-18 00:08:21 UTC
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
Created attachment 912714 [details]
build.log.xz (amd64, 2.44.4-r600)
Current 2.44.4-r600 builds fine with current gcc-14.2.1_p20241116 and LDFLAGS="-Wl,-O1 -Wl,--as-needed".
Closing as obsolete.
|