[tlbuild] build error on Debian/etch alpha-linux
Jonathan Kew
jonathan_kew at sil.org
Mon Jun 2 15:58:13 CEST 2008
On 2 Jun 2008, at 2:48 pm, Norbert Preining wrote:
> Hi Jonathan,
>
> On Mo, 02 Jun 2008, Jonathan Kew wrote:
>> Or try changing compiler options, e.g. the optimization level, to see
>> if that avoids triggering the bug.
>
> Good tip: removing -O2 did it make compile.
>
> Is it enough to compile this one file withOUT -O2 and do the rest as
> normal,
Should be OK, unless similar problems show up elsewhere.
> or do I have to recompile *everything* with -O2 ??
Not necessarily; AFAIK, it's fine to link modules compiled with
different -O settings.
OTOH, it seems that -O2 is buggy in this compiler version, so perhaps
it would be safer to compile everything without it. You could be
getting incorrect code generation somewhere due to the faulty
optimizer, even if it doesn't always give an internal error during
the build.
So I guess I'd suggest compiling everything without -O2, on the
grounds that performance isn't really *that* critical here, and it
probably gives a better chance of correct runtime behavior. The -O2
option may be a risk not worth taking, especially given that we don't
have a comprehensive regression test suite for all the binaries in TL!
JK
More information about the tlbuild
mailing list