From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23786 invoked by alias); 14 Jan 2016 20:51:59 -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 23774 invoked by uid 89); 14 Jan 2016 20:51:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy= X-HELO: smtp.fgznet.ch Received: from smtp.fgznet.ch (HELO smtp.fgznet.ch) (157.161.14.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 14 Jan 2016 20:51:57 +0000 Received: from [192.168.225.14] (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by fgznet.ch (Postfix) with ESMTPS id 92A92CEAA6; Thu, 14 Jan 2016 21:51:53 +0100 (CET) Subject: Re: [patch] libsanitizer To: Bernd Schmidt , GCC Patches References: <5642691B.1040803@fgznet.ch> <5693F45B.7090009@redhat.com> <5693F66A.5040806@fgznet.ch> <56968BEF.6040801@redhat.com> From: Andreas Tobler Message-ID: <56980A69.9010304@fgznet.ch> Date: Thu, 14 Jan 2016 20:51:00 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56968BEF.6040801@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-01/txt/msg00974.txt.bz2 On 13.01.16 18:39, Bernd Schmidt wrote: > 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. It does, tested on FreeBSD x86_64 and Linux/GNU x86_64. Committed to trunk. Note, there is a chunk in configure which is not from me. It was a missing part from the last commit (r230739). There it was mentioned that configure was regenerated, but it did not get committed. Thanks, Andreas