From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16431 invoked by alias); 14 Feb 2009 17:28:18 -0000 Received: (qmail 15810 invoked by uid 48); 14 Feb 2009 17:28:06 -0000 Date: Sat, 14 Feb 2009 17:28:00 -0000 Message-ID: <20090214172806.15809.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/31868] Non-Linux DWARF EH x86-64 targets have broken crtend.o In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rob1weld at aol dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-02/txt/msg01293.txt.bz2 ------- Comment #9 from rob1weld at aol dot com 2009-02-14 17:28 ------- (In reply to comment #8) > Subject: Bug 31868 > Author: hjl > Date: Sun Feb 10 22:25:24 2008 > New Revision: 132222 > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132222 > Log: 2008-02-10 H.J. Lu > Backport from mainline: > 2007-08-06 H.J. Lu > Daniel Jacobowitz > PR target/31868 > * config.gcc (x86_64-*-freebsd*): Add i386/t-crtstuff to > tmake_file. > (x86_64-*-netbsd*): Likewise. > (x86_64-*-linux*): Likewise. > (x86_64-*-kfreebsd*-gnu): Likewise. > (x86_64-*-knetbsd*-gnu): Likewise. > (i[34567]86-*-solaris2.1[0-9]*): Likewise. > * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Removed. > * config/i386/t-crtstuff (CRTSTUFF_T_CFLAGS): Update comments. > Add -fno-asynchronous-unwind-tables. > * config/t-freebsd (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS). > * config/t-libc-ok (CRTSTUFF_T_CFLAGS_S): Likewise. > * config/t-lynx (CRTSTUFF_T_CFLAGS_S): Likewise. > * config/t-netbsd (CRTSTUFF_T_CFLAGS_S): Likewise. > * config/t-svr4 (CRTSTUFF_T_CFLAGS_S): Likewise. > > Modified: > branches/gcc-4_2-branch/gcc/ChangeLog > branches/gcc-4_2-branch/gcc/config.gcc > branches/gcc-4_2-branch/gcc/config/i386/t-crtstuff > branches/gcc-4_2-branch/gcc/config/i386/t-linux64 > branches/gcc-4_2-branch/gcc/config/t-freebsd > branches/gcc-4_2-branch/gcc/config/t-libc-ok > branches/gcc-4_2-branch/gcc/config/t-lynx > branches/gcc-4_2-branch/gcc/config/t-netbsd > branches/gcc-4_2-branch/gcc/config/t-svr4 Notification: This issue affects the (missing / new ?) Target: x86_64-pc-solaris2.11 The "x86_64-pc-solaris2.11" Target refers to a Native-Cross on OpenSolaris 2009.06 (snv_106) from "i386-pc-solaris2.11" to "x86_64-pc-solaris2.11". In either 32 or 64 bit Boot Mode the Solaris Platform's "uname" will say we are "i386". The correct thing to do is use "isainfo -k". Here is a bit of info on this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39186 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39150 Here is it's "-v": # x86_64-pc-solaris2.11-gcc -v Using built-in specs. Target: x86_64-pc-solaris2.11 Configured with: ../gcc_trunk/configure --build=i386-pc-solaris2.11 --target=x86_64-pc-solaris2.11 --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared --disable-static --enable-multilib --enable-decimal-float --with-long-double-128 --with-included-gettext --enable-stage1-checking --enable-checking=release --with-tune=k8 --with-cpu=k8 --with-arch=k8 --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld --with-gmp=/usr/local --with-mpfr=/usr/local --without-ppl Thread model: posix gcc version 4.4.0 20090214 (experimental) [trunk revision 144177] (GCC) If and when "x86_64-pc-solaris2.11" becomes popular this Bug Report may need to be reopened, and this patch fixed and applied. Then we can check if we missed any other Targets and close this Bug for good. Rob -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31868