From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23914 invoked by alias); 21 Jan 2015 17:59:55 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 23895 invoked by uid 89); 21 Jan 2015 17:59:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-yh0-f74.google.com Received: from mail-yh0-f74.google.com (HELO mail-yh0-f74.google.com) (209.85.213.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 21 Jan 2015 17:59:50 +0000 Received: by mail-yh0-f74.google.com with SMTP id 29so732970yhl.1 for ; Wed, 21 Jan 2015 09:59:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:content-type :content-transfer-encoding:message-id:date:to:cc:subject:in-reply-to :references; bh=rsJdZ7RA9xLB5Ujs6wORYXc7VDdiWhiJnFsbDGoE+Ck=; b=gKJKXGFNjPfauwf6q6Sz6BzEyf4Gxauzbuy+LSbVzcP0FA9fBxa2RP2glx7z1PvGsU ivTst9lQXdIHQjwrfEYuu1FI500fknSYZ6raOiG+pxxeKoxtqPT+iXtTIiphxNqyejkG bjoMzlRm++kWWLhFWV3gcAU+mNPwbttqQ5bsREzPVxZw85rG5iAlfFZ5DmlIui9qJ+er 34ed3qCq2cZVVbWUXQbrzjms0giIS7SgktJGmnxipSRSofhlaaNQJVuA0LBH+4G/SwzC GtoGmW/8P4wn0H5uQamyw/I59dVTgEroHDsx6BQ7hwxNz2BPjf8G1ifYu5lshdIQ+KcD 9IJw== X-Gm-Message-State: ALoCoQltXC5bT2Hy3I9H2ErpxhabSzaSMdn4jo+5PNre6bMW0ITQYjfp2lpOwb8BlZzRzAt2TCYT X-Received: by 10.236.28.230 with SMTP id g66mr5709301yha.2.1421863187898; Wed, 21 Jan 2015 09:59:47 -0800 (PST) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id b3si102168qco.0.2015.01.21.09.59.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jan 2015 09:59:47 -0800 (PST) Received: from ruffy2.mtv.corp.google.com ([172.17.128.107]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id hElBzD8h.1; Wed, 21 Jan 2015 09:59:47 -0800 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <21695.59666.594553.414559@ruffy2.mtv.corp.google.com> Date: Wed, 21 Jan 2015 17:59:00 -0000 To: Jan Kratochvil Cc: gdb-patches@sourceware.org, iant@google.com Subject: Re: golang compiler (6g) testsuite board file [Re: [RFC] Initial pass at supporting the Go language] In-Reply-To: <20150120173412.GA19765@host2.jankratochvil.net> References: <20111228210206.B6B762461C9@ruffy.mtv.corp.google.com> <20150120173412.GA19765@host2.jankratochvil.net> X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg00576.txt.bz2 Jan Kratochvil writes: > Hi Doug, > > On Wed, 28 Dec 2011 22:02:06 +0100, Doug Evans wrote: > > I also have a board file for running the testsuite with the 6g compiler. > > I'll submit that separately. > > I haven't found that file submitted, do you still have it? Hi. Here's what I have. I haven't used it in awhile, and have spent no time cleaning it up, so "heads up". --- # Board description file for running the testsuite with the 6g compiler. # The user is currently required to set GO_FOR_TARGET to the path of 6g. # IWBN if all we had to do was set the path to the compiler. # 6g doesn't treat -g like gcc does. set_board_info debug_flags "" #set GO_TOP "/g3/go/6g/go" set GO_TOP "/g5/go/6g/go" set_board_info gocompiler "$GO_TOP/pkg/tool/linux_amd64/6g" # 6g uses a separate linker. set_board_info golinker "$GO_TOP/pkg/tool/linux_amd64/6l" # 6g doesn't have a -lm. # FIXME: This affects all languages. set_board_info mathlib "" # 6l requires "-o foo.o foo" instead of "foo.o -o foo". set_board_info golinker_opts_order "flags-then-sources"