aa056@chebucto.ca
2002-Jun-03 23:19 UTC
build fails dumping R code in 'methods' on i686-pc-linux-gnu (PR#1630)
Using the same settings in config.site as were used for R-1.4.1, R-1.5.0 fails to build. ./configure --enable-R-shlib Using defaults and using PPro optimizations, the build failed in package methods: dumping R code in package 'methods' gmake[4]: *** [../../../library/methods/R/all.rda] Error 139 gmake[4]: Leaving directory `/mnt/Data/src/install/R-1.5.0/src/library/methods' The command that fails is: ../../../bin/R --vanilla --verbose < all.R The same failure occurs using defaults for CFLAGS, etc. Install patches: zcat R-release.diff.gz | patch -p1 R is now configured for i686-pc-linux-gnu Source directory: . Installation directory: /usr/local C compiler: gcc -D__NO_MATH_INLINES -mieee-fp -O2 \ -pipe -s -mpentiumpro -mcpu=pentiumpro -march=pentiumpro -mieee-fp \ -malign-loops=2 -malign-jumps=2 -malign-functions=2 \ -mpreferred-stack-boundary=2 C++ compiler: g++ -mieee-fp -O2 -pipe -s -mpentiumpro \ -mcpu=pentiumpro -march=pentiumpro -mieee-fp -malign-loops=2 \ -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2 FORTRAN compiler: g77 -O2 -pipe -s -mpentiumpro \ -mcpu=pentiumpro -march=pentiumpro -mieee-fp -malign-loops=2 \ -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2 X11 support: yes Gnome support: no Tcl/Tk support: yes Readline support: yes R profiling support: yes R as a shared library: yes The same error occurs using the patched version. $ gdb ../../../bin/R.bin core GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-mandrake-linux"... Core was generated by `/mnt/Data/src/install/R-1.5.0/bin/R.bin --vanilla --slave'. Program terminated with signal 11, Segmentation fault. Cannot access memory at address 0x40015238 #0 0x403cb10d in ?? ()Cannot access memory at address 0x40015238 (gdb)> ### The following code is only executed when dumping > assign(".saveImage", FALSE, .GlobalEnv) > .First.lib("methods", "methods", .GlobalEnv)$ ../../../bin/R --debugger=gdb (gdb) run --vanilla < all.R [...] Program received signal SIGSEGV, Segmentation fault. 0x403cb10d in Rf_install () from /mnt/Data/src/install/R-1.5.0/bin/libR.so (gdb) where #0 0x403cb10d in Rf_install () from /mnt/Data/src/install/R-1.5.0/bin/libR.so #1 0x404f5a85 in R_initMethodDispatch () from /mnt/Data/src/install/R-1.5.0/library/methods/libs/methods.so #2 0x807c6a2 in do_dotCode () at eval.c:88 #3 0x808b032 in Rf_eval () at eval.c:88 #4 0x808beae in do_begin () at eval.c:88 #5 0x808aeaf in Rf_eval () at eval.c:88 #6 0x808b3f0 in Rf_applyClosure () at eval.c:88 #7 0x808b0aa in Rf_eval () at eval.c:88 #8 0x80a0d8d in R_ReplConsole () at eval.c:88 #9 0x80a140a in run_Rmainloop () at eval.c:88 #10 0x80a1421 in Rf_mainloop () at eval.c:88 #11 0x80f5f6d in main () at eval.c:88 #12 0x400f38a6 in __libc_start_main (main=0x80f5f58 <main>, argc=2, ubp_av=0xbffff354, init=0x804a564 <_init>, fini=0x81677a4 <_fini>, rtld_fini=0x4000b980 <_dl_fini>, stack_end=0xbffff34c) at ../sysdeps/generic/libc-start.c:129 (gdb) The following information is from R-1.4.1 big.report() --please do not edit the information below-- Version: platform = i686-pc-linux-gnu arch = i686 os = linux-gnu system = i686, linux-gnu status major = 1 minor = 4.1 year = 2002 month = 01 day = 30 language = R Search Path: .GlobalEnv, package:ctest, Autoloads, package:base -- George N. White III <aa056@chebucto.ns.ca> Halifax, NS, Canada -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
John Chambers
2002-Jun-04 14:04 UTC
build fails dumping R code in 'methods' on i686-pc-linux-gnu (PR#1630)
aa056@chebucto.ca wrote:> > Using the same settings in config.site as were used for R-1.4.1, > R-1.5.0 fails to build. > > ./configure --enable-R-shlib > > Using defaults and using PPro optimizations, the build failed in > package methods: > > dumping R code in package 'methods' > gmake[4]: *** [../../../library/methods/R/all.rda] Error 139 > gmake[4]: Leaving directory `/mnt/Data/src/install/R-1.5.0/src/library/methods' > > The command that fails is: > > ../../../bin/R --vanilla --verbose < all.R > > The same failure occurs using defaults for CFLAGS, etc. > > Install patches: > > zcat R-release.diff.gz | patch -p1 > > R is now configured for i686-pc-linux-gnu > > Source directory: . > Installation directory: /usr/local > C compiler: gcc -D__NO_MATH_INLINES -mieee-fp -O2 \ > -pipe -s -mpentiumpro -mcpu=pentiumpro -march=pentiumpro -mieee-fp \ > -malign-loops=2 -malign-jumps=2 -malign-functions=2 \ > -mpreferred-stack-boundary=2 > C++ compiler: g++ -mieee-fp -O2 -pipe -s -mpentiumpro \ > -mcpu=pentiumpro -march=pentiumpro -mieee-fp -malign-loops=2 \ > -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2 > FORTRAN compiler: g77 -O2 -pipe -s -mpentiumpro \ > -mcpu=pentiumpro -march=pentiumpro -mieee-fp -malign-loops=2 \ > -malign-jumps=2 -malign-functions=2 -mpreferred-stack-boundary=2 > X11 support: yes > Gnome support: no > Tcl/Tk support: yes > Readline support: yes > > R profiling support: yes > R as a shared library: yes > > The same error occurs using the patched version. >I couldn't reproduce this with the --enable-R-shlib in the configuration, on either of my current Linux versions (Redhat 7.1, YDL 2.2); e.g., R is now configured for i686-pc-linux-gnu Source directory: . Installation directory: /usr/local C compiler: gcc -D__NO_MATH_INLINES -mieee-fp -g C++ compiler: g++ -mieee-fp -g -O2 FORTRAN compiler: g77 -g -O2 X11 support: yes Gnome support: no Tcl/Tk support: yes Readline support: yes R profiling support: yes R as a shared library: yes -- John M. Chambers jmc@bell-labs.com Bell Labs, Lucent Technologies office: (908)582-2681 700 Mountain Avenue, Room 2C-282 fax: (908)582-3340 Murray Hill, NJ 07974 web: http://www.cs.bell-labs.com/~jmc -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._