Building 2.37 fails on bool errors
NightStrike
nightstrike@gmail.com
Fri Jan 14 02:59:24 GMT 2022
On CentOS 7 with a host gcc of 4.8.5, configuring and building
binutils 2.36.1 with --disable-nls and --prefix as configure options
works fine. When I use the same configure options on 2.37, I get
errors from dis-asm.h and dis-asm.c that "bool" is undeclared. Adding
"#include <stdbool.h> to dis-asm.h fixes the build problem, and it
completes.
Am I missing a particular option to configure that is required on 2.37
to handle bool without including the proper header? Or is my build
environment screwed up somehow? Has anyone else seen something
similar?
More information about the Binutils
mailing list