From: Jack Howarth Date: Sun, 19 Jun 2011 17:39:19 +0000 (+0000) Subject: re PR target/49461 (boehm-gc and gcj incompatible with pie) X-Git-Tag: releases/gcc-4.5.4~583 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ec36563125b2682171e5c6cef64b6e90650250a;p=thirdparty%2Fgcc.git re PR target/49461 (boehm-gc and gcj incompatible with pie) 2011-06-18 Jack Howarth PR target/49461 * configure.ac: Use mh-x86-darwin. * configure: Regenerate. * config/mh-x86-darwin: Add file and pass -no_pie on BOOT_LDFLAGS for darwin11. From-SVN: r175189 --- diff --git a/ChangeLog b/ChangeLog index 8b357a70ba28..05eb51b5e640 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-06-18 Jack Howarth + + PR target/49461 + * configure.ac: Use mh-x86-darwin. + * configure: Regenerate. + * config/mh-x86-darwin: Add file and pass -no_pie on BOOT_LDFLAGS + for darwin11. + 2011-04-28 Release Manager * GCC 4.5.3 released. diff --git a/config/mh-x86-darwin b/config/mh-x86-darwin new file mode 100644 index 000000000000..9666415ba136 --- /dev/null +++ b/config/mh-x86-darwin @@ -0,0 +1,2 @@ +# Ensure we don't try and use -pie, as it is incompatible with pch. +BOOT_LDFLAGS += `case ${host} in *-*-darwin[1][1-9]*) echo -Wl,-no_pie ;; esac;` diff --git a/configure b/configure index c60f1b3eded8..ac8fbdc5c595 100755 --- a/configure +++ b/configure @@ -3917,6 +3917,9 @@ fi tentative_cc="/usr/cygnus/progressive/bin/gcc" host_makefile_frag="config/mh-lynxrs6k" ;; + i[3456789]86-*-darwin* | x86_64-*-darwin*) + host_makefile_frag="config/mh-x86-darwin" + ;; powerpc-*-darwin*) host_makefile_frag="config/mh-ppc-darwin" ;; diff --git a/configure.ac b/configure.ac index 35812aa45c95..07d17c4d8aee 100644 --- a/configure.ac +++ b/configure.ac @@ -1135,6 +1135,9 @@ case "${host}" in tentative_cc="/usr/cygnus/progressive/bin/gcc" host_makefile_frag="config/mh-lynxrs6k" ;; + i[[3456789]]86-*-darwin* | x86_64-*-darwin*) + host_makefile_frag="config/mh-x86-darwin" + ;; powerpc-*-darwin*) host_makefile_frag="config/mh-ppc-darwin" ;;