From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118087 invoked by alias); 6 Jan 2020 19:21:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 118079 invoked by uid 89); 6 Jan 2020 19:21:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (207.211.31.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Jan 2020 19:21:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578338498; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b/SsmWxxvP7Sedjkj80+XoqjOj4n37EHfxyS04Nl02c=; b=C5De9lYwhsCK7ZmxrvyoKdkcbSlA4nlv20v3/DHdCTsenotpVLFAM1ygKNia0HT7Eieo9l +eW5oGvFAn5J54/YtbqGwXVmhKGkqP1MtlR3dAg5LhfwoqyICPCDbA1evv8+pSfEtTupxV fV9xeDAK4e9ffczeFm9PHZ/+4wpPZtw= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-141-Sx_-J9sxPO27hfXWULKy7A-1; Mon, 06 Jan 2020 14:21:37 -0500 Received: by mail-wr1-f70.google.com with SMTP id c17so2486980wrp.10 for ; Mon, 06 Jan 2020 11:21:37 -0800 (PST) Return-Path: Received: from ?IPv6:2001:8a0:f913:f700:56ee:75ff:fe8d:232b? ([2001:8a0:f913:f700:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id j12sm78189062wrw.54.2020.01.06.11.21.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jan 2020 11:21:35 -0800 (PST) Subject: Re: [PATCH][PR build/24805] Explicitly export symbols from gdb_proc_service To: Norbert Lange , gdb-patches@sourceware.org References: <20200104202004.83439-1-nolange79@gmail.com> From: Pedro Alves Message-ID: <466b1cd0-ce93-15f2-6986-aae17cbee6cf@redhat.com> Date: Mon, 06 Jan 2020 19:21:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20200104202004.83439-1-nolange79@gmail.com> X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2020-01/txt/msg00126.txt.bz2 On 1/4/20 8:20 PM, Norbert Lange wrote: > Compiling GDB with '-fvisibility=hidden' will remove the > symbols that should be exported. > This patch explicitly marks them as visible. Curious. We have gdb/proc-service.list supposedly for this, doesn't -Wl,--dynamic-list work with -fvisibility=hidden then? Thanks, Pedro Alves