Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]VIA Nehemiah -> VIA Samuel 2 ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
metalfan
Apprentice
Apprentice


Joined: 09 Apr 2005
Posts: 260
Location: 127home0sweet0home1 .endofinternet.net

PostPosted: Tue Jul 11, 2006 10:04 am    Post subject: [SOLVED]VIA Nehemiah -> VIA Samuel 2 ? Reply with quote

Hi,

just recompiled the kernel, but should i also recompile the whole system?

Nehemiah:
Code:

/etc/make.conf
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer"


As stated here the Samuel is only i586...
http://gentoo-wiki.com/Safe_Cflags#VIA_Processors

so i have to emerge -ave world with the new make.conf?
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=i586 -m3dnow -Os -pipe -fomit-frame-pointer"



greets
metalfan
_________________
please add [SOLVED] to the topic if you found the answer


Last edited by metalfan on Sun Jul 16, 2006 1:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
gami
Apprentice
Apprentice


Joined: 02 Jun 2006
Posts: 297

PostPosted: Tue Jul 11, 2006 10:26 am    Post subject: Reply with quote

Since you are downgrading I believe it would be best to recompile everything. You never know which package uses one of those features not available on the new CPU.

Changing CHOST on the fly is not really recommended. See this topic for a discussion. It might be easier to re-install from scratch using the i586 stage tarballs.
Back to top
View user's profile Send private message
neysx
Retired Dev
Retired Dev


Joined: 27 Jan 2003
Posts: 795

PostPosted: Tue Jul 11, 2006 12:40 pm    Post subject: Reply with quote

In the unlikely case that your new CPU can run all binaries compiled for the nehemiah, there's no need to change anything.
Recompiling, i.e. using the current binaries, might be impossible.
There's no need to change the CHOST, a samuel-2 is an i686 CPU, but unfortunately not one that can run code compiled with -march=i686
/proc/cpuinfo wrote:
processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 7
model name : VIA Ezra
stepping : 8
cpu MHz : 800.161
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu de tsc msr cx8 mtrr pge mmx 3dnow
bogomips : 1602.34
emerge --info wrote:
Portage 2.1.1_pre2-r6 (hardened/x86/2.6, gcc-3.4.6/hardened, glibc-2.3.6-r4, 2.6.16-hardened-r4 i686)
=================================================================
System uname: 2.6.16-hardened-r4 i686 VIA Ezra
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc1-r6
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=c3 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"

CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=c3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://polly.a.la.maison/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
SYNC="rsync://polly/portage"
USE="apache2 bash-completion berkdb bzip2 crypt curl dlloader dpms hardened imap imlib maildir mailwrapper moznocompose moznoirc ncurses network nptl nptlonly pic python readline rtc ruby ssl symlink tcpd usb userlocales x86 xml2 xorg zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU"

Gentoo does not release any suitable stage3 for those machines. This in one of the very rare cases when a stage1 is actually recommended.

Hth
Back to top
View user's profile Send private message
metalfan
Apprentice
Apprentice


Joined: 09 Apr 2005
Posts: 260
Location: 127home0sweet0home1 .endofinternet.net

PostPosted: Sun Jul 16, 2006 1:54 pm    Post subject: Reply with quote

Solution:

http://forums.gentoo.org/viewtopic-t-230783.html

same as posted above, it worked :)


greets
metalfan
_________________
please add [SOLVED] to the topic if you found the answer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum