mailing list of musl libc
 help / color / mirror / code / Atom feed
* R/GNU S: up with a couple hitches...
@ 2012-09-13  4:29 idunham
  2012-09-13  4:41 ` Rich Felker
  2012-11-25 17:58 ` Daniel Cegiełka
  0 siblings, 2 replies; 13+ messages in thread
From: idunham @ 2012-09-13  4:29 UTC (permalink / raw)
  To: musl

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







^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-11-25 17:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-13  4:29 R/GNU S: up with a couple hitches idunham
2012-09-13  4:41 ` Rich Felker
2012-09-13  7:08   ` Daniel Cegiełka
2012-09-15  3:21     ` Isaac Dunham
2012-09-15  3:51       ` Rich Felker
2012-09-15  7:06         ` Isaac Dunham
2012-09-19  4:17           ` idunham
2012-09-15 10:54       ` Daniel Cegiełka
2012-09-19  0:19         ` idunham
2012-09-19  2:59           ` Rich Felker
2012-09-19  4:44             ` idunham
2012-09-19  4:39               ` Rich Felker
2012-11-25 17:58 ` Daniel Cegiełka

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).