From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4470 Path: news.gmane.org!not-for-mail From: Rob Landley Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: libgcc --disable-shared test case Date: Sat, 11 Jan 2014 17:10:56 -0600 Message-ID: <52D1CF80.7000009@landley.net> References: <20131017060913.GA1957@brightrain.aerifal.cx> <1389462032.1176.18@driftwood> <20140111215106.GV24286@brightrain.aerifal.cx> <52D1BFE9.6040703@landley.net> <20140111222354.GW24286@brightrain.aerifal.cx> <52D1C7EC.5090908@landley.net> <20140111224509.GX24286@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389481865 12436 80.91.229.3 (11 Jan 2014 23:11:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jan 2014 23:11:05 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4474-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jan 12 00:11:12 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1W27hw-0002nD-89 for gllmg-musl@plane.gmane.org; Sun, 12 Jan 2014 00:11:12 +0100 Original-Received: (qmail 3131 invoked by uid 550); 11 Jan 2014 23:11:10 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 3118 invoked from network); 11 Jan 2014 23:11:10 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=kG0SKDP1aokxwKfJJSekGjstjPelRkVJUuQss7QS+bA=; b=CulV7bpp3lGqxP4/c1r1Z1tGTRt2NngNaZ0EcEUcC2NtMUxeC7dQ7QgRIhDhUrIwBH WjsYx+KImFb9if2fYE/VO+WNGcof15oaov4e3Dda3SwpHH2simovrwZmSvY4HNnynld6 UfxWLD8aPzC3cQu8ztD1TwIxSKpyhekX9TKB9rQTDpx3W97u7/Vq9OlQ0iu29ZTv9IVw dCyceQZ5As/v0QZcl+vIweZC/4Ps7ncQ+dp5C+Cpqlmb2YwBXGPsJYqoRJ/yrZ9BRN9N PloPQfAdclYO8bHzjB2cqFDUg7xptqhRWnZlLZnFKmqrE719cvPbrAg+dGwpoprEPyqU dovg== X-Gm-Message-State: ALoCoQmnd+uqM4miLt1zTJaGU876p19XtGwaGvNAwIh7sgLOgHP/+bAUWpceg9owbE8KArpOYdJL X-Received: by 10.182.55.65 with SMTP id q1mr14568758obp.2.1389481858618; Sat, 11 Jan 2014 15:10:58 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <20140111224509.GX24286@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:4470 Archived-At: On 01/11/14 16:45, Rich Felker wrote: > The way to fix it is to find the conditional logic in the gcc build > system (I forget whether it's in configure, the Makefiles, or the > headers) that disables use of the visibility attribute when > --disable-shared is passed, and simply dummy it out so that visibility > is always used. At one point we discussed on IRC how this could be > fixed at the GCC level, so I could probably dig something out of IRC > logs if you want. I'm not worried about figuring out how to beat another piece of brain damage out of gcc (by removing code, always by _removing_ something they shouldn't have done in the first place). It's fixing a problem I can't reproduce that's the hard part. Hence the request for a test case... Rob