[Bug other/80719] gcc build fails on libiberty conflicting types: CP_STATIC_IF_GLIBCPP_V3

joriswu at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri May 12 07:10:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80719

--- Comment #3 from joris <joriswu at gmail dot com> ---
Further analysis shows the conflict is that the source has 'const' yet the
header has no 'const' qualifier for struct demangle_component

Unpacking binutils into the gcc source tree is what the install guide at
https://gcc.gnu.org/install/download.html suggests.

If building binutils separately, the resulting libiberty.a is not compatible
with gcc's expectations, likely related to relocatability.

P.S. the duplicate bug is because bugzilla showed a gateway timeout at submit.


More information about the Gcc-bugs mailing list