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

Bug#396001: apertium overoptimizes



Package: apertium
Severity: minor

Hi,

when I build apertium on m68k I get this:

m68k-linux-gnu-g++ -Wall -ansi -O3 -o apertium-rehtml apertium-rehtml.o 
/usr/bin/xsltproc deformat.xsl rtf-format.xml |/usr/bin/flex -Cfer -t >apertium-desrtf.C
if m68k-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I.. -I/usr/include/lttoolbox-1.0 -I/usr/lib/lttoolbox-1.0/include -I/usr/include/libxml2      -Wall -ansi -O3 -MT apertium-desrtf.o -MD -MP -MF ".deps/apertium-desrtf.Tpo" -c -o apertium-desrtf.o apertium-desrtf.C; \
        then mv -f ".deps/apertium-desrtf.Tpo" ".deps/apertium-desrtf.Po"; else rm -f ".deps/apertium-desrtf.Tpo"; exit 1; fi

Using -O3 is deprecated for general use as it is much more likely to
produce broken code and generaly doesn't even run faster.

You do pass CFLAGS to the configure script but for c++ code that is
totaly useless. You have to (also? is there any C code?) set CXXFLAGS
for c++.

MfG
	Goswin

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-frosties-2
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)



Reply to: