[This is an inappropriate question for R-help. Perhaps R-devel (see the posting guide) but more likely a FreeBSD mailing list. Moved to R-devel.]

R itself does not refer to __builtin_alloca. That is something being mapped by the FreeBSD headers, and it should be `builtin' using gcc. (No version of alloca is appearing as an import in error.o on Linux or Solaris using gcc.) So it looks like an inconsistency between your compiler and OS.

On Sat, 23 Apr 2005, Rainer Hurling wrote:

Dear R-users,

is there anyone else with problems to get R-2.1.0 compiled on
FreeBSD6-CURRENT?

After typing '.configure' and then 'make' I get the following output:

-------------------------------------
[...snip...]
gcc -export-dynamic -L/usr/local/lib -o R.bin  Rmain.o  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 internet.o iosupport.o lapack.o list.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 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 ../unix/libunix.a ../appl/libappl.a
../nmath/libnmath.a   -lg2c -lm  ../extra/zlib/libz.a
../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a
/usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lreadline -lm
-liconv

errors.o(.text+0x154b): In function `do_gettext':
/usr/local/R-2.1.0/src/main/errors.c:779: undefined reference to
`__builtin_alloca'
errors.o(.text+0x15fa):/usr/local/R-2.1.0/src/main/errors.c:752:
undefined reference to `__builtin_alloca'
errors.o(.text+0x1652):/usr/local/R-2.1.0/src/main/errors.c:760:
undefined reference to `__builtin_alloca'
errors.o(.text+0x16aa):/usr/local/R-2.1.0/src/main/errors.c:770:
undefined reference to `__builtin_alloca'
errors.o(.text+0x1728):/usr/local/R-2.1.0/src/main/errors.c:738:
undefined reference to `__builtin_alloca'
errors.o(.text+0x274d):/usr/local/R-2.1.0/src/main/errors.c:829: more
undefined references to `__builtin_alloca' follow
*** Error code 1

Stop in /usr/local/R-2.1.0/src/main.
*** Error code 1

Stop in /usr/local/R-2.1.0/src/main.
*** Error code 1

Stop in /usr/local/R-2.1.0/src.
*** Error code 1

Stop in /usr/local/R-2.1.0.
-------------------------------------

Are there any experiences with this break?

R-2.0.1 _does_ compile on the same system.

Many thanks in advance,
Rainer Hurling

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


-- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595

______________________________________________
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to