{"id":807309,"url":"http://patchwork.ozlabs.org/api/patches/807309/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/CAOyqgcU2BEEYNTbZPMK5mhg+eNkbosW6wdRKxLanaBOryhX-fw@mail.gmail.com/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/projects/17/?format=json","name":"GNU Compiler Collection","link_name":"gcc","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<CAOyqgcU2BEEYNTbZPMK5mhg+eNkbosW6wdRKxLanaBOryhX-fw@mail.gmail.com>","list_archive_url":null,"date":"2017-08-29T20:57:28","name":"libgo patch committed: Fix go-nosys.c when HAVE_SYSCALL is not defined","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"ac20cdff392b019668a15ece172b249bc536a8fa","submitter":{"id":36501,"url":"http://patchwork.ozlabs.org/api/people/36501/?format=json","name":"Ian Lance Taylor","email":"iant@golang.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/CAOyqgcU2BEEYNTbZPMK5mhg+eNkbosW6wdRKxLanaBOryhX-fw@mail.gmail.com/mbox/","series":[{"id":476,"url":"http://patchwork.ozlabs.org/api/series/476/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=476","date":"2017-08-29T20:57:28","name":"libgo patch committed: Fix go-nosys.c when HAVE_SYSCALL is not defined","version":1,"mbox":"http://patchwork.ozlabs.org/series/476/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/807309/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807309/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-return-461121-incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","mailing list gcc-patches@gcc.gnu.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=gcc-patches-return-461121-incoming=patchwork.ozlabs.org@gcc.gnu.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org\n\theader.b=\"hBfTnDHC\"; dkim-atps=neutral","sourceware.org; auth=none"],"Received":["from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhgvN5pHsz9sN7\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 06:57:51 +1000 (AEST)","(qmail 109894 invoked by alias); 29 Aug 2017 20:57:34 -0000","(qmail 109171 invoked by uid 89); 29 Aug 2017 20:57:33 -0000","from mail-pg0-f41.google.com (HELO mail-pg0-f41.google.com)\n\t(74.125.83.41) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tTue, 29 Aug 2017 20:57:31 +0000","by mail-pg0-f41.google.com with SMTP id 83so14016364pgb.4 for\n\t<gcc-patches@gcc.gnu.org>; Tue, 29 Aug 2017 13:57:31 -0700 (PDT)","by 10.100.149.12 with HTTP; Tue, 29 Aug 2017 13:57:28 -0700 (PDT)"],"DomainKey-Signature":"a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:mime-version:from:date:message-id:subject:to:content-type; q=\n\tdns; s=default; b=oUex2J41HNcxpiAuQyR/Pi6uVdiDNeHig1ZEx0KIR+u635\n\tSZF4y0NlQzq9gcRTHO6MWr/FZw0/BLeAvOU8cdrVklyF/H3cV2QkJD9ngsSwadzM\n\taZM7dFjHts6whJ6YRAwT+3vuv3Aj262l6R6Ow44WdrQ99GB+IEADtM2CLIsGk=","DKIM-Signature":"v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id\n\t:list-unsubscribe:list-archive:list-post:list-help:sender\n\t:mime-version:from:date:message-id:subject:to:content-type; s=\n\tdefault; bh=gVan2f7sxnDZ8zNjl/4Z0TwM4Bo=; b=hBfTnDHC3JR1ZARseyWE\n\tibc9KxzcX0l38guTGXmpZdVX+TtusDO43zu9vcRGZNQQzWYZSdt0pluUtwerYS5F\n\telMgf6EqI3fSe6VAdUnCkNaV7chm2LgelHYOr+QiAO6c4PO0b9wa/PchrHs2p2Ms\n\t3fR09DPc/SvrJkDevgWu8/E=","Mailing-List":"contact gcc-patches-help@gcc.gnu.org; run by ezmlm","Precedence":"bulk","List-Id":"<gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>","List-Archive":"<http://gcc.gnu.org/ml/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-help@gcc.gnu.org>","Sender":"gcc-patches-owner@gcc.gnu.org","X-Virus-Found":"No","X-Spam-SWARE-Status":"No, score=-10.5 required=5.0 tests=AWL, BAYES_00,\n\tGIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mail-pg0-f41.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net;\n\ts=20161025;\n\th=x-gm-message-state:mime-version:from:date:message-id:subject:to;\n\tbh=jqVdnfgvKsjyBAGRGWfKQDI5TnZlrDcd+vlrT17+Yd8=;\n\tb=qw8Jj2MCGDG90dxp4OvyxNAIQvy0TkaKWTRY8ASofQMg4Xu4GPA6ACfaakgrjRxKj0\n\t4ei2ZiImF8DJz6WFij7OXnGEjuglP377DWe/9Ur62aV6DyvBZwWaHGSVlwC/Qz2hwvcx\n\tIunqK+CgWAuvw5NYt0/81KtcTG3/ItxCCXTUepPMfoJHsVm/kqDWyyk3LVT0PH7REII5\n\tMfZJ1Jgwjp23jxGKMLjKkVpVhPxNdgQqMxtK4ehTIEZuAyDMVA7wYCslOYtpHLVeui/P\n\tXQeIQyUe7xpk4Gs7G/xethJpZAuA704TfXtMFCw5PM+IJgSWuC3sJT0ANJbHNLAPhyM/\n\tWGog==","X-Gm-Message-State":"AHYfb5hQU/nPXOqhubRC7pYfhDjQx6PoEDY+WF4SVsO6h5eRKIDofcBf\tYr7mWMdA+VD4uNj/0gZOgtUT4yfFhBUQvoE=","X-Received":"by 10.98.32.5 with SMTP id g5mr1707362pfg.88.1504040249601;\n\tTue, 29 Aug 2017 13:57:29 -0700 (PDT)","MIME-Version":"1.0","From":"Ian Lance Taylor <iant@golang.org>","Date":"Tue, 29 Aug 2017 13:57:28 -0700","Message-ID":"<CAOyqgcU2BEEYNTbZPMK5mhg+eNkbosW6wdRKxLanaBOryhX-fw@mail.gmail.com>","Subject":"libgo patch committed: Fix go-nosys.c when HAVE_SYSCALL is not\n\tdefined","To":"gcc-patches <gcc-patches@gcc.gnu.org>,\n\t\"gofrontend-dev@googlegroups.com\" <gofrontend-dev@googlegroups.com>","Content-Type":"multipart/mixed; boundary=\"001a11476d46ce60510557eaa83d\""},"content":"This patch from Tony Reix fixes the compilation of go-nosys.c when\nHAVE_SYSCALL is not defined.  Bootstrapped on x86_64-pc-linux-gnu.\nCommitted to mainline.\n\nIan","diff":"Index: gcc/go/gofrontend/MERGE\n===================================================================\n--- gcc/go/gofrontend/MERGE\t(revision 251420)\n+++ gcc/go/gofrontend/MERGE\t(working copy)\n@@ -1,4 +1,4 @@\n-db8e3801bf8508656606d6e465c76cdc6e9a9eb7\n+a28f1d8aa306bdb5166af1f087e5f5027ce51d6d\n \n The first line of this file holds the git revision number of the last\n merge done from the gofrontend repository.\nIndex: libgo/runtime/go-nosys.c\n===================================================================\n--- libgo/runtime/go-nosys.c\t(revision 250873)\n+++ libgo/runtime/go-nosys.c\t(working copy)\n@@ -506,7 +506,7 @@ strerror_r (int errnum, char *buf, size_\n \n #ifndef HAVE_SYSCALL\n int\n-syscall(int number, ...)\n+syscall(int number __attribute__ ((unused)), ...)\n {\n   errno = ENOSYS;\n   return -1;\n","prefixes":[]}