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

Bug#471192: marked as done (gnat-4.3: FTBFS on several architectures: unrecognized command line option "-Wno-overlength-strings")



Your message dated Wed, 26 Mar 2008 21:57:13 +0100
with message-id <18410.47273.488943.41143@gargle.gargle.HOWL>
and subject line Re: unrecognized command line option "-Wno-overlength-strings"
has caused the Debian Bug report #471216,
regarding gnat-4.3: FTBFS on several architectures: unrecognized command line option "-Wno-overlength-strings"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
471216: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471216
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gnat-4.3
Severity: serious
Version: 4.3.0-1

gnat-4.3 build-depends on gnat (>= 4.1), the current version of which
symlinks gnatgcc to gcc-4.1.  gcc-4.1 does not support the
"-Wno-overlength-strings" option (added in 4.2).

During the configure step, we pass CC=gnatgcc to make sure we use the
compiler with support for Ada as the bootstrap compiler.

Unfortunately, on some architectures (most notably i386 and powerpc),
the configure step failed with:

> gnatgcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../src/fixincludes -I../include -I../../../src/fixincludes/../include ../../../src/fixincludes/fixincl.c
> cc1: error: unrecognized command line option "-Wno-overlength-strings"
> make[5]: *** [fixincl.o] Error 1

The problem, therefore, is that we mistakenly pass
-Wno-overlength-strings to gcc-4.1.  This, in turn, appears to be due
to the configure script in src/fixincludes not correctly detecting
that gnatgcc does not support the option:

> Configuring in build-powerpc-linux-gnu/fixincludes
[...]
> checking whether gnatgcc supports -Wno-overlength-strings... yes

I am investigating but would welcome any help fixing this problem.

-- 
Ludovic Brenta (maintainer of gnat-4.3).




--- End Message ---
--- Begin Message ---
Version: 4.3.0-1

In general you cannot rely on options only known in newer GCC
versions. The packages are now built and uploaded.


--- End Message ---

Reply to: