https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106779
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egallager at gcc dot gnu.org, | |marxin at gcc dot gnu.org Keywords| |build --- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Todd Richmond from comment #0) > I have been able to build every gcc release from 8 to 12.2 on both CentOS6 > and CentOS 7 w/o problem including 12.1. However, 12.2 fails to compile > libiberty/objdump.c due to "PTR" not being defined. I tried compiling with > 10.2, 11.3 and 12.1 w/o success > > However, a big change was recently checked into libiberty that eliminates > the PTR macro, but 12.2 does not include it. I can confirm that this diff > works correctly > > https://github.com/gcc-mirror/gcc/commit/ > 50b009c5daef92bc60fc26fcc4c495e117667387.patch cc-ing author of this patch