From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6445 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Busybox awk errors Date: Wed, 5 Nov 2014 16:31:54 -0500 Message-ID: <20141105213154.GY22465@brightrain.aerifal.cx> References: 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 1415223162 10762 80.91.229.3 (5 Nov 2014 21:32:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2014 21:32:42 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6458-gllmg-musl=m.gmane.org@lists.openwall.com Wed Nov 05 22:32:36 2014 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 1Xm8Bv-0006en-NE for gllmg-musl@m.gmane.org; Wed, 05 Nov 2014 22:32:35 +0100 Original-Received: (qmail 27806 invoked by uid 550); 5 Nov 2014 21:32:07 -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 27757 invoked from network); 5 Nov 2014 21:32:06 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:6445 Archived-At: On Wed, Nov 05, 2014 at 04:10:28PM -0500, stephen Turner wrote: > Quick question for those using a busybox based musl system, > > I can cross compile musl programs fine on my host debian system (using a > dynamically linked gcc/binutils/musl toolchain (thanks for all the help > getting that working!)) but the build environment i'm making (which could > very well be broke as hell) Partially compiles gcc then errors out > complaining about > > "awk -f /blah/blah/i386-builtin-types.awk /blah/blah/i386-builtin-types.def > > tmp-bt.inc" > "awk /blah/blah/i386-builtin-types.awk:164 call to undefined function" > "t-i386: recipe for target s-i386-bt failed" > > The biggest difference obviously is the use of gnu programs on debian vs > the busybox system that's failing. > > Has anyone working with similar setups seen this issue before? I guess I > could just install gawk and try again to prove if its the busybox awk or > not..... I think this particular failure was a bug in busybox that was fixed more than a year ago. But if you have further problems and it's practical for you to use gawk, that should be a solution too. Rich