[Rd] R-beta 2004-04-07 build failed on AIX

Liaw, Andy andy_liaw at merck.com
Thu Apr 7 19:31:20 CEST 2005


I thought I'd give this another shot before the official release.  I tried
building R-beta_2004-04-07 on the AIX system that I have access to, and it
seemed to failed at lazy-loading survival.  I'd very much appreciate any
pointer on what to try or look for next.

1.  I set OBJECT_MODE to 64 for building 64-bit binary.

2.  I edited config.site with the following:
CC="xlc_r"
CFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto"
F77="xlf_r"
FFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto -qextname"
SHLIB_LDFLAGS="-Wl,-G -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry
-Wl,-bexpall"
CXX="xlC_r"
CXXFLAGS="-O -qmaxmem=-1 -qarch=auto -qtune=auto"
SHLIB_CXXLDFLAGS="-qmkshrobj"

3. Ran configure with the following options:
   --with-tcltk=no --prefix=$HOME --with-readline=no
   and get the following:

R is now configured for powerpc-ibm-aix5.1.0.0

  Source directory:          ../R-beta
  Installation directory:    /SFS/user/ry/liawand

  C compiler:                xlc_r  -O -qmaxmem=-1 -qarch=auto -qtune=auto
  C++ compiler:              xlC_r  -O -qmaxmem=-1 -qarch=auto -qtune=auto
  Fortran compiler:          xlf_r  -O -qmaxmem=-1 -qarch=auto -qtune=auto
-qext
name

  Interfaces supported:      X11
  External libraries:        
  Additional capabilities:   MBCS, NLS
  Options enabled:           R profiling

  Recommended packages:      yes

4.  Ran `gmake', which produced the following:

[...]
xlc_r -Wl,-G -Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall
-Wl,-bM:SRE -Wl,-H512 -Wl,-T512 -Wl,-bnoentry -Wl,-bexpall
-Wl,-bI:/SFS/user/ry/liawand/R/Rbuild/etc/R.exp -L/usr/local/lib -o
survival.so agexact.o agfit2.o agfit3.o agfit5.o agfit_null.o agmart.o
agmart2.o agscore.o agsurv1.o agsurv2.o agsurv3.o char_date.o chinv2.o
chinv3.o cholesky2.o cholesky3.o chsolve2.o chsolve3.o cox_Rcallback.o
coxdetail.o coxfit2.o coxfit5.o coxmart.o coxph_wtest.o coxscho.o coxscore.o
dmatrix.o doloop.o pyears1.o pyears2.o pyears3.o pystep.o surv_callback.o
survdiff2.o survfit2.o survfit3.o survindex2.o survindex3.o survreg2.o
survreg3.o survreg4.o survreg5.o  -lm 
gmake[3]: Leaving directory `/ltmp/R.INSTALL.5603432/survival/src'
** R
** data
**  moving datasets to lazyload DB
** inst
** preparing package for lazy loading
/SFS/user/ry/liawand/R/Rbuild/bin/INSTALL[325]: 5677292 Illegal
instruction(coredump)
ERROR: lazy loading failed for package 'survival'
gmake[2]: *** [survival.ts] Error 1
gmake[2]: Leaving directory
`/SFS/user/ry/liawand/R/Rbuild/src/library/Recommended'
gmake[1]: *** [recommended-packages] Error 2
gmake[1]: Leaving directory
`/SFS/user/ry/liawand/R/Rbuild/src/library/Recommended'
gmake: *** [stamp-recommended] Error 2

Best,
Andy



More information about the R-devel mailing list