Faxie Report post Posted November 28, 2011 (edited) I get this error when I try to compile the git-client: 2d_objects.c:1:0: error: CPU you selected does not support x86-64 instruction set Anyone know how I can solve this? Edit: I just saw I made a new topic. Could someone place this is the right topic please? Edited November 28, 2011 by DonC Share this post Link to post Share on other sites
Grum Report post Posted November 28, 2011 I get this error when I try to compile the git-client: 2d_objects.c:1:0: error: CPU you selected does not support x86-64 instruction set Anyone know how I can solve this? Edit make.conf, and change the line PLATFORM=-march=i686 to PLATFORM=-march=native Question to the devs: I have also run into this a couple of times. Would it be worthwile to make this change to make.defaults? Share this post Link to post Share on other sites
Faxie Report post Posted November 28, 2011 (edited) I get this error when I try to compile the git-client: 2d_objects.c:1:0: error: CPU you selected does not support x86-64 instruction set Anyone know how I can solve this? Edit make.conf, and change the line PLATFORM=-march=i686 to PLATFORM=-march=native Question to the devs: I have also run into this a couple of times. Would it be worthwile to make this change to make.defaults? Thanks for replying. This worked. Edited November 28, 2011 by DonC Share this post Link to post Share on other sites
bluap Report post Posted November 28, 2011 PLATFORM=-march=native Question to the devs: I have also run into this a couple of times. Would it be worthwile to make this change to make.defaults? I'm sure its been discussed before (I could not find the thread) but there was a gcc version issue preventing the change. However, it was a long time ago so should be fine now. Share this post Link to post Share on other sites
Grum Report post Posted November 28, 2011 (edited) PLATFORM=-march=native Question to the devs: I have also run into this a couple of times. Would it be worthwile to make this change to make.defaults? I'm sure its been discussed before (I could not find the thread) but there was a gcc version issue preventing the change. However, it was a long time ago so should be fine now. I did some digging, and -march=native was introduced in gcc 4.2, 4.5 years ago. Since I suspect that *) most people will have updated by now, and *) there are more x86_64 users than there are users of older gcc versions I will change the default. Edited November 28, 2011 by Grum Share this post Link to post Share on other sites
bluap Report post Posted November 28, 2011 Good plan. Share this post Link to post Share on other sites