[{"id":1764547,"web_url":"http://patchwork.ozlabs.org/comment/1764547/","msgid":"<CAFiYyc25708RgRnkiebL9rzLc1TywgPKV2gQsQ+M9RD-Pn16Sg@mail.gmail.com>","list_archive_url":null,"date":"2017-09-07T07:09:48","subject":"Re: [patch] [5] fix asan build failure with glibc-2.26","submitter":{"id":1765,"url":"http://patchwork.ozlabs.org/api/people/1765/","name":"Richard Biener","email":"richard.guenther@gmail.com"},"content":"On Thu, Sep 7, 2017 at 9:05 AM, Matthias Klose <doko@ubuntu.com> wrote:\n> Fix asan build failure with glibc-2.26, not finding the SIGSEGV define.  Solved\n> by explicitly including the signal.h header.  Ok for the gcc-5 branch?\n\nOk.\n\nRichard.\n\n> Matthias\n>\n> PS: libsanitizer still needs the backport for PR 81066\n>\n>\n>         * asan/asan_linux.cc: Include <signal.h>\n>\n> --- 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>","headers":{"Return-Path":"<gcc-patches-return-461658-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-461658-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=\"I7xdgrO0\"; 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 3xns644sSRz9sCZ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 17:10:04 +1000 (AEST)","(qmail 18981 invoked by alias); 7 Sep 2017 07:09:56 -0000","(qmail 18588 invoked by uid 89); 7 Sep 2017 07:09:55 -0000","from mail-wm0-f67.google.com (HELO mail-wm0-f67.google.com)\n\t(74.125.82.67) by sourceware.org\n\t(qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;\n\tThu, 07 Sep 2017 07:09:51 +0000","by mail-wm0-f67.google.com with SMTP id x17so393895wmd.5 for\n\t<gcc-patches@gcc.gnu.org>; Thu, 07 Sep 2017 00:09:50 -0700 (PDT)","by 10.80.180.205 with HTTP; Thu, 7 Sep 2017 00:09:48 -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:in-reply-to:references:from:date:message-id\n\t:subject:to:cc:content-type; q=dns; s=default; b=wnaIchk0vZrGwtK\n\twElquUhbltCSJCJMYjDcUTvbwFmN9uwZHlSVHhxiMl81Ygike5gnycOGCsrFMofp\n\tER3VXnLyzOrZvWYzOjRm1IBUhWhFue7E5Z5UjoxzbW2RVLyKGvw3kmXrrY/KXZq4\n\t1kZbX1WYfGQAUdM6UMaN8keUWqf0=","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:in-reply-to:references:from:date:message-id\n\t:subject:to:cc:content-type; s=default; bh=We7/scueoVRWBcwAMBo5+\n\tJVpqs8=; b=I7xdgrO0irFkvjHEE55nYMWXqdrWOzbaTwjkgNcAIrf/UD1VnnJw9\n\thrO91ds/eeL+WjVAtxkwOBcJEdOdSkbAmgEXbzk67m4U6JO6aGlDcnFGCL+7Mhcj\n\t1i0BkRYogkZ2VtHMGR9gM9BsQ4Y56k1vyoToLl7xlK7wetrOTK0T28=","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\tFREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mail-wm0-f67.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:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=S8ftzRZNpl+qufJ6yKaeBAMXKu4X+S3oT47Pu5jEWWo=;\n\tb=FswMQIdT88rVOm029xcQj55KPLZaHqKzuQnPvIRYk4CqqoMSDXMnJINxU+STOa8H+d\n\tftK/KBG8jn/89yKqC1W/6CaX2TahEQb/8JIhHDpR4C+h593c8SU6l/7svrjTc9sjAy3F\n\tr28X2X9qENYRkg+2u5Mgml0/I960tUdCPbdBqHZibRsxamyHSQ+tX+96wmwzduaggfaL\n\tzh0pF8EFLrevcVCIauejP9uZgA4uF9kWlzQs7LYhb0ZZebahsx8+EZQf0uhw9O862QDl\n\td4wzbm+IvOXydGZC6WAQavrIMX1grIj/eMWWt9q2JZ4+4B6QKNspjzi+k7d1vW0UaAHu\n\t/j1g==","X-Gm-Message-State":"AHPjjUhJJX/WxDpL21538TNOmIFWZ/G4dSSw22mIdOn1OXh5TGhkDb3k\tGYOqFzarltdqOPyOHnWEt4wf0UpxI59Y","X-Google-Smtp-Source":"ADKCNb4fsuD9TkLQXNHc5GyboePaUk862rcAnnSzuueSGKEvaIfuzYRmAU0/wU1R94/TPqFPuk2HrF/oF9G9cO9mNMs=","X-Received":"by 10.80.218.201 with SMTP id s9mr1743265edj.217.1504768189122;\n\tThu, 07 Sep 2017 00:09:49 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<75f3524a-0cbd-abaa-f01d-033afbc85c6e@ubuntu.com>","References":"<75f3524a-0cbd-abaa-f01d-033afbc85c6e@ubuntu.com>","From":"Richard Biener <richard.guenther@gmail.com>","Date":"Thu, 7 Sep 2017 09:09:48 +0200","Message-ID":"<CAFiYyc25708RgRnkiebL9rzLc1TywgPKV2gQsQ+M9RD-Pn16Sg@mail.gmail.com>","Subject":"Re: [patch] [5] fix asan build failure with glibc-2.26","To":"Matthias Klose <doko@ubuntu.com>","Cc":"GCC Patches <gcc-patches@gcc.gnu.org>","Content-Type":"text/plain; charset=\"UTF-8\"","X-IsSubscribed":"yes"}}]