[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#555026: openoffice.org: HelpLinker miscompile



tag 555026 + pending
thanks

On Sun, Feb 21, 2010 at 10:41:05AM +0100, Philipp Matthias Hahn wrote:
> Package: openoffice.org
> Severity: normal
> 
> About the problem of the HelpLinker crash: g++-4.3 seems to miscompile
> HelpLinker with -O2. Just changeing that to -O0 for the two directories
> transex3/source/{,help/} solved that problem for us.
> 
> +--- openoffice.org-3.2.0.o/ooo-build/patches/dev300/apply  2010-01-25 14:48:36.000000000 +0100
> ++++ openoffice.org-3.2.0/ooo-build/patches/dev300/apply  2010-01-25 15:07:23.000000000 +0100
> +@@ -3460,6 +3460,7 @@
> + 
> + [ LinuxOnly ]
> + nologo.diff
> ++gcc-HelpLinker.diff
> + 
> + # make Python2 optional
> + disable-python.diff
> +--- openoffice.org-3.2.0.o/ooo-build/patches/dev300/gcc-HelpLinker.diff 1970-01-01 01:00:00.000000000 +0100
> ++++ openoffice.org-3.2.0/ooo-build/patches/dev300/gcc-HelpLinker.diff 2010-02-19 16:18:32.000000000 +0200
> +@@ -0,0 +1,20 @@
> ++--- transex3/source/makefile.mk.orig  2010-02-19 12:20:48.000000000 +0100
> +++++ transex3/source/makefile.mk 2010-02-18 19:49:58.000000000 +0100
> ++@@ -43,6 +43,7 @@
> ++ .INCLUDE :  settings.mk
> ++ CDEFS+= -DYY_NEVER_INTERACTIVE=1
> ++ #CDEFS+= -pg
> +++CDEFS+= -g -O0
> ++ 
> ++ .IF "$(SYSTEM_EXPAT)" == "YES"
> ++ CFLAGS+=-DSYSTEM_EXPAT
> ++--- transex3/source/help/makefile.mk.orig 2010-02-19 12:20:52.000000000 +0100
> +++++ transex3/source/help/makefile.mk  2010-02-19 11:45:26.000000000 +0100
> ++@@ -40,6 +40,7 @@
> ++ 
> ++ .INCLUDE : settings.mk
> ++ .INCLUDE : helplinker.pmk
> +++CDEFS+= -g -O0
> ++  
> ++ .IF "$(SYSTEM_LIBXSLT)" == "YES"
> ++ CFLAGS+= $(LIBXSLT_CFLAGS)

Thanks, applied. (Though without .g, the rest of OOo is also only built with -g1)

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70



Reply to: