You are not logged in.
Pages: 1
Has anyone managed to compile V8 on archlinux? I tried on my main system, got the stubs-32.h problem and found out archlinux 64bit isn't multilib and couldn't build it. Then I tried in a 32bit version of arch I had already setup in virtualbox, but just get:
cc1plus: warnings being treated as errors
src/handles-inl.h: In static member function 'static void v8::V8::RemoveMessageListeners(void (*)(v8::Handle<v8::Message>, v8::Handle<v8::Value>))':
src/handles-inl.h:50: error: dereferencing pointer 'SR.2426' does break strict-aliasing rules
src/api.h:58: note: initialized from here
src/handles-inl.h:50: error: dereferencing pointer 'SR.2426' does break strict-aliasing rules
src/api.h:58: note: initialized from here
src/handles-inl.h:50: error: dereferencing pointer 'SR.2426' does break strict-aliasing rules
src/api.h:58: note: initialized from here
src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules
src/handles-inl.h:50: note: initialized from here
src/handles-inl.h:50: error: dereferencing pointer 'SR.2426' does break strict-aliasing rules
src/api.h:58: note: initialized from here
cc1plus: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules
cc1plus: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules
cc1plus: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules
src/handles.h:81: note: initialized from here
scons: *** [obj/release/api.o] Error 1
scons: building terminated because of errors.
This is 3306, possibly a bad revision? I tried out a few further back, but still kept getting this same problem. I also couldn't find any info via google or the arch forums/wiki about people compiling it on arch, surly I'm not the only one?
Offline
Isn't there a native 64-bit V8 now? I compiled chromium a while ago on 64-bit, and didn't need any multilib.
Offline
I just had this issue so for future reference, the correct way is to set the architecture flag to 64, i.e. "scons arch=64"
Offline
Pages: 1