Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Building R-2.6.0 fails on macppc



I'm cc'ing the macppc list on this to see if anyone else has experience
with this.

I'm trying to build R-2.6.0 on a macppc [G3] machine which has recently
been upgraded from 3.0-4.0.  I cvsup'd the pkgs and ran pkg_chk -f -u
-s to upgrade the packages [and they all appeared to upgrade].

I am now trying to build R for this machine, and it fails like this:

gmake[3]: Entering directory `/usr/pkgsrc/math/R/work/R-2.6.0/src/main'
cc -std=gnu99 -shared -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
-Wl,-R/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib  -o libR.so
CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o
arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o
character.o coerce.o colors.o complex.o connections.o context.o cov.o
cum.o dcf.o datetime.o debug.o deparse.o deriv.o dotcode.o dounzip.o
dstruct.o duplicate.o engine.o envir.o errors.o eval.o format.o
fourier.o gevents.o gram.o gram-ex.o graphics.o identical.o inlined.o
internet.o iosupport.o lapack.o list.o localecharset.o logic.o main.o
mapply.o match.o memory.o model.o names.o objects.o optim.o optimize.o
options.o par.o paste.o pcre.o platform.o plot.o plot3d.o plotmath.o
print.o printarray.o printvector.o printutils.o qsort.o random.o
regex.o registration.o relop.o rlocale.o saveload.o scan.o seq.o
serialize.o size.o sort.o source.o split.o sprintf.o startup.o
subassign.o subscript.o subset.o summary.o sysutils.o unique.o util.o
version.o vfonts.o xxxpr.o   `ls ../appl/*.o ../nmath/*.o ../unix/*.o
2>/dev/null|grep -v /ext-` -lblas -lF77 -lI77 -lm -R/usr/pkg/lib: 
-R/usr/X11R6/lib:      /usr/lib/libintl.so -lreadline  -lpcre -lbz2 -lz -lm 
-liconv CConverters.o: In function `do_setToCConverterActiveStatus': 
CConverters.c:(.text+0x532): relocation truncated to fit: R_PPC_GOT16 against 
symbol `R_FunTab' defined in .data.rel section in names.o CConverters.o: In 
function `RC_converterMatchClass': CConverters.c:(.text+0x612): relocation 
truncated to fit: R_PPC_GOT16 against symbol `R_ClassSymbol' defined in .sbss 
section in main.o CConverters.c:(.text+0x6f2): relocation truncated to fit: 
R_PPC_GOT16 against symbol `R_NilValue' defined in .sbss section in main.o 
CommandLineArgs.o: In function `R_common_command_line': 
CommandLineArgs.c:(.text+0x22): relocation truncated to fit: R_PPC_GOT16 
against symbol `R_RestoreHistory' defined in .sbss section in main.o 
CommandLineArgs.c:(.text+0x3ba): relocation truncated to fit: R_PPC_GOT16 
against symbol `R_StdinEnc' defined in .data sec!
 tion in main.o Rdynload.o: In function `GetFullDLLPath': 
Rdynload.c:(.text+0x42): relocation truncated to fit: R_PPC_GOT16 against 
symbol `R_osDynSymbol' defined in .sdata section in Rdynload.o Rdynload.o: In 
function `get_package_CEntry_table': Rdynload.c:(.text+0xc6): relocation 
truncated to fit: R_PPC_GOT16 against symbol `R_UnboundValue' defined in .sbss 
section in main.o Rdynload.c:(.text+0x10a): relocation truncated to fit: 
R_PPC_GOT16 against symbol `R_NilValue' defined in .sbss section in main.o 
Rdynload.c:(.text+0x166): relocation truncated to fit: R_PPC_GOT16 against 
symbol `R_NilValue' defined in .sbss section in main.o Rdynload.o: In function 
`R_GetCCallable': Rdynload.c:(.text+0x1d6): relocation truncated to fit: 
R_PPC_GOT16 against symbol `R_UnboundValue' defined in .sbss section in main.o
Rdynload.o: In function `R_RegisterCCallable':
Rdynload.c:(.text+0x282): additional relocation overflows omitted from
the output gmake[3]: *** [libR.so] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/math/R/work/R-2.6.0/src/main'
gmake[2]: *** [R] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/math/R/work/R-2.6.0/src/main'
gmake[1]: *** [R] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/math/R/work/R-2.6.0/src'
gmake: *** [R] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/math/R
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/math/R


Any insights?  If it makes any difference, I *was* able to get this to
build on my sparc64 [NetBSD 4.0] machine at home [and produced the
binary package, too.]

Thanks.

-- 
jim smith <n0oct%sbcglobal.net@localhost>



Home | Main Index | Thread Index | Old Index