re PR target/9468 ([HP-UX] 3.2.1 ICE building libgcc muldi3.o when dwarf2 is enabled)
PR target/9468 * configure.ac: Ignore --with-dwarf2 option on 32-bit hppa*-*-hpux*. * configure: Rebuild. From-SVN: r167013
This commit is contained in:
parent
60fcb1eeca
commit
091f0901de
3 changed files with 45 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-11-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR target/9468
|
||||
* configure.ac: Ignore --with-dwarf2 option on 32-bit hppa*-*-hpux*.
|
||||
* configure: Rebuild.
|
||||
|
||||
2010-11-21 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* system.h (strerror): Poison.
|
||||
|
|
24
gcc/configure
vendored
24
gcc/configure
vendored
|
@ -6990,7 +6990,25 @@ fi
|
|||
|
||||
# Check whether --with-dwarf2 was given.
|
||||
if test "${with_dwarf2+set}" = set; then :
|
||||
withval=$with_dwarf2; dwarf2="$with_dwarf2"
|
||||
withval=$with_dwarf2;
|
||||
case $target in
|
||||
hppa*-*-hpux*)
|
||||
case $target in
|
||||
hppa*64*-*-*)
|
||||
dwarf2="$with_dwarf2"
|
||||
;;
|
||||
*)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dwarf2 debug format is not supported for this target, ignored" >&5
|
||||
$as_echo "$as_me: WARNING: dwarf2 debug format is not supported for this target, ignored" >&2;}
|
||||
dwarf2=no
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dwarf2="$with_dwarf2"
|
||||
;;
|
||||
esac
|
||||
|
||||
else
|
||||
dwarf2=no
|
||||
fi
|
||||
|
@ -17286,7 +17304,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 17289 "configure"
|
||||
#line 17307 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -17392,7 +17410,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 17395 "configure"
|
||||
#line 17413 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
|
|
@ -683,7 +683,24 @@ objc_boehm_gc='')
|
|||
|
||||
AC_ARG_WITH(dwarf2,
|
||||
[ --with-dwarf2 force the default debug format to be DWARF 2],
|
||||
dwarf2="$with_dwarf2",
|
||||
[
|
||||
case $target in
|
||||
hppa*-*-hpux*)
|
||||
case $target in
|
||||
hppa*64*-*-*)
|
||||
dwarf2="$with_dwarf2"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_WARN([dwarf2 debug format is not supported for this target, ignored])
|
||||
dwarf2=no
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
dwarf2="$with_dwarf2"
|
||||
;;
|
||||
esac
|
||||
],
|
||||
dwarf2=no)
|
||||
|
||||
AC_ARG_ENABLE(shared,
|
||||
|
|
Loading…
Add table
Reference in a new issue