On Mon, Dec 7, 2009 at 4:00 PM, Sofia Tahseen <[email protected]>wrote:
> Hi All, > > I am using the codesourcery toolchain to compile > http://www.codesourcery.com/sgpp/lite/arm/portal/release644 --- > arm-2008q3 > > I will delete everything and do gclient sync again... > > > The following are the steps I use to get the source code for chrome > browser for ARM: > > gclient config http://src.chromium.org/svn/trunk/src > export GYP_GENERATORS=make > export GYP_DEFINES="target_arch=arm armv7=1 sysroot=/home/adas/x-tools/ > arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root > disable_nacl=1 use_system_ffmpeg=1" > gclient sync > > Let me know if I am doing something wrong. > Try with a newer version of CodeSourcery. I haven't had this issue with 2009q1 or 2009q3. I'm working on a fix anyway, see http://codereview.chromium.org/464064 Antoine > > Thanks, > Sofia > > On Dec 7, 5:13 pm, Antoine Labour <[email protected]> wrote: > > On Mon, Dec 7, 2009 at 2:50 PM, SOFIA TAHSEEN <[email protected]> > wrote: > > > Hi Antoine/Joel, > > > > > When I try to build using the following make command I get the error as > > > below...Have you seen this earlier : > > > > > make -r -j3 BUILDTYPE=Release chrome > > > (I have a dual core so used -j3) > > > > > CXX(target) > > > out/Release/obj.target/common/chrome/common/histogram_synchronizer.o > > > CXX(target) > > > out/Release/obj.target/common/chrome/common/important_file_writer.o > > > CXX(target) > > > out/Release/obj.target/common/chrome/common/jstemplate_builder.o > > > CXX(target) > out/Release/obj.target/common/chrome/common/libxml_utils.o > > > CXX(target) > out/Release/obj.target/common/chrome/common/logging_chrome.o > > > cc1plus: warnings being treated as errors > > > chrome/common/libxml_utils.cc: In static member function 'static void > > > XmlReader::GenericErrorCallback(void*, const char*, ...)': > > > chrome/common/libxml_utils.cc:38: error: cannot pass objects of non-POD > > > type 'struct va_list' through '...'; call will abort at runtime > > > make: *** [out/Release/obj.target/common/chrome/common/libxml_utils.o] > > > Error 1 > > > make: *** Waiting for unfinished jobs.... > > > > +chromium-dev > > > > Sofia, I haven't seen that error. Which compiler did you end up using ? > > However the code does look suspicious, passing va_list through "...": > > > > void XmlReader::GenericErrorCallback(void* context, const char* msg, ...) > { > > va_list args; > > va_start(args, msg); > > > > XmlReader* reader = static_cast<XmlReader*>(context); > > reader->errors_.append(StringPrintf(msg, args)); > > > > } > > > > Chromium C++ experts: Is that supposed to be legal, or even portable ? It > > sounds like StringAppendV would be preferable here. > > > > Antoine > -- Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev
