On Fri, Dec 18, 2009 at 2:46 PM, Antoine Labour <pi...@google.com> wrote:
> On Thu, Dec 17, 2009 at 10:36 PM, Richard Zhao <linux...@gmail.com> wrote:
>>
>>  AR+RANLIB(host) out/Release/obj.host/v8/tools/gyp/libv8_nosnapshot.a
>>  CXX(host) out/Release/obj.host/v8_base/v8/src/accessors.o
>>  CXX(host) out/Release/obj.host/v8_base/v8/src/allocation.o
>>  CXX(host) out/Release/obj.host/v8_base/v8/src/api.o
>> cc1plus: warnings being treated as errors
>> v8/src/handles-inl.h: In static member function ‘static void
>> v8::V8::RemoveMessageListeners(void (*)(v8::Handle<v8::Message>,
>> v8::Handle<v8::Value>))’:
>> v8/src/handles-inl.h:50: error: dereferencing pointer ‘<anonymous>â
>> €™ does break strict-aliasing rules
>> v8/src/handles-inl.h:50: error: dereferencing pointer ‘<anonymous>â
>> €™ does break strict-aliasing rules
>> v8/src/globals.h:574: note: initialized from here
>> cc1plus: error: dereferencing pointer ‘dest’ does break strict-
>> aliasing rules
>> cc1plus: error: dereferencing pointer ‘dest’ does break strict-
>> aliasing rules
>> cc1plus: error: dereferencing pointer ‘dest’ does break strict-
>> aliasing rules
>> v8/src/api.cc:3287: note: initialized from here
>> make: *** [out/Release/obj.host/v8_base/v8/src/api.o] Error 1
>>
>> I'm follow instructions at
>> http://code.google.com/p/chromium/wiki/LinuxChromiumArm
>>
>> arm-none-linux-gnueabi-gcc -v :
>> Using built-in specs.
>> Target: arm-none-linux-gnueabi
>> Configured with: /usr/src/redhat/BUILD/cross-mlib/source/gcc-4.1.2/
>> configure --target=arm-none-linux-gnueabi --host=i686-host_pc-linux-
>> gnu --prefix=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-
>> none-linux-gnueabi --with-sysroot=/opt/freescale/usr/local/gcc-4.1.2-
>> glibc-2.5-nptl-3/arm-none-linux-gnueabi/arm-none-linux-gnueabi/sysroot
>> --enable-threads --enable-shared --disable-libssp --disable-libgomp --
>> disable-libmudflap --enable-languages=c,c++ --enable-__cxa_atexit --
>> disable-nls
>> Thread model: posix
>> gcc version 4.1.2
>>
>> Thanks
>> Richard
>
> That compiler is older than the one recommended
> here: http://code.google.com/p/chromium/wiki/LinuxBuildInstructionsPrerequisites
> I assume that's where the problem comes from. The ARM buildbot
> at http://build.chromium.org/buildbot/waterfall/builders/Chromium%20Arm is
> happy-green. It uses the CodeSourcery 2009q3 toolchain, based on gcc 4.4, as
> suggested by the Chromium on ARM wiki page.
> I suggest moving up to a more recent version of gcc.
> Antoine
>
Thanks, Antoine!
I tried gcc-4.3.3-glibc-2.8-cs2009q1-203 and
arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu too.
2009q1 has the same error. 2009q3 is ok, like google build server.

Thanks
Richard

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev

Reply via email to