From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1924 Path: news.gmane.org!not-for-mail From: idunham@lavabit.com Newsgroups: gmane.linux.lib.musl.general Subject: R/GNU S: up with a couple hitches... Date: Thu, 13 Sep 2012 00:29:07 -0400 (EDT) Message-ID: <36368.132.241.18.70.1347510547.squirrel@lavabit.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1347510563 13820 80.91.229.3 (13 Sep 2012 04:29:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 04:29:23 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1925-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 13 06:29:26 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TC13O-0003s4-4X for gllmg-musl@plane.gmane.org; Thu, 13 Sep 2012 06:29:26 +0200 Original-Received: (qmail 13559 invoked by uid 550); 13 Sep 2012 04:29:20 -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 13549 invoked from network); 13 Sep 2012 04:29:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=BKHEKBwWC/tfQcnA6CKke+FwgMc1khN6RugzpcrNppbH01ij6QZVlXGy2UlOqWV+hl3JQvz9UuNMnVPkwSms1puOwRV5EROz2z++zf12sohtM815Wk6YXEMQrPqFXDxPxHEKBAJD78yO3K6N1lhOgQCYBYmU7gPRGe5rhEFe1vM=; h=Message-ID:Date:Subject:From:To:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding; User-Agent: SquirrelMail/1.4.13 Xref: news.gmane.org gmane.linux.lib.musl.general:1924 Archived-At: Cleaning up my Drafts folder, I found this: I decided to give my gcc-3.4 build a workout (including the g77 fortran compiler) by building R (a/k/a GNU S). R is a fairly large stats package that uses C and Fortran. Here are the issues I encountered: 1. iconv() needs UCS-* support: I used LD_PRELOAD=preloadable_libiconv.so 2. __libc_stack_end is *apparently* assumed present on linux, rather than properly checked for. (This breaks build in src/unix/system.c) So you need to change (in src/include/config.h) #define HAVE_LIBC_STACK_END 1 to #undef HAVE_LIBC_STACK_END There is fallback code, but currently it seems to just be guessing the location of the stack end (if I understand properly). After these, R builds. It runs, but does not pass tests. Isaac Dunham