From patchwork Wed Jul 6 17:11:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 103541 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id B3C23B6F18 for ; Thu, 7 Jul 2011 03:11:25 +1000 (EST) Received: (qmail 3336 invoked by alias); 6 Jul 2011 17:11:23 -0000 Received: (qmail 3319 invoked by uid 22791); 6 Jul 2011 17:11:22 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-pw0-f47.google.com (HELO mail-pw0-f47.google.com) (209.85.160.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 Jul 2011 17:11:08 +0000 Received: by pwi1 with SMTP id 1so33641pwi.20 for ; Wed, 06 Jul 2011 10:11:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.63.3 with SMTP id q3mr4061710wfk.25.1309972267713; Wed, 06 Jul 2011 10:11:07 -0700 (PDT) Received: by 10.142.107.13 with HTTP; Wed, 6 Jul 2011 10:11:07 -0700 (PDT) In-Reply-To: <21D4F683-7589-4562-8143-0A1A7805314C@comcast.net> References: <21D4F683-7589-4562-8143-0A1A7805314C@comcast.net> Date: Wed, 6 Jul 2011 19:11:07 +0200 Message-ID: Subject: Re: [RFC PATCH, go]: Port to ALPHA arch - sysinfo.go fixup From: Uros Bizjak To: Mike Stump Cc: Ian Lance Taylor , Rainer Orth , "gcc-patches@gcc.gnu.org" , "gofrontend-dev@googlegroups.com" , Richard Henderson Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org On Tue, Jul 5, 2011 at 7:17 PM, Mike Stump wrote: >> Please note that we set >> -mieee flag to compile .go files from library and also we add this >> flag to default testsuite compile flags. > >> > Ick, I think this patch might be expedient, but, wrong.  Ian will have to think about it and decide. This is something I come up with after a lot of staring into build system: 2011-07-06 Uros Bizjak * mt-alphaieee (GOCFLAGS_FOR_TARGET): Add -mieee. This patch by itself does not fix go testsuite failures, although the library is now OK. Additional patch is needed to pass GOCFLAGS to the compiler when checking the package. I will submit it separately. Tested on alphaev68-pc-linux-gnu. OK for mainline? Uros. Index: config/mt-alphaieee =================================================================== --- config/mt-alphaieee (revision 175904) +++ config/mt-alphaieee (working copy) @@ -1,2 +1,3 @@ CFLAGS_FOR_TARGET += -mieee CXXFLAGS_FOR_TARGET += -mieee +GOCFLAGS_FOR_TARGET += -mieee