Summary: | dev-lang/R-2.3.1 compilation fails on AMD64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nestor Arocha <nesaro> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nestor Arocha
2006-07-16 18:03:03 UTC
Oops. I'm sorry about the original post formatting. In addition, I didn't sent it properly because I didn't see the compilation error message: ... begin installing recommended package cluster * Installing *source* package 'cluster' ... ** libs make[3]: se ingresa al directorio `/var/tmp/portage/R-2.3.1/temp/R.INSTALL.57PM7 h/cluster/src' x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/R-2.3.1/work/R-2.3.1/include -I/var/t mp/portage/R-2.3.1/work/R-2.3.1/include -I/usr/local/include -fPIC -march=at hlon64 -mtune=athlon64 -ffast-math -pipe -O3 -funroll-all-loops -fpeel-loops -ft racer -funswitch-loops -ftree-vectorize -mfpmath=sse -c clara.c -o clara.o gfortran -fPIC -g -O2 -c daisy.f -o daisy.o ... x86_64-pc-linux-gnu-gcc -shared -o cluster.so clara.o daisy.o dysta.o fanny.o i nit.o meet.o mona.o pam.o sildist.o spannel.o twins.o -lgfortran -lm -lgcc_s -L /var/tmp/portage/R-2.3.1/work/R-2.3.1/lib -lR make[3]: se sale del directorio `/var/tmp/portage/R-2.3.1/temp/R.INSTALL.57PM7h/ cluster/src' ** R ** data ** moving datasets to lazyload DB Error in factor(c(1, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1), : invalid labels; length 2 should be 1 or 1 Execution halted ERROR: lazydata failed for package 'cluster' ** Removing '/var/tmp/portage/R-2.3.1/work/R-2.3.1/library/cluster' ----------------------------------------------------- Anyway, I have no idea about the origin of the problem (In reply to comment #0) > CFLAGS="-march=athlon64 -mtune=athlon64 -ffast-math -pipe -O3 > -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops > -ftree-vectorize -mfpmath=sse" > CXXFLAGS="-march=athlon64 -mtune=athlon64 -ffast-math -pipe -O3 > -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops > -ftree-vectorize -mfpmath=sse" You know the drill. http://gentoo-wiki.com/Safe_Cflags In particular, -ftree-vectorize is still broken in 4.1.1. -mfpmath=sse is already the default for x86_64. -ffast-math should only be used with programs that don't need double-precision floating point math, which i'd think a statistical graphing language might just need. Try w/ some more sane C[XX]FLAGS, as said above. Compilation finished successfully without -ffast-math and -ftree-vectorize. Current CXXFLAGS="-march=athlon64 -mtune=athlon64 -pipe -O3 -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops " Thanks Closing then. ;) |