Does not build on 32 bit architectures any more
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 1.1k
- Forks
- 266
- Avg merge
- 2h 56m
- Merged PRs (30d)
- 1
Description
Summary:
The 32bit autobuilders of the Debian package all failed to build version 2.21.8 while these succeeded for version 2.21.7.
Description:
There is a full build log for i386 which ends with
make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"." -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -DBOOST_NO_AUTO_PTR -D_REENTRANT -DSTAN_THREADS -I'/usr/lib/R/site-library/Rcpp/include' -I'/usr/lib/R/site-library/RcppEigen/include' -I'/usr/lib/R/site-library/BH/include' -I'/usr/lib/R/site-library/StanHeaders/include' -I'/usr/lib/R/site-library/RcppParallel/include' -fpic -g -O2 -ffile-prefix-map=/build/r-base-DQneTm/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -ffloat-store -Wdate-time -D_FORTIFY_SOURCE=2 -c Module.cpp -o Module.o
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"." -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -DBOOST_NO_AUTO_PTR -D_REENTRANT -DSTAN_THREADS -I'/usr/lib/R/site-library/Rcpp/include' -I'/usr/lib/R/site-library/RcppEigen/include' -I'/usr/lib/R/site-library/BH/include' -I'/usr/lib/R/site-library/StanHeaders/include' -I'/usr/lib/R/site-library/RcppParallel/include' -fpic -g -O2 -ffile-prefix-map=/build/r-base-DQneTm/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -ffloat-store -Wdate-time -D_FORTIFY_SOURCE=2 -c chains.cpp -o chains.o
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"." -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -DBOOST_NO_AUTO_PTR -D_REENTRANT -DSTAN_THREADS -I'/usr/lib/R/site-library/Rcpp/include' -I'/usr/lib/R/site-library/RcppEigen/include' -I'/usr/lib/R/site-library/BH/include' -I'/usr/lib/R/site-library/StanHeaders/include' -I'/usr/lib/R/site-library/RcppParallel/include' -fpic -g -O2 -ffile-prefix-map=/build/r-base-DQneTm/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -ffloat-store -Wdate-time -D_FORTIFY_SOURCE=2 -c grammar_inst.cpp -o grammar_inst.o
cc1plus: out of memory allocating 32 bytes after a total of 44007424 bytes
make[1]: *** [/usr/lib/R/etc/Makeconf:178: grammar_inst.o] Error 1
Reproducible Steps:
Please try to build in i386 (or armel/armhf).
RStan Version:
2.21.8
R Version:
4.2.2.20221110
Operating System:
Debian unstable
Kind regards, Andreas.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Debian build on i386, armel, or armhf and start by examining the compilation of grammar_inst.cpp alongside Module.cpp and chains.cpp. Compare the 2.21.8 build failure with the provided 2.21.7 context; done means the package builds successfully on a 32-bit architecture.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, r
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100