Forums

Skip to content

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

Athlon64-sse3

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Saar
n00b
n00b
Posts: 21
Joined: Sun Jul 22, 2007 2:09 am
Location: Edmonton, Canada

Athlon64-sse3

  • Quote

Post by Saar » Sun Jun 08, 2008 7:47 am

Hey all, just thought I'd share something sort of oddball that I came across whilst installing/compiling mplayer this evening.

I was experimenting with CFLAGS (the system I was working with is an Athlon64 X2 3800+ socket AM2) and I decided to make what I thought was a small change, which ultimately hosed compiling of anything.

The particular family of processors I'm dealing with (Windsor) support sse3. There are two ways of specifying this that I'm aware of: 1) -msse3 and 2) -march=athlon64-sse3. From what I read here my impression was that these two methods were synonymous. This is not the case, functionally. Using the latter method will prevent sse3 from being stripped off for certain packages (when it might be required for the compiler to work). One such package is apparently libdca.

I'm still somewhat newb-ish to Gentoo, but reverting back to -msse3 instead of -march=athlon64-sse3 fixed the problem for me. Hopefully my understanding of "why" is correct and/or helpful. Figured I'd share just to be on the safe side.
For every action, there is an equal and opposite criticism
Top
96140
Retired Dev
Retired Dev
Posts: 1324
Joined: Sun Jan 23, 2005 9:18 pm

  • Quote

Post by 96140 » Sun Jun 08, 2008 8:01 am

--
Last edited by 96140 on Wed Sep 11, 2013 9:17 am, edited 1 time in total.
Top
Eckos
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Fri Jan 25, 2008 4:14 pm
Location: Houston, Texas, USA
Contact:
Contact Eckos
Website

  • Quote

Post by Eckos » Sun Jun 08, 2008 5:45 pm

i use -march=native -msse3 and I have a AMD Athlon 64 X2 3800+.
AMD Athlon 64 X2 3800+ | 2GB DDR2 533MHz RAM | GCC-4.3.2 | Gentoo x86_64 | KDE 4.1.2
Top
F-0_ICE
l33t
l33t
User avatar
Posts: 679
Joined: Mon Dec 06, 2004 2:20 pm

  • Quote

Post by F-0_ICE » Tue Aug 26, 2008 2:40 am

so to clarify is there any difference between:

Code: Select all

CFLAGS="-march=athlon64 -O2 -pipe -msse3"
(my current setup)
and

Code: Select all

CFLAGS="-march=athlon64-sse3 -O2 -pipe"
from what i understand there shouldn't be any problems compiling if i switch to the new setting?
~AMD64
AMD: Athlon64 X2 3800+
2G PC3200
ATI: RADEON HD 4350
Linksys: WMP54G

True Knowledge is Best Acquired Through Experience.
Top
Enlight
Advocate
Advocate
User avatar
Posts: 3519
Joined: Thu Oct 28, 2004 9:42 am
Location: Alsace (France)

  • Quote

Post by Enlight » Tue Aug 26, 2008 9:41 am

F-0_ICE wrote:so to clarify is there any difference between:

Code: Select all

CFLAGS="-march=athlon64 -O2 -pipe -msse3"
(my current setup)
and

Code: Select all

CFLAGS="-march=athlon64-sse3 -O2 -pipe"
from what i understand there shouldn't be any problems compiling if i switch to the new setting?
my understanding is that both CFLAGS do the same, portage knows how to strip one, not the other one, but some package can't be built withh sse3 support activated.
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Tue Aug 26, 2008 11:41 am

No problems here with libdca.
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
Post Reply

6 posts • Page 1 of 1

Return to “Other Things 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