Created attachment 259585 [details] config.log with the "cannot compute sizeof (int)" error The configure script keeps failing here, with two different reasons alternating: - cannot compute sizeof (int) - Some fortran/C incompatibility The _real_ problem must be somewhere else, but I don't know, how to find it.
Created attachment 259586 [details] Config.log with the Fortran error
I tried to reproduce the errors building math/R in a 14.2 i386 jail but didn't run into any problems. Here's the build log from a successful run: https://pkg.ftfl.ca/data/14i386-default/2025-04-17_11h16m08s/logs/R-4.4.3.log If I'm interpreting the original config.log correctly, the error stems from the attached test program used to check sizeof(int). Could you try compiling and running this manually? Is this what you see when you build and run it with gcc13? % gcc13 -o conftest -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing conftest.c -lm jrm@asn ~ % ./conftest && echo $? 0 How about the gcc14 you were using when you encountered the errors?
Created attachment 259642 [details] test sizeof(int) in R's configure script test sizeof(int) in R's configure script
> gcc13 -o conftest -O2 -pipe -DLIBICONV_PLUG -fno-strict-aliasing conftest.c -lm With both gcc13 and gcc14 the compiled conftest runs fine, and exits with code 0... (I also tried running it under valgrind, but the tool itself crashes of "unhandled instruction" on i386)