From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6450 Path: news.gmane.org!not-for-mail From: stephen Turner Newsgroups: gmane.linux.lib.musl.general Subject: Re: Busybox awk errors Date: Wed, 5 Nov 2014 21:31:57 -0500 Message-ID: References: <20141105213154.GY22465@brightrain.aerifal.cx> <545ACE4A.5060508@barfooze.de> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113cd9ae1d4a710507278047 X-Trace: ger.gmane.org 1415241139 23795 80.91.229.3 (6 Nov 2014 02:32:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Nov 2014 02:32:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6463-gllmg-musl=m.gmane.org@lists.openwall.com Thu Nov 06 03:32:12 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 1XmCrr-0007Ov-L1 for gllmg-musl@m.gmane.org; Thu, 06 Nov 2014 03:32:11 +0100 Original-Received: (qmail 5550 invoked by uid 550); 6 Nov 2014 02:32: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 5536 invoked from network); 6 Nov 2014 02:32:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=RYBoDmgs71ixXdDlLeC0ztpb1VMkSa7o7GjDLEKVHxw=; b=l+gLu7NIeoPEzv3LQbWM89Mkm0EPC5JtE91TbFm1Em7GLJXMZFaQ0Sl2V4XE9EoVMZ gSLqFFjC6VSZQCucfQNRzmHhjl6kR8iKsheYN73VnNxoYwjbZ0DY5xW6QduMxVKSIBvY ET/0JgZHrRTBWFYpbFT81phCHHPEs7nkRhJMQyatE8+4hlwaNvSQcHjiyN8nuvK3tk4o S4Nv7CrE7x53z8yC0A3mzWox6XaJydTuWRCPj5WcwzMteL6kFRwCV09N9u8YTPXPkHeG ZZtoYkEL5fx5G1bJYtH/Yk8xN0AL1C9kJu/xyd8/zRWPrHCtKc9Cn4J4qglYBmqqDtyS cLzw== X-Received: by 10.202.169.207 with SMTP id s198mr965765oie.7.1415241118073; Wed, 05 Nov 2014 18:31:58 -0800 (PST) In-Reply-To: <545ACE4A.5060508@barfooze.de> Xref: news.gmane.org gmane.linux.lib.musl.general:6450 Archived-At: --001a113cd9ae1d4a710507278047 Content-Type: text/plain; charset=UTF-8 Nice! Thanks for the tips. It looks like I need to see what else sabotage has been up to before proceeding. On Nov 5, 2014 8:28 PM, "John Spencer" wrote: > Rich Felker wrote: > >> 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 >> > > yep. sabotage has a patch for it in KEEP/ (i believe it was > busybox-awk-emptyfun.patch), and in the latest busybox version it's fixed > as well. > > --JS > > --001a113cd9ae1d4a710507278047 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Nice! Thanks for the tips. It looks like I need to see what = else sabotage has been up to before proceeding.

On Nov 5, 2014 8:28 PM, "John Spencer"= <maillist-musl@barfooze.de= > wrote:
Rich= Felker wrote:
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 cou= ld
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-built= in-types.def
tmp-bt.inc"
"awk /blah/blah/i386-builtin-types.awk:164 call to undefined fu= nction"
"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

yep. sabotage has a patch for it in KEEP/ (i believe it was busybox-awk-emp= tyfun.patch), and in the latest busybox version it's fixed as well.

--JS

--001a113cd9ae1d4a710507278047--