[ooo-build] gcc4.4: extensions broken when compiled with default -O2 optimizations
Andreas Radke
a.radke at arcor.de
Sun Jun 28 10:12:30 PDT 2009
1) Patch applied and pkg built well to vanilla m11 OOo 3.1.0 but didn't
solve our extension issue.
2) exporting ARCH_FLAGS="$CFLAGS -fno-strict-aliasing" without applying
the patch breaks the build:
Making: ../../../unxlngx6.pro/slo/view1.obj
if test -e ../../../unxlngx6.pro/slo/insrc.o ; then touch ../../../unxlngx6.pro/slo/insrc.obj ; fi
g++ -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized -fvisibility=hidden -I. -I../../../unxlngx6.pro/inc/uiview -I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngx6.pro/inc -I. -I/tmp/openoffice-base/trunk/src/OOO310_m11/solver/310/unxlngx6.pro/inc/stl -I/tmp/openoffice-base/trunk/src/OOO310_m11/solver/310/unxlngx6.pro/inc/external -I/tmp/openoffice-base/trunk/src/OOO310_m11/solver/310/unxlngx6.pro/inc -I/tmp/openoffice-base/trunk/src/OOO310_m11/solenv/unxlngx6/inc -I/tmp/openoffice-base/trunk/src/OOO310_m11/solenv/inc -I/tmp/openoffice-base/trunk/src/OOO310_m11/res -I/tmp/openoffice-base/trunk/src/OOO310_m11/solver/310/unxlngx6.pro/inc/stl -I/tmp/openoffice-base/trunk/src/OOO310_m11/solenv/inc/Xp31 -I/usr/lib/jvm/java-1.6.0-openjdk/include -I/usr/lib/jvm/java-1.6.0-openjdk/include/linux -I/usr/lib/jvm/java-1.6.0-openjdk/include/native_threads/include -I/usr/include -I/tmp/openoffice-base/trunk/src/OOO310_m11/solve
r/310/unxlngx6.pro/inc/offuh -I. -I../../../res -I. -pipe -march=x86-64 -mtune=generic -O2 -pipe -fno-strict-aliasing -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.0/../../../../include/c++/4.4.0 -DSUPD=310 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DACCESSIBLE_LAYOUT -DSW_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -fno-exceptions -DEXCEPTIONS_OFF -o ../../../unxlngx6.pro/slo/view1.o /tmp/openoffice-base/trunk/src/OOO310_m11/sw/source/ui/uiview/view1.cxx
------------------------------
/tmp/openoffice-base/trunk/src/OOO310_m11/sw/source/ui/uno/unotxdoc.cxx: In member function 'virtual com::sun::star::uno::Any SwXLinkTargetSupplier::getByName(const rtl::OUString&)':
/tmp/openoffice-base/trunk/src/OOO310_m11/sw/source/ui/uno/unotxdoc.cxx:3773: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
In file included from ../../../inc/node.hxx:40,
from ../../../inc/swtable.hxx:42,
from ../../../inc/tblsel.hxx:34,
from ../../../inc/crsrsh.hxx:43,
from ../../../inc/editsh.hxx:40,
from ../../../inc/fesh.hxx:38,
from ../inc/wrtsh.hxx:35,
from /tmp/openoffice-base/trunk/src/OOO310_m11/sw/source/ui/shells/drawdlg.cxx:53:
../../../inc/fmtcol.hxx:119: warning: type qualifiers ignored on function return type
dmake: Error code 1, while making
'../../../unxlngx6.pro/slo/unotxdoc.obj'
3) vanilla DEV300_m50 - patch needs major rework. Fails at several places.
Any suggestions for our extension issue?
-Andy
More information about the ooo-build
mailing list