On 24/03/2018 10:15 AM, John Paul Adrian Glaubitz wrote:
On Mar 23, 2018, at 7:04 PM, Ao Qi <a...@loongson.cn> wrote:


It might be some time still. I'm working on a complete overhaul of all
CFLAGS and LDFLAGS, where this is a part of that picture, but I was not
planning on addressing just this thing urgently.

So, I think this patch will do for now. It solves the immediate problem
for MIPS, and I can come back and make a cleaner solution later on.


Isn't the best quick fix one that only adds -m64 for x86? I recall  a report
that arm32 is similarly broken.

I had a look at man gcc. It seems that at least -m64 is for S/390 and
zSeries, SPARC , RS/6000 and PowerPC, and x86.

I hope you don’t break architectures like m68k which don’t support that flag.

I think they are already broken. As I understand it -m64 is being added to everything except Aarch64 presently.

David

Adrian

Reply via email to