From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 58926 invoked by alias); 13 Jan 2016 17:40:04 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 58872 invoked by uid 89); 13 Jan 2016 17:40:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=dlsym X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 13 Jan 2016 17:40:02 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id AF27849DC4; Wed, 13 Jan 2016 17:40:01 +0000 (UTC) Received: from localhost.localdomain (vpn1-5-62.ams2.redhat.com [10.36.5.62]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0DHdxjK025379; Wed, 13 Jan 2016 12:40:00 -0500 Subject: Re: [patch] libsanitizer To: Andreas Tobler , GCC Patches References: <5642691B.1040803@fgznet.ch> <5693F45B.7090009@redhat.com> <5693F66A.5040806@fgznet.ch> From: Bernd Schmidt Message-ID: <56968BEF.6040801@redhat.com> Date: Wed, 13 Jan 2016 17:40:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5693F66A.5040806@fgznet.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00843.txt.bz2 On 01/11/2016 07:37 PM, Andreas Tobler wrote: > +# Do a configure time check for -ldl > +AC_CHECK_LIB(dl, dlsym, > + [link_sanitizer_common="-lrt $link_sanitizer_common"]) > + > > I'll give it a test run. If that works (with -ldl instead of -lrt) it's ok. Bernd