bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/28019] New: ld killed by OOM killer linking QtWebengine 5.15


From: be.0 at gmx dot com
Subject: [Bug ld/28019] New: ld killed by OOM killer linking QtWebengine 5.15
Date: Sun, 27 Jun 2021 14:44:56 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28019

            Bug ID: 28019
           Summary: ld killed by OOM killer linking QtWebengine 5.15
           Product: binutils
           Version: 2.35.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: be.0 at gmx dot com
  Target Milestone: ---

Building Qt 5.15 with KDE's patches (https://invent.kde.org/qt/qt/qt5) on
Fedora 34 with binutils-2.35.1-41.fc34.x86_64, linking QtWebEngineCore gets
killed by the OOM killer. Build instructions are on the Qt wiki
(https://wiki.qt.io/Building_Qt_5_from_Git). It needs this small patch to build
with GCC 11:

diff --git
a/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
b/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
index 11ae91cfeca..58c6db27bd6 100644
---
a/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
+++
b/chromium/third_party/perfetto/src/trace_processor/containers/string_pool.h
@@ -22,6 +22,7 @@

 #include <unordered_map>
 #include <vector>
+#include <limits>

 #include "perfetto/ext/base/optional.h"
 #include "perfetto/ext/base/paged_memory.h"

The command that crashes is:

g++ @/home/be/qt5-build/qtwebengine/src/core/debug/QtWebEngineCore_o.rsp
-Wl,--start-group
@/home/be/qt5-build/qtwebengine/src/core/debug/QtWebEngineCore_a.rsp
-Wl,--end-group -Wl,-z,noexecstack -Wl,--fatal-warnings -fPIC -Wl,-z,relro
-Wl,-z,now -Wl,-z,defs -m64 -rdynamic -Wl,--enable-new-dtags
-Wl,-rpath=/home/be/qt5-installed/lib -Wl,-whole-archive -lqtwebenginecoreapi
-Wl,-no-whole-archive -Wl,--no-undefined
-Wl,--version-script,QtWebEngineCore.version -Wl,--enable-new-dtags
-Wl,-z,origin -Wl,-rpath,\$ORIGIN -shared -Wl,-Bsymbolic-functions
-Wl,-soname,libQt5WebEngineCore.so.5 -o libQt5WebEngineCore.so.5.15.3  
/home/be/qt5-build/qtdeclarative/lib/libQt5Quick.so
/home/be/qt5-build/qtbase/lib/libQt5Gui.so
/home/be/qt5-build/qtdeclarative/lib/libQt5QmlModels.so
/home/be/qt5-build/qtwebchannel/lib/libQt5WebChannel.so
/home/be/qt5-build/qtdeclarative/lib/libQt5Qml.so
/home/be/qt5-build/qtbase/lib/libQt5Network.so
/home/be/qt5-build/qtlocation/lib/libQt5Positioning.so
/home/be/qt5-build/qtbase/lib/libQt5Core.so -lpthread -lGL -lpthread -ldl -lrt
-lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -levent -lresolv -ljpeg -lm
-lopus -lvpx -lpng16 -lz -lwebpmux -lwebpdemux -lwebp -lfreetype -lexpat
-lfontconfig -lharfbuzz-subset -lharfbuzz -lre2 -lxkbcommon -ldbus-1 -lpci
-lasound -lsnappy -llcms2 -L/home/be/qt5-build/qtwebengine/src/core/api/debug
-lGL

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]