From owner-cvs-all@FreeBSD.ORG Wed Sep 26 01:31:29 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A914816A418; Wed, 26 Sep 2007 01:31:29 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 707CF13C455; Wed, 26 Sep 2007 01:31:29 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l8Q1VT7Z029937; Wed, 26 Sep 2007 01:31:29 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8Q1VTD6029936; Wed, 26 Sep 2007 01:31:29 GMT (envelope-from marcel) Message-Id: <200709260131.l8Q1VTD6029936@repoman.freebsd.org> From: Marcel Moolenaar Date: Wed, 26 Sep 2007 01:31:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/gnu/usr.bin/binutils/ld Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2007 01:31:29 -0000 marcel 2007-09-26 01:31:28 UTC FreeBSD src repository Modified files: gnu/usr.bin/binutils/ld Makefile Log: Force -O1 compilation when targeted for ia64. GCC 4 generates bad code at -O2. Since this is likely caused by the low-level optimizer, testing TARGET_ARCH rather than MACHINE_ARCH should handle ia64 cross-compilation as well. With this work-around in place, we can release using the current GCC and Binutils code at the default optimization level on ia64. Approved by: re (kensmith) Revision Changes Path 1.32 +4 -0 src/gnu/usr.bin/binutils/ld/Makefile