{"id":810867,"url":"http://patchwork.ozlabs.org/api/1.2/patches/810867/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/75f3524a-0cbd-abaa-f01d-033afbc85c6e@ubuntu.com/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/1.2/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":"<75f3524a-0cbd-abaa-f01d-033afbc85c6e@ubuntu.com>","list_archive_url":null,"date":"2017-09-07T07:05:21","name":"[5] fix asan build failure with glibc-2.26","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"51a02b91bb7cc8fd439e33defb02273484d37041","submitter":{"id":4404,"url":"http://patchwork.ozlabs.org/api/1.2/people/4404/?format=json","name":"Matthias Klose","email":"doko@ubuntu.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/75f3524a-0cbd-abaa-f01d-033afbc85c6e@ubuntu.com/mbox/","series":[{"id":1919,"url":"http://patchwork.ozlabs.org/api/1.2/series/1919/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=1919","date":"2017-09-07T07:05:21","name":"[5] fix asan build failure with glibc-2.26","version":1,"mbox":"http://patchwork.ozlabs.org/series/1919/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/810867/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/810867/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-return-461655-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-461655-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=\"j+TyqgEQ\"; 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 3xns0z58swz9s2G\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 17:05:39 +1000 (AEST)","(qmail 11618 invoked by alias); 7 Sep 2017 07:05:29 -0000","(qmail 11391 invoked by uid 89); 7 Sep 2017 07:05:29 -0000","from einhorn-mail.in-berlin.de (HELO einhorn-mail.in-berlin.de)\n\t(217.197.80.20) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tThu, 07 Sep 2017 07:05:24 +0000","from [192.168.178.30] (ip5f5bd68d.dynamic.kabel-deutschland.de\n\t[95.91.214.141])\t(authenticated bits=0)\tby\n\teinhorn.in-berlin.de (8.14.4/8.14.4/Debian-8+deb8u2) with\n\tESMTP id v8775Mvu007465\t(version=TLSv1/SSLv3\n\tcipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\tfor\n\t<gcc-patches@gcc.gnu.org>; Thu, 7 Sep 2017 09:05:22 +0200"],"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:to\n\t:from:subject:message-id:date:mime-version:content-type\n\t:content-transfer-encoding; q=dns; s=default; b=YUXvode6Yw4jWiMu\n\tIH1oKc7sRzyPpz4O0S6Pa9LK/ABq+co6rYh3tbSPvYjEPTCpqLVDYZme8MkNNvD/\n\tuuMm6S7O//YHR9ptia2dEYOpHq8oh8B6HfgM51I5GDTwcJVRkjzLSyr/b4FFwkcW\n\tfEM9wRz/CyBs15gy+yQcRIsrWxA=","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:to\n\t:from:subject:message-id:date:mime-version:content-type\n\t:content-transfer-encoding; s=default; bh=a9QAisELAp8Ijq1ec1Zv9Q\n\t0Oucw=; b=j+TyqgEQb0OlcBdLZWqzYjl/Hygr6HcrGePWI/ZCia91Fr/muPukcb\n\thB7Ihd5AMx1eAmgHxyQiaVPkExMQYt2NAmfr1xMF7AaDctZPxIg6x2W3e1c7SyWM\n\tcfv+iQgFTjxN4Ge+TPsR55LF8IaD4iUMDwHwq4hPd7zN0yWNeVUYk=","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=-12.6 required=5.0 tests=BAYES_00, GIT_PATCH_2,\n\tGIT_PATCH_3,\n\tRCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*MI:0cbd,\n\tH*M:0cbd","X-HELO":"einhorn-mail.in-berlin.de","X-Envelope-From":"doko@ubuntu.com","X-Envelope-To":"<gcc-patches@gcc.gnu.org>","To":"GCC Patches <gcc-patches@gcc.gnu.org>","From":"Matthias Klose <doko@ubuntu.com>","Subject":"[patch] [5] fix asan build failure with glibc-2.26","Message-ID":"<75f3524a-0cbd-abaa-f01d-033afbc85c6e@ubuntu.com>","Date":"Thu, 7 Sep 2017 09:05:21 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64;\n\trv:52.0) Gecko/20100101 Thunderbird/52.2.1","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"7bit"},"content":"Fix asan build failure with glibc-2.26, not finding the SIGSEGV define.  Solved\nby explicitly including the signal.h header.  Ok for the gcc-5 branch?\n\nMatthias\n\nPS: libsanitizer still needs the backport for PR 81066\n\n\n\t* asan/asan_linux.cc: Include <signal.h>","diff":"--- a/src/libsanitizer/asan/asan_linux.cc\n+++ b/src/libsanitizer/asan/asan_linux.cc\n@@ -29,6 +29,7 @@\n #include <dlfcn.h>\n #include <fcntl.h>\n #include <pthread.h>\n+#include <signal.h>\n #include <stdio.h>\n #include <unistd.h>\n #include <unwind.h>\n","prefixes":["5"]}