[committed] Ignore --with-dwarf2 option on 32-bit hppa*-*-hpux*

Paolo Bonzini bonzini@gnu.org
Mon Nov 22 06:02:00 GMT 2010


On 11/21/2010 10:49 PM, John David Anglin wrote:
> The following patch fixes an old build error.  If --with-dwarf2 is
> specified, the 32-bit hpux targets fail to build because of the lack
> of dwarf2 support.
>
> Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11.  Committed
> to trunk.

The patch is not okay.

First, because I think it is not a problem if the build fails.  There 
are surely other targets that fail in the same way.

Second, because if anywhere the right place to put this is in config.gcc 
rather than by adding a new case $target statement. I wouldn't complain 
if it was placed there.

Paolo



More information about the Gcc-patches mailing list