Summary: | media-tv/mythtv march/mtune issue for athlon64 without x86-64 support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Gantner (a.k.a. nephros) <gentoo> |
Component: | New packages | Assignee: | MythTV Maintainers <mythtv+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mythtv+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 393673 | ||
Attachments: |
gcc_Q.txt
gcc_E.txt |
Description
Peter Gantner (a.k.a. nephros)
2010-05-13 13:31:52 UTC
mtune=athlon64 implies 64 bit instructions in gcc (In reply to comment #1) > mtune=athlon64 implies 64 bit instructions in gcc That may well be, however I assure you that the combination of "-march=athlon64 -m32" does work fine on those CPUs I am talking about. Those _are_ athlon64 (k8) cores but they only do 32bit. They are _not_ athlon-xp (k7) cores (which would be the "next step down" in gcc -march targets). They are/were low-power chips oringinally designed for laptops but later released for PCs as cheap, low-power solution ideally suited for HTPC usage. See: http://en.wikipedia.org/wiki/Sempron#Models_for_Socket_754 And I'd wager they will be encountered in mythtv boxes and it would be nice if the ootb ebuild would support them. Isn't that what the gcc -m32 switch is all about? Wether that is done via USE flag or based on CHOST or differently is entirely up to your tastes, I'm just telling you but the USE flag version does work fine (if you actually do '${myconf} --extra-cflags=-m32 --extra-cxxflags=-m32' not just cxx as I wrote above.) Attach the output of "gcc -E -dM - < /dev/null -march=native". Also attach the output of "gcc -Q --help=target -march=native" Created attachment 235533 [details]
gcc_Q.txt
= gcc -Q --help=target -march=native
Created attachment 235535 [details]
gcc_E.txt
=gcc -E -dM - < /dev/null -march=native
The computer I had this problem with died a while ago, so personally I'd say You can close this. Although I still think being able to force 32bits would be an enhancement to the ebuilds. Well now with x32 as a valid arch this is real. It will be fixed in 0.25.1 This should be solved in 0.25.1 and newer. |