From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7546 Path: news.gmane.org!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] force LTO to be disabled when compiling dlstart.lo Date: Tue, 28 Apr 2015 21:50:59 +0300 (MSK) Message-ID: References: <1430201554-11359-1-git-send-email-armccurdy@gmail.com> <20150428134317.GL17573@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: ger.gmane.org 1430247073 19652 80.91.229.3 (28 Apr 2015 18:51:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Apr 2015 18:51:13 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7559-gllmg-musl=m.gmane.org@lists.openwall.com Tue Apr 28 20:51:13 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YnAbA-0001YL-Hx for gllmg-musl@m.gmane.org; Tue, 28 Apr 2015 20:51:12 +0200 Original-Received: (qmail 3375 invoked by uid 550); 28 Apr 2015 18:51:11 -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 3357 invoked from network); 28 Apr 2015 18:51:10 -0000 In-Reply-To: User-Agent: Alpine 2.11 (LNX 23 2013-08-11) Xref: news.gmane.org gmane.linux.lib.musl.general:7546 Archived-At: > If the person on #gcc with ld -r was using gcc asm statements as well, that > would explain their problem too. Let me add that there's another class of problems with toplevel asms and LTO: as a result of LTO partitioning, toplevel asm may be moved into a different partition from the symbol it's referencing, breaking the build (when toplevel asm is referencing a static function). GCC bug report for that issue is here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57703 Alexander