bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28858] Some relative relocations are missing when linking with -


From: hjl.tools at gmail dot com
Subject: [Bug ld/28858] Some relative relocations are missing when linking with -z pack-relative-relocs
Date: Thu, 03 Feb 2022 18:31:49 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-02-03
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
lld 13.0.0 gave me

ld.lld: error: ././AK/StringImpl.h:63:(.text+0x11E): unknown relocation (31)
against symbol memcmp
ld.lld: error: ././AK/StringImpl.h:69:(.text+0x1D2): unknown relocation (31)
against symbol AK::StringImpl::compute_hash() const
ld.lld: error: ./AK/FlyString.cpp:21:(.text+0x221): unknown relocation (31)
against symbol __assertion_failed(char const*, char const*, unsigned int, char
const*)
ld.lld: error: ././AK/Singleton.h:48:(.text+0x232): unknown relocation (31)
against symbol Kernel::ScopedCritical::ScopedCritical()
ld.lld: error: ././AK/Singleton.h:51:(.text+0x251): unknown relocation (31)
against symbol Kernel::Processor::is_smp_enabled()
ld.lld: error: ././Kernel/Arch/x86/Processor.h:167:(.text+0x27E): unknown
relocation (31) against symbol
Kernel::Processor::smp_process_pending_messages()
ld.lld: error: ././AK/Singleton.h:72:(.text+0x29F): unknown relocation (31)
against symbol Kernel::ScopedCritical::~ScopedCritical()
ld.lld: error: ./AK/FlyString.cpp:22:(.text+0x2E9): unknown relocation (31)
against symbol __assertion_failed(char const*, char const*, unsigned int, char
const*)
ld.lld: error: ././AK/Singleton.h:69:(.text+0x34D): unknown relocation (31)
against symbol __assertion_failed(char const*, char const*, unsigned int, char
const*)
ld.lld: error: ././AK/HashTable.h:397:(.text+0x38B): unknown relocation (31)
against symbol __assertion_failed(char const*, char const*, unsigned int, char
const*)
ld.lld: error: ././AK/HashTable.h:400:(.text+0x3C9): unknown relocation (31)
against symbol __assertion_failed(char const*, char const*, unsigned int, char
const*)
ld.lld: error: ././AK/Singleton.h:29:(.text+0x3D8): unknown relocation (31)
against symbol operator new(unsigned long)
ld.lld: error: ././AK/Singleton.h:72:(.text+0x415): unknown relocation (31)
against symbol Kernel::ScopedCritical::~ScopedCritical()
ld.lld: error: ./AK/FlyString.cpp:37:(.text+0x429): unknown relocation (31)
against symbol __stack_chk_fail
ld.lld: error: ./AK/FlyString.cpp:100:(.text+0x47A): unknown relocation (31)
against symbol AK::StringUtils::equals_ignoring_case(AK::StringView,
AK::StringView)
ld.lld: error: ././AK/StringView.h:28:(.text+0x4E1): unknown relocation (31)
against symbol __assertion_failed(char const*, char const*, unsigned int, char
const*)
ld.lld: error: ././Kernel/Library/ThreadSafeRefPtr.h:439:(.text+0x521): unknown
relocation (31) against symbol __assertion_failed(char const*, char const*,
unsigned int, char const*)
ld.lld: error: ./AK/FlyString.cpp:105:(.text+0x56F): unknown relocation (31)
against symbol AK::StringUtils::starts_with(AK::StringView, AK::StringView,
AK::CaseSensitivity)
ld.lld: error: ././AK/StringView.h:28:(.text+0x5D9): unknown relocation (31)
against symbol __assertion_failed(char const*, char const*, unsigned int, char
const*)
ld.lld: error: ././Kernel/Library/ThreadSafeRefPtr.h:439:(.text+0x621): unknown
relocation (31) against symbol __assertion_failed(char const*, char const*,
unsigned int, char const*)
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see
all errors)

-- 
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]