I cross compile the Linux arm64 monolith build on Ubuntu x86_64 
successfully.

On Friday, December 27, 2024 at 9:26:18 AM UTC+1 [email protected] wrote:

> or is there a suitable version of gcc for compiling v8?
>
> 在2024年12月27日星期五 UTC+8 16:19:08<zr t> 写道:
>
>> trying to compile v8 on arm64 host. and set is_clang=false ( I tried 
>> compiling clang but failed), and got an error like this.
>> In file included from 
>> ../../third_party/libc++/src/include/__atomic/support.h:107, 
>> from ../../third_party/libc++/src/include/__atomic/contention_t.h:12, 
>> from ../../third_party/libc++/src/include/__atomic/atomic_sync.h:12, 
>> from ../../third_party/libc++/src/include/__atomic/atomic.h:12, 
>> from ../../third_party/libc++/src/include/__atomic/aliases.h:12, 
>> from ../../third_party/libc++/src/include/atomic:595, 
>> from ../../src/execution/isolate.h:8, 
>> from ../../src/execution/isolate-inl.h:8, 
>> from ../../src/objects/arguments-inl.h:8, 
>> from gen/torque-generated/src/objects/arguments-tq.cc:1: 
>> ../../third_party/libc++/src/include/__atomic/support/gcc.h: In 
>> instantiation of ‘_Tp std::__Cr::__cxx_atomic_load(const 
>> __cxx_atomic_base_impl<_Tp>*, memory_order) [with _Tp = v8::interna
>> l::TaggedPayload]’: 
>> ../../third_party/libc++/src/include/__atomic/atomic.h:67:34: required 
>> from ‘_Tp std::__Cr::__atomic_base<_Tp, >::load(std::__Cr::memory_order) 
>> const [with _Tp = v8::internal
>> ::TaggedPayload; bool = false]’ 
>> 67 | return std::__cxx_atomic_load(std::addressof(__a_), __m); 
>> | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 
>> ../../src/sandbox/external-pointer-table.h:124:25: required from here 
>> 124 | return payload_.load(std::memory_order_relaxed); 
>> | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 
>> ../../third_party/libc++/src/include/__atomic/support/gcc.h:109:7: error: 
>> no matching function for call to ‘v8::internal::TaggedPayload
>> nterTaggingScheme>::TaggedPayload()’ 
>> 109 | _Tp __ret; 
>> | ^~~~~
>> my gcc version is 14.2, is there a way to work around to handle this?
>>
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/v8-users/523d4201-7086-411b-b6b3-c8609f5e0256n%40googlegroups.com.

Reply via email to