Excerpts from Rainer Orth's message of November 21, 2023 4:59 pm: > Hi Iain, > >> This patch merges the D front-end and runtime library with upstream dmd >> ff57fec515, and the standard library with phobos 17bafda79. >> >> Synchronizing with the upstream release candidate of v2.106.0. >> >> D front-end changes: >> >> - Import dmd v2.106.0-rc.1. >> - New'ing multi-dimensional arrays are now are converted to a single >> template call `_d_newarraymTX'. >> >> D runtime changes: >> >> - Import druntime v2.106.0-rc.1. >> >> Phobos changes: >> >> - Import phobos v2.106.0-rc.1. >> >> Bootstrapped and regression tested on x86_64-linux-gnu/-m32, committed >> to mainline. > > either this patch or the previous one broke D bootstrap with GCC 9. On > both i386-pc-solaris2.11 with gdc 9.4.0 and sparc-sun-solaris2.11 with > gdc 9.3.0, stage 1 d21 fails to link with > > Undefined first referenced > symbol in file > _D3dmd4root11stringtable34__T11StringValueTC3dmd5mtype4TypeZ11StringValue7lstringMFNaNbNiNjZPa > d/func.o > _D3dmd4root11stringtable34__T11StringValueTC3dmd5mtype4TypeZ11StringValue8toDcharsMxFNaNbNiNjZPxa > d/func.o > _D3dmd4root11stringtable34__T11StringValueTC3dmd5mtype4TypeZ11StringValue8toStringMxFNaNbNiNjZAxa > d/func.o > ld: fatal: symbol referencing errors > collect2: error: ld returned 1 exit status > make[3]: *** [/vol/gcc/src/hg/master/local/gcc/d/Make-lang.in:236: d21] Error > 1 > > I'm now running bootstraps with gdc 11.1.0 instead, which seems to work: > in both cases, stage 1 d21 did link. > > If this is intentional, install.texi should be updated accordingly. >
Thanks Rainer, I don't think this should happen if we can help it just yet. I'll have a look to see which specific upstream change might have caused it. Iain.