Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

[Solved]CPU you selected does not support x86-64 instruction

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
jlward4th
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Jan 07, 2003 12:54 pm
Contact:
Contact jlward4th
Website

[Solved]CPU you selected does not support x86-64 instruction

  • Quote

Post by jlward4th » Sat Oct 28, 2006 4:21 pm

I'm trying install Gentoo on a Core 2 Duo with EM64T. I've extracted the amd64 stage3 tar ball, but when I try to emerge something I get:

Code: Select all

example.c:1: error: CPU you selected does not support x86-64 instruction set
Here is my make.conf

Code: Select all

CFLAGS="-march=nocona -mtune=pentium-m -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j3"

ACCEPT_KEYWORDS="~amd64"
Any ideas?
Last edited by jlward4th on Wed Nov 01, 2006 9:10 pm, edited 1 time in total.
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Sat Oct 28, 2006 5:12 pm

Yes, cat /proc/cpuinfo and post here. :)
Top
nixnut
Bodhisattva
Bodhisattva
User avatar
Posts: 10974
Joined: Fri Apr 09, 2004 1:43 pm
Location: the dutch mountains

  • Quote

Post by nixnut » Sat Oct 28, 2006 5:45 pm

using -mtune=pentium-m in combination with -march=nocona makes no sense. You're mixing to architectures here.
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Sat Oct 28, 2006 8:39 pm

hm, I've noticed the same on the gentoo-wiki but I wasn't sure if that's wrong :oops:

@jlward4th:
did you get that cflags / configuration on the gentoo-wiki?
64 bit

CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CXXFLAGS="${CFLAGS}"

Warning: nocona is not yet verified for Core 2. Use at your own risk.

CFLAGS="-march=nocona -mtune=pentium-m -O2 -pipe

Warning: not approved! In test since 01.09.06

Bear in mind that all Core 2 Duo are dual-core CPUs so make sure that you use MAKEOPTS="-j3" in your make.conf. This doesn't affect the code but might reduce compile times.
Intel Core 2 Duo section on gentoo-wiki.com

Code: Select all

CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe" 
works fine for me (Core 2 Duo, Conroe 6600)

also if you own an >= Conroe 6600
you should consider

Code: Select all

MAKEOPTS="-j7"
, this will cut your build-times tremendously
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
jlward4th
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 83
Joined: Tue Jan 07, 2003 12:54 pm
Contact:
Contact jlward4th
Website

  • Quote

Post by jlward4th » Wed Nov 01, 2006 5:02 am

Yes, I did get those cflags from the gentoo-wiki. And your suggestion to drop the -mtune=pentium-m works! Thanks!
Top
kernelOfTruth
Watchman
Watchman
User avatar
Posts: 6111
Joined: Tue Dec 20, 2005 10:34 pm
Location: Vienna, Austria; Germany; hello world :)
Contact:
Contact kernelOfTruth
Website

  • Quote

Post by kernelOfTruth » Wed Nov 01, 2006 9:01 pm

ok, made some corrections / modifications to the wiki ...
https://github.com/kernelOfTruth/ZFS-fo ... scCD-4.9.0
https://github.com/kernelOfTruth/pulsea ... zer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Top
Post Reply

6 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic