Created
October 13, 2022 13:02
-
-
Save Quaker762/7ee51cd0cdbb92861f436d8957b99f3a to your computer and use it in GitHub Desktop.
Compiler errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FAILED: Kernel/CMakeFiles/Kernel.dir/Thread.cpp.o | |
/usr/bin/ccache /home/quaker/SerenityOS/serenity-aarch64/serenity/Toolchain/Local/aarch64/bin/aarch64-pc-serenity-g++ --sysroot=/home/quaker/SerenityOS/serenity-aarch64/serenity/Build/superbuild-aarch64/../aarch64/Root -DENABLE_COMPILETIME_FORMAT_CHECK -DKERNEL -DSANITIZE_PTRS -I/home/quaker/SerenityOS/serenity-aarch64/serenity/. -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Libraries -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Libraries/LibC -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Libraries/LibCrypt -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Libraries/LibSystem -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland/Services -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Userland -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Build/aarch64 -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Build/aarch64/Userland/Services -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Build/aarch64/Userland/Libraries -I/home/quaker/SerenityOS/serenity-aarch64/serenity/Build/aarch64/Userland -pie -fpic -static-pie -fsanitize=undefined -Wall -Wextra -Werror -Wno-address-of-packed-member -Wcast-qual -Wdeprecated-copy -Wduplicated-cond -Wformat=2 -Wimplicit-fallthrough -Wlogical-op -Wmisleading-indentation -Wmissing-declarations -Wnon-virtual-dtor -Wsuggest-override -Wno-unknown-warning-option -Wundef -Wunused -Wno-unused-command-line-argument -Wwrite-strings -fdiagnostics-color=always -fno-delete-null-pointer-checks -ffile-prefix-map=/home/quaker/SerenityOS/serenity-aarch64/serenity=. -fno-exceptions -fno-semantic-interposition -fsized-deallocation -fstack-clash-protection -fstack-protector-strong -g1 -Wno-literal-suffix -Wno-maybe-uninitialized -Wno-expansion-to-defined -Wcast-align -Wdouble-promotion -O2 -mno-outline-atomics -latomic -Wno-nonnull -fsigned-char -Wvla -Wnull-dereference -fno-rtti -ffreestanding -fbuiltin -mgeneral-regs-only -fno-asynchronous-unwind-tables -nodefaultlibs -nostdlib -fzero-call-used-regs=used-gpr -fno-threadsafe-statics -std=c++20 -MD -MT Kernel/CMakeFiles/Kernel.dir/Thread.cpp.o -MF Kernel/CMakeFiles/Kernel.dir/Thread.cpp.o.d -o Kernel/CMakeFiles/Kernel.dir/Thread.cpp.o -c /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp | |
In file included from /home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Singleton.h:10, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:8: | |
In member function 'T AK::Atomic<T, DefaultMemoryOrder>::load(AK::MemoryOrder) const volatile [with T = long unsigned int; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'T* AK::NonnullLockRefPtr<T>::as_nonnull_ptr() const [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:225:34, | |
inlined from 'T* AK::NonnullLockRefPtr<T>::operator->() [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:156:30, | |
inlined from 'Kernel::DispatchSignalResult Kernel::Thread::dispatch_signal(u8)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:984:29: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:322:31: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
322 | return __atomic_load_n(&m_value, order); | |
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
In member function 'void AK::Atomic<T, DefaultMemoryOrder>::store(T, AK::MemoryOrder) volatile [with T = bool; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'Kernel::DispatchSignalResult Kernel::Thread::dispatch_signal(u8)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:997:46: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:334:25: error: 'void __atomic_store_1(volatile void*, unsigned char, int)' writing 1 byte into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
334 | __atomic_store_n(&m_value, desired, order); | |
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In member function 'T AK::Atomic<T, DefaultMemoryOrder>::load(AK::MemoryOrder) const volatile [with T = long unsigned int; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'T* AK::NonnullLockRefPtr<T>::as_nonnull_ptr() const [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:225:34, | |
inlined from 'AK::NonnullLockRefPtr<T>::operator T&() [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:183:31, | |
inlined from 'Kernel::Process& Kernel::Thread::process()' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Thread.h:175:33, | |
inlined from 'Kernel::DispatchSignalResult Kernel::Thread::dispatch_signal(u8)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:999:34: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:322:31: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
322 | return __atomic_load_n(&m_value, order); | |
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
In member function 'T AK::Atomic<T, DefaultMemoryOrder>::load(AK::MemoryOrder) const volatile [with T = long unsigned int; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'T* AK::NonnullLockRefPtr<T>::as_nonnull_ptr() const [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:225:34, | |
inlined from 'T* AK::NonnullLockRefPtr<T>::operator->() [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:156:30, | |
inlined from 'Kernel::DispatchSignalResult Kernel::Thread::dispatch_signal(u8)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:1036:22: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:322:31: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
322 | return __atomic_load_n(&m_value, order); | |
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
In member function 'T AK::Atomic<T, DefaultMemoryOrder>::load(AK::MemoryOrder) const volatile [with T = long unsigned int; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'T* AK::NonnullLockRefPtr<T>::as_nonnull_ptr() const [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:225:34, | |
inlined from 'AK::NonnullLockRefPtr<T>::operator T&() [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:183:31, | |
inlined from 'Kernel::DispatchSignalResult Kernel::Thread::dispatch_signal(u8)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:1051:50: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:322:31: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
322 | return __atomic_load_n(&m_value, order); | |
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
In member function 'void AK::Atomic<T, DefaultMemoryOrder>::store(T, AK::MemoryOrder) volatile [with T = bool; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'Kernel::DispatchSignalResult Kernel::Thread::dispatch_signal(u8)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:1063:46: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:334:25: error: 'void __atomic_store_1(volatile void*, unsigned char, int)' writing 1 byte into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
334 | __atomic_store_n(&m_value, desired, order); | |
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In member function 'T AK::Atomic<T, DefaultMemoryOrder>::load(AK::MemoryOrder) const volatile [with T = long unsigned int; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'T* AK::NonnullLockRefPtr<T>::as_nonnull_ptr() const [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:225:34, | |
inlined from 'T* AK::NonnullLockRefPtr<T>::operator->() [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:156:30, | |
inlined from 'Kernel::DispatchSignalResult Kernel::Thread::dispatch_signal(u8)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:1236:18: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:322:31: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
322 | return __atomic_load_n(&m_value, order); | |
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
In member function 'T AK::Atomic<T, DefaultMemoryOrder>::load(AK::MemoryOrder) const volatile [with T = long unsigned int; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'T* AK::NonnullLockRefPtr<T>::as_nonnull_ptr() const [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:225:34, | |
inlined from 'AK::NonnullLockRefPtr<T>::operator T&() [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:183:31, | |
inlined from 'Kernel::Process& Kernel::Thread::process()' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Thread.h:175:33, | |
inlined from 'Kernel::LockMode Kernel::Thread::unlock_process_if_locked(u32&)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:518:19, | |
inlined from 'void Kernel::Thread::die_if_needed()' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:442:56: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:322:31: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
322 | return __atomic_load_n(&m_value, order); | |
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
In file included from /home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Assertions.h:10, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/StdLibExtras.h:17, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/ScopeGuard.h:9, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:7: | |
In member function 'void Kernel::Thread::JoinBlockerSet::thread_did_exit(void*)', | |
inlined from 'void Kernel::Thread::exit(void*)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:474:39: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Assertions.h:17:13: error: array subscript 112 is outside array bounds of 'Kernel::Thread::JoinBlockerSet [0]' [-Werror=array-bounds] | |
17 | if (!static_cast<bool>(expr)) [[unlikely]] \ | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Thread.h:1188:13: note: in expansion of macro 'VERIFY' | |
1188 | VERIFY(!m_thread_did_exit); | |
| ^~~~~~ | |
In file included from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/WaitQueue.h:11, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Locking/Mutex.h:17, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Memory/VMObject.h:15, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Memory/MemoryManager.h:22, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/KBuffer.h:21, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/DoubleBuffer.h:10, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/FileSystem/FIFO.h:9, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/FileSystem/OpenFileDescription.h:12, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Process.h:23, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Devices/AsyncDeviceRequest.h:12, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Devices/Device.h:21, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Devices/CharacterDevice.h:9, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Devices/KCOVDevice.h:9, | |
from /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:20: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Thread.h:1189:31: error: array subscript 0 is outside array bounds of 'Kernel::Thread::JoinBlockerSet [0]' [-Werror=array-bounds] | |
1189 | m_thread_did_exit = true; | |
| ~~~~~~~~~~~~~~~~~~^~~~~~ | |
In member function 'void AK::Atomic<T*, DefaultMemoryOrder>::store(T*, AK::MemoryOrder) volatile [with T = void; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'void Kernel::Thread::JoinBlockerSet::thread_did_exit(void*)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Thread.h:1190:31, | |
inlined from 'void Kernel::Thread::exit(void*)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:474:39: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:435:25: error: 'void __atomic_store_8(volatile void*, long unsigned int, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
435 | __atomic_store_n(&m_value, desired, order); | |
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In member function 'T AK::Atomic<T, DefaultMemoryOrder>::load(AK::MemoryOrder) const volatile [with T = long unsigned int; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'T* AK::NonnullLockRefPtr<T>::as_nonnull_ptr() const [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:225:34, | |
inlined from 'AK::NonnullLockRefPtr<T>::operator T&() [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:183:31, | |
inlined from 'Kernel::Process& Kernel::Thread::process()' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Thread.h:175:33, | |
inlined from 'Kernel::LockMode Kernel::Thread::unlock_process_if_locked(u32&)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:518:19, | |
inlined from 'void Kernel::Thread::exit(void*)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:477:56: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:322:31: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
322 | return __atomic_load_n(&m_value, order); | |
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
In member function 'T AK::Atomic<T, DefaultMemoryOrder>::load(AK::MemoryOrder) const volatile [with T = long unsigned int; AK::MemoryOrder DefaultMemoryOrder = AK::memory_order_seq_cst]', | |
inlined from 'T* AK::NonnullLockRefPtr<T>::as_nonnull_ptr() const [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:225:34, | |
inlined from 'AK::NonnullLockRefPtr<T>::operator T&() [with T = Kernel::Process]' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Library/NonnullLockRefPtr.h:183:31, | |
inlined from 'Kernel::Process& Kernel::Thread::process()' at /home/quaker/SerenityOS/serenity-aarch64/serenity/./Kernel/Thread.h:175:33, | |
inlined from 'void Kernel::Thread::exit(void*)' at /home/quaker/SerenityOS/serenity-aarch64/serenity/Kernel/Thread.cpp:479:16: | |
/home/quaker/SerenityOS/serenity-aarch64/serenity/./AK/Atomic.h:322:31: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=] | |
322 | return __atomic_load_n(&m_value, order); | |
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
At global scope: | |
cc1plus: note: unrecognized command-line option '-Wno-unused-command-line-argument' may have been intended to silence earlier diagnostics | |
cc1plus: note: unrecognized command-line option '-Wno-unknown-warning-option' may have been intended to silence earlier diagnostics | |
cc1plus: all warnings being treated as errors | |
ninja: build stopped: subcommand failed. | |
FAILED: serenity-prefix/src/serenity-stamp/serenity-build /home/quaker/SerenityOS/serenity-aarch64/serenity/Build/superbuild-aarch64/serenity-prefix/src/serenity-stamp/serenity-build | |
cd /home/quaker/SerenityOS/serenity-aarch64/serenity/Build/aarch64 && /usr/bin/cmake --build . | |
ninja: build stopped: subcommand failed. | |
[quaker@threadripper serenity]$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment