ferrandi / PandA-bambu

PandA-bambu public repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failure: error -> -m parameter not supported: -m64

noahsherrill opened this issue · comments

I see the error error -> -m parameter not supported: -m64 when running in an environment in which HAVE_I386_CLANG7_M32 and HAVE_I386_CLANG7_MX32 are 0, but HAVE_I386_CLANG7_M64 is 1. The OPT_gcc_m32_mx32 is set here:

#elif(HAVE_I386_CLANG7_COMPILER && HAVE_I386_CLANG7_M32)
All of the parameter strings contain a space at the end. The option is read here:
size_t GccWrapper::CGetPointerSize(const ParameterConstRef parameters)
However, a space is only anticipated for one case. For the other cases, it looks like it will always trigger an error because it does not expect a space in the parameter string.

Thank you very much for the bug report. I've internally patched the code and now I'm waiting for the regression to end.
Once the regression complete I'll publicly push the patch.
Cheers,
Fabrizio

@noahsherrill, is the above patch fixing the issue?

Yes, that fixed the issue. Thank you!

Ok, I’m going to close the issue. Thank you very much for raising the issue.