From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/972 Path: news.gmane.org!not-for-mail From: Charlie Brady Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit not ready for cross-compilation Date: Tue, 3 Jan 2006 15:16:39 -0500 (EST) Message-ID: References: <200512120150.02803.radek@podgorny.cz> <20060103141219.10168.qmail@b2e6e1223b0c20.315fe32.mid.smarden.org> <200601032049.06956.radek@podgorny.cz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1136319409 16211 80.91.229.2 (3 Jan 2006 20:16:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2006 20:16:49 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-1208-gcsg-supervision=m.gmane.org@list.skarnet.org Tue Jan 03 21:16:48 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1EtsaK-0008K0-7R for gcsg-supervision@gmane.org; Tue, 03 Jan 2006 21:16:44 +0100 Original-Received: (qmail 6528 invoked by uid 76); 3 Jan 2006 20:17:05 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 6521 invoked from network); 3 Jan 2006 20:17:05 -0000 X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com Original-To: Radek Podgorny In-Reply-To: <200601032049.06956.radek@podgorny.cz> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:972 Archived-At: On Tue, 3 Jan 2006, Radek Podgorny wrote: > Well, let's get rid of all of this, then... > > In general there is no way to do runtime tests when building for different > architecture. Are these tests even needed? No other software I know of > doesn't do such things... As has earlier been pointed out, other software does do such compile-link-run testing - most or all of Dan Bernstein's software does it, as does software derived from Dan's software. I think you'll also find that some software configured via ./configure will also do such tests, just not as explicitly. Testing for available features and extant bugs this way is quick and reliable. It just doesn't work for cross compilation. Here's something for you to try: make clean make clean compile load choose cat iopause.h1 > iopause.h cat uint64.h1 > uint64.h make chkshsgr cat hasshsgr.h1 > hasshsgr.h make You might need to use h2 in place of h1, depending on your target. Mine is little end MIPS.