Patch for PR target/9468, HPPA build fails when using --with-dwarf2
Steve Ellcey
sje@cup.hp.com
Thu May 24 20:01:00 GMT 2007
I am going to check in this patch that gives a configure error when
--with-dwarf2 is used with the 32 bit PA HP-UX platforms unless there
are objections. The 32 bit PA HP-UX platform does not support the
dwarf2 debug format.
Tested on HP-UX 11.11.
Steve Ellcey
sje@cup.hp.com
2007-05-24 Steve Ellcey <sje@cup.hp.com>
PR target/9468
config.gcc (hppa[12]*-*-hpux10*): Error if dwarf2 is specified.
(hppa[12]*-*-hpux11*): Ditto.
Index: config.gcc
===================================================================
--- config.gcc (revision 125030)
+++ config.gcc (working copy)
@@ -975,6 +975,11 @@ hppa[12]*-*-hpux10*)
use_collect2=yes
use_fixproto=yes
gas=yes
+ if test x$dwarf2 = xyes
+ then
+ echo "Target ${target} does not support dwarf2" 1>&2
+ exit 1
+ fi
;;
hppa*64*-*-hpux11*)
target_cpu_default="MASK_PA_11|MASK_PA_20"
@@ -1042,6 +1047,11 @@ hppa[12]*-*-hpux11*)
esac
use_collect2=yes
gas=yes
+ if test x$dwarf2 = xyes
+ then
+ echo "Target ${target} does not support dwarf2" 1>&2
+ exit 1
+ fi
;;
i[34567]86-*-darwin*)
need_64bit_hwint=yes
More information about the Gcc-patches
mailing list