Created attachment 826709 [details] build.log [...] x86_64-gentoo-linux-musl-gcc -shared -fopenmp -O2 -march=bdver3 -mtune=bdver3 -pipe -flto -fpic -Wl,-O1 -Wl,--as-needed -o libR.so CommandLineArgs.o Rdynload.o Renviron.o RNG.o agrep.o altclasses.o altrep.o apply.o arithmetic.o array.o attrib.o bind.o builtin.o character.o clippath.o coerce.o colors.o complex.o connections.o context.o cum.o dcf.o datetime.o debug.o deparse.o devices.o dotcode.o dounzip.o dstruct.o duplicate.o edit.o engine.o envir.o errors.o eval.o format.o gevents.o gram.o gram-ex.o graphics.o grep.o identical.o inlined.o inspect.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o main.o mapply.o mask.o match.o memory.o names.o objects.o options.o paste.o patterns.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o radixsort.o random.o raw.o registration.o relop.o rlocale.o saveload.o scan.o seq.o serialize.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o subset.o summary.o sysutils.o times.o unique.o util.o version.o g_alab_her.o g_cntrlify.o g_fontdb.o g_her_glyph.o xxxpr.o `ls ../unix/*.o ../appl/*.o ../nmath/*.o` ../extra/intl/libintl.a -lblas -lgfortran -lm -lssp_nonshared -lquadmath ../extra/intl/libintl.a -lreadline -ltre -lpcre2-8 -llzma -lbz2 -lz -ltirpc -lrt -ldl -lm -licuuc -licui18n make[4]: Entering directory '/var/tmp/portage/dev-lang/R-4.2.1/work/R-4.2.1/src/main' mkdir -p -- /var/tmp/portage/dev-lang/R-4.2.1/work/R-4.2.1/bin/exec mkdir -p -- /var/tmp/portage/dev-lang/R-4.2.1/work/R-4.2.1/lib make[4]: Leaving directory '/var/tmp/portage/dev-lang/R-4.2.1/work/R-4.2.1/src/main' make[3]: Leaving directory '/var/tmp/portage/dev-lang/R-4.2.1/work/R-4.2.1/src/main' make[3]: Entering directory '/var/tmp/portage/dev-lang/R-4.2.1/work/R-4.2.1/src/main' x86_64-gentoo-linux-musl-gcc -I/usr/include/tirpc -I. -I../../src/include -I../../src/include -I../../src/nmath -DHAVE_CONFIG_H -fopenmp -fpic -O2 -march=bdver3 -mtune=bdver3 -pipe -flto -c Rmain.c -o Rmain.o x86_64-gentoo-linux-musl-gcc -O2 -march=bdver3 -mtune=bdver3 -pipe -flto -fpic -Wl,--export-dynamic -fopenmp -L"../../lib" -Wl,-O1 -Wl,--as-needed -o R.bin Rmain.o -lR /usr/lib/gcc/x86_64-gentoo-linux-musl/12/../../../../x86_64-gentoo-linux-musl/bin/ld: ../../lib/libR.so: undefined reference to `libintl_dgettext' /usr/lib/gcc/x86_64-gentoo-linux-musl/12/../../../../x86_64-gentoo-linux-musl/bin/ld: ../../lib/libR.so: undefined reference to `libintl_gettext' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:149: R.bin] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-lang/R-4.2.1/work/R-4.2.1/src/main' make[2]: *** [Makefile:140: R] Error 2 make[2]: Leaving directory '/var/tmp/portage/dev-lang/R-4.2.1/work/R-4.2.1/src/main' make[1]: *** [Makefile:28: R] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-lang/R-4.2.1/work/R-4.2.1/src' make: *** [Makefile:61: R] Error 1 * ERROR: dev-lang/R-4.2.1::gentoo failed (compile phase): * emake failed
Created attachment 826711 [details] emerge --info
Created attachment 850164 [details] build.log (amd64, 4.2.2) No change with 4.2.2.
=dev-lang/R-4.3.1 compiles with Clang 18.0.0 after disabling nls useflag (segfaults with GCC 14.0.0_pre20231022-r1) See https://bugs.r-project.org/show_bug.cgi?id=18502#c1 (requires external libintl library?)