From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12400 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: will this idea work? Date: Thu, 25 Jan 2018 12:22:49 +0100 Message-ID: <20180125112249.GE4418@port70.net> References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1516879285 3588 195.159.176.226 (25 Jan 2018 11:21:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Jan 2018 11:21:25 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) To: musl@lists.openwall.com Original-X-From: musl-return-12416-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jan 25 12:21:21 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1eefaX-0007zE-Bz for gllmg-musl@m.gmane.org; Thu, 25 Jan 2018 12:21:01 +0100 Original-Received: (qmail 7978 invoked by uid 550); 25 Jan 2018 11:23:02 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7915 invoked from network); 25 Jan 2018 11:23:01 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:12400 Archived-At: * Po-yi Wang [2018-01-24 21:16:15 -0800]: > the current version of musl (1.1.18), will no longer work with older > binutils and gcc, specifically, the arm target. both i486 and ppc seem ok. > i have checked older versions of musl, i guess some of them must have worked > with gcc-3 binutils-1.15 before. suppose i try to port musl to work with > older tools, specially gcc-3.4.5 and binutils-1.15. also assuming, only need > to support older cpu and nothing new. i am guessing porting all the assembly > files (*.s) would be sufficient? yes, porting the asm works, but note that the old vfp intrinsics that work in binutils don't work in llvm (complain to llvm folks) so it's not possible to write asm such that every tool is happy, you will need to do some ifdef clang hackery and i'm not sure if the '.object_arch' directive works with that old binutils.