https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67069
--- Comment #2 from Alex Lai <zclai at yahoo dot com> --- (In reply to Andrew Pinski from comment #1) > Don't use: > "CFLAGS=-m64" "CXXFLAGS=-m64" "LDFLAGS=-m64" > > Instead set CC/CXX to include -m64 instead. > Also you might need to default GCC to 64bit too. Setting CC/CXX to include -m64 worked. Thanks a lot.