On 19 June 2023 at 16:37, Adrian Bunk wrote: | On Tue, Jun 13, 2023 at 03:30:18PM -0500, Dirk Eddelbuettel wrote: | > | > On 13 June 2023 at 13:15, Steve Langasek wrote: | > | Control: reassign -1 r-cran-rstan r-cran-bh | > | Control: found -1 r-cran-rstan/2.21.8-1 | > | | > | Unfortunately, at least in Ubuntu it appears the r-cran-rstan build still | > | exhausts the 32-bit memory space even with boost 1.81. | > | | > | https://launchpad.net/ubuntu/+source/r-cran-rstan/2.21.8-1/+build/26010118 | > | > :-/ | > | > Not sure that it is fair to point at BH / Boost though. Anyway. | > | > CRAN no longer checks / compiles 32 bit so upstream may not care, but they | > are a good team (if busy). You could ping Ben, he is at | > Benjamin K Goodrich <benjamin.goodr...@columbia.edu> | >... | | The patch below to r-base fixes the build of r-cran-rstan/i386 for me.
Shucks: You missed a new upstream by a few days. I'll consider a -2 but note that ... | This will reduce debug info in the R ecosystem on 32bit to what is | required for backtraces, but I assume realistically R on 32bit is | anyway only sparsely used these days. ... 32 bit is no longer a release architecture for R upstream so this is borderline either way. Dirk | | > Dirk | | cu | Adrian | | --- debian/rules.old 2023-06-18 19:45:14.437261923 +0000 | +++ debian/rules 2023-06-18 19:51:30.097179612 +0000 | @@ -90,6 +90,11 @@ | export DEB_CFLAGS_MAINT_APPEND = -ffloat-store | endif | | +## fewer debug info on 32bit to workaround 2-4 GB address space limitation | +ifeq ($(DEB_HOST_ARCH_BITS), 32) | +export DEB_CFLAGS_MAINT_APPEND += -g1 | +endif | + | ## edd 31 Mar 2014 | ## edd 14 Oct 2022 disable LTO per email with Graham Inggs | #optimflags = -O3 -pipe -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org