From patchwork Fri Mar 13 18:53:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 450047 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7AA5C14010F for ; Sat, 14 Mar 2015 05:53:29 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=kDCDUcTz; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; q=dns; s=default; b=qk5PbqTsvItb/CK4sr 9JhPDrwstx0HkyZGS4P+hmyC96GCVoCPAB5hQ67MU0dQsa0BS3HbL+Ib/ERKdCUG UtWexcKYlQ/IrMuVgVvtKp/k3q8v872RYHcAscQg2gyssRaz+lTp8mSImIb0kdyX AH4hDE0SA6IUDNu402ZH8cTr4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; s=default; bh=K5/+r1DT/IDZNtDndqV5DitB m+E=; b=kDCDUcTz4slzYnUIvEpU4aeibhMHi6l6gnuvgkUvzpZRSRGjxwjlWZHI BAri+WGXhXM4uWfvJCyKfJh+K5Z4S5BLuZadIESW5aVyWcB9SDOzoF0dH1+h7ZMC TtXQ1iKjtBMg3iumSEZOlBzWBbwrnQhb0m3wdFFkyIyZlQfdET8= Received: (qmail 25484 invoked by alias); 13 Mar 2015 18:53:22 -0000 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 Received: (qmail 25472 invoked by uid 89); 13 Mar 2015 18:53:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yh0-f49.google.com Received: from mail-yh0-f49.google.com (HELO mail-yh0-f49.google.com) (209.85.213.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 13 Mar 2015 18:53:17 +0000 Received: by yhot59 with SMTP id t59so12770682yho.7 for ; Fri, 13 Mar 2015 11:53:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=CoSlTu2GPoAiq8wC7TTJjRi3OkvAFTPPr9pdiR5xgvE=; b=ZKbYWF3QW7W6Aj9K61UU+/5YN8Yb2nRo/ukH6RX96dFsoXhblH596TZQtdyhJ9eNXv PfYdwLhSWI5xq6tTSyYLA7851kbxdlbdxLQeHpITZIC2BDdqHhzqPxm1ApF68YA4CaIF S0Hef/j7qfNdIeRrZIuKGhgWuxVhrX6Hp1GoNTnjIconZvnKnUPGIYGc6ozSDArIOCx4 gaRTvFI0u+YZMuxEzPfwIf897zJitk8xf4RUblNjtwriptNIG6HEPRAkiSv/Smt+Z55r C8kZiHkOwFbVtRo5NZUbphzB2o3MS6gJf2F214VZ//gCUi5XRdViZBSGELcxUHEG+B8M Er0g== X-Gm-Message-State: ALoCoQn2aIDdG/sN88Ihr1YkvuV/7NhClMcODB9LsQCoW7Igi7iisgAudvKAjwTQ9CA+hAzHjZJi MIME-Version: 1.0 X-Received: by 10.170.128.132 with SMTP id u126mr40166527ykb.49.1426272795727; Fri, 13 Mar 2015 11:53:15 -0700 (PDT) Received: by 10.170.230.205 with HTTP; Fri, 13 Mar 2015 11:53:15 -0700 (PDT) In-Reply-To: <54F09D3F.9080407@linux.vnet.ibm.com> References: <9c9cb300-1008-4760-9c91-9070c827af67@googlegroups.com> <54F09D3F.9080407@linux.vnet.ibm.com> Date: Fri, 13 Mar 2015 11:53:15 -0700 Message-ID: Subject: Re: [gofrontend-dev] Re: Go patch committed: Don't strip Go programs From: Ian Lance Taylor To: "Lynn A. Boger" Cc: "gofrontend-dev@googlegroups.com" , gcc-patches On Fri, Feb 27, 2015 at 8:37 AM, Lynn A. Boger wrote: > At a minimum I think it should be mentioned in libgo/README. (Where "it" means that libgo should not be stripped.) I've committed this minor update to libgo/README. Ian diff -r b0d3b9400c63 libgo/README --- a/libgo/README Thu Mar 12 15:47:46 2015 -0700 +++ b/libgo/README Fri Mar 13 11:51:31 2015 -0700 @@ -3,25 +3,24 @@ This is the runtime support library for the Go programming language. This library is intended for use with the Go frontend. -The library has only been tested on GNU/Linux using glibc. It should -not be difficult to port to other operating systems. +This library should not be stripped when it is installed. Go code +relies on being able to look up file/line information, which comes +from the debugging info using the libbacktrace library. -The library has only been tested on x86/x86_64 systems. It should not -be difficult to port to other architectures. +The library has only been tested on GNU/Linux using glibc, and on +Solaris. It should not be difficult to port to other operating +systems. Directories: go - A copy of the Go library from http://golang.org/, with a few - changes for gccgo. Notably, the reflection interface is different. + A copy of the Go library from http://golang.org/, with several + changes for gccgo. runtime Runtime functions, written in C, which are called directly by the compiler or by the library. -syscalls - System call support. - Contributing ============