On Mon, May 20, 2024 at 1:56 PM David Edelsohn <dje....@gmail.com> wrote:
> Hi, David > > Unfortunately r15-636-g770657d02c986c causes a bootstrap failure on AIX > when building f951 in stage2. cc1 and cc1plus link successfully. There > doesn't seem to be a similar failure for powerpc64-linux BE or LE. > > The failure is > > ld: 0711-317 ERROR: Undefined symbol: _ZTV29range_label_for_type_mismatch > ld: 0711-317 ERROR: Undefined symbol: > ._ZNK29range_label_for_type_mismatch8get_textEj > > which corresponds to > > vtable for range_label_for_type_mismatch > range_label_for_type_mismatch::get_text(unsigned int) const > > I suspect that something is not being explicitly instantiated, which is > running afoul of the AIX linker. > > Somehow your patch is causing the f951 compiler to reference these > additional, undefined symbols. I suspect that they also are undefined for > Linux targets, but the linker ignores the error and nothing is amiss if the > symbols never are called. > > Thanks, David > Thanks for diagnosing and fixing the problem. David