incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Giffuni <...@apache.org>
Subject Re: [BUILD] linux32 build broken at bridges
Date Thu, 16 Feb 2012 19:37:08 GMT
On 02/16/12 12:53, Andrew Rist wrote:
> The Linux 32 build has now been switched to jdk 1.6 (from jdk 1.7) 
> which has largely fixed the build.  This is something we may have to 
> look at in the future.
> It seems that hsqldb will need to be upgraded in order to compile with 
> 1.7 (though this was not the only error encountered)
> There were also issues with character sets and the build of 
> apache-commons, where neither UTF8 nor ASCII results in a compile and 
> an ANT_OPTS -Dfile.encoding=iso-8859-1 needs to be set for the startup 
> of ant (not inside the and build command) - this too seems to go away 
> with jdk 1.6
>

I amtesting updated Apache commons and hsqldb in my build but per
popular request those won't be updated until after 3.4. I do understand
why this may give trouble with jdk 1.7: this old stuff was all developed
for Jdk 1.4 (at best).


> Now the Linux32 build is stopped at bridges
> http://ci.apache.org/projects/openoffice/buildlogs/linux32/main/bridges/unxlngi6.pro/misc/logs/source.cpp_uno.gcc3_linux_intel.txt

>
>
> it is an issue with STL and not finding the correct headers
>
>    
> /usr/lib/gcc/i686-linux-gnu/4.6.1/include/../include/stddef.h:212:23: 
> note:   'size_t'
>    /usr/include/c++/4.6/i686-linux-gnu/./bits/c++config.h:155:26: 
> note:   '_STL::size_t'
>    /usr/include/c++/4.6/new:94:33: error: declaration of 'operator new 
> []' as non-function
>    /usr/include/c++/4.6/new:94:22: error: 'size_t' is not a member of 
> 'std'
>    /usr/include/c++/4.6/new:94:22: note: suggested alternatives:
>
>
> Can anyone provide some help on this?
>

We saw those when building with gcc 4.6.1 on FreeBSD too. Not sure
how Maho-san fixed but it was something in gmake/dmake
configuration.

Pedro.

Mime
View raw message