Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865625 - net-libs/webkit-gtk-2.36.6 - ld: error: Source/WebCore/CMakeFiles/WebCore.dir/./__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-61.cpp.o: ELF section name out of range collect2: error: ld returned 1 exit status
Summary: net-libs/webkit-gtk-2.36.6 - ld: error: Source/WebCore/CMakeFiles/WebCore.dir...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-17 22:08 UTC by ernsteiswuerfel
Modified: 2022-08-27 14:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (amd64, 2.36.6) (webkit-gtk-2.36.6:20220817-232404.log.xz,135.53 KB, application/x-xz)
2022-08-17 22:08 UTC, ernsteiswuerfel
Details
emerge --info (file_865625.txt,6.50 KB, text/plain)
2022-08-17 22:09 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-08-17 22:08:51 UTC
Created attachment 799993 [details]
build.log.xz (amd64, 2.36.6)

[...]
FAILED: lib/libwebkit2gtk-4.0.so.37.56.10 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -fdiagnostics-color=always -Wextra -Wall -pipe -Wno-expansion-to-defined -Wno-odr -Wno-stringop-overread -Wno-nonnull -Wno-array-bounds -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -O2 -march=znver3 -mtune=znver3 -pipe -fno-strict-aliasing -fno-exceptions -fno-rtti  -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -Wl,--disable-new-dtags   -Wl,--version-script,/var/tmp/portage/net-libs/webkit-gtk-2.36.6/work/webkitgtk-2.36.6/Source/WebKit/webkitglib-symbols.map -shared -Wl,-soname,libwebkit2gtk-4.0.so.37 -o lib/libwebkit2gtk-4.0.so.37.56.10 @CMakeFiles/WebKit.rsp  && :
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: Source/WebCore/CMakeFiles/WebCore.dir/./__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-61.cpp.o has a corrupt string table index - ignoring
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: Source/WebCore/CMakeFiles/WebCore.dir/./__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-61.cpp.o: ELF section name out of range
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: net-libs/webkit-gtk-2.36.6::gentoo failed (compile phase):
 *   ninja -v -j24 -l26 failed
Comment 1 ernsteiswuerfel archtester 2022-08-17 22:09:41 UTC
Created attachment 799995 [details]
emerge --info
Comment 2 Matt Turner gentoo-dev 2022-08-22 23:50:46 UTC
This didn't occur with older versions? Why would it only affect 2.36.6?
Comment 3 Matt Turner gentoo-dev 2022-08-24 15:02:07 UTC
Removing as a blocker since I cannot reproduce it, and it's reported against amd64 where 2.36.6 is already stable.
Comment 4 ernsteiswuerfel archtester 2022-08-27 14:06:19 UTC
Turns out this was due to filesystem corruption in my zram /var/tmp on this machine. I 'fixed' the issue by using other mount options for zram_var_tmp and now webkit-gtk just builds fine.

Closing here. Sorry for the noise!