* [gentoo-user] CFLAGS Core2Duo
@ 2006-12-19 19:18 Jakob
2006-12-19 19:36 ` Boyd Stephen Smith Jr.
0 siblings, 1 reply; 15+ messages in thread
From: Jakob @ 2006-12-19 19:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 766 bytes --]
Hi all,
I have a Core2Duo T5600 1,83 MHz in my notebook. Today I read on the
GentooWeeklyNewsletter to use "-march=nocona (and an amd64 profile) for Core
2 Solo/Duo"
Currently I'm using:
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"
and
/usr/portage/profiles/default-linux/x86/2006.1/desktop/
as profile and gcc -v told me I'm using 4.1.1-r1
Now my questions:
1. What wold be the benefits of chanching the CFLAGS?
2. After chanching do I have to emerge everithing again? or what should I
do?
3. They mentiont to use a amd64 profile, does this mean to use 64bit?
because I would like to stay with 32bit.
4. I used gcc -v to check the gcc verison I'm using, is this the rigth
command?
Thanks for any help
Jakob
[-- Attachment #2: Type: text/html, Size: 899 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 19:18 [gentoo-user] CFLAGS Core2Duo Jakob
@ 2006-12-19 19:36 ` Boyd Stephen Smith Jr.
2006-12-19 19:48 ` Jakob
0 siblings, 1 reply; 15+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-12-19 19:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
On Tuesday 19 December 2006 13:18, Jakob <jak.gentoo@googlemail.com> wrote
about '[gentoo-user] CFLAGS Core2Duo':
> I have a Core2Duo T5600 1,83 MHz in my notebook. Today I read on the
> GentooWeeklyNewsletter to use "-march=nocona (and an amd64 profile) for
> Core 2 Solo/Duo"
> 3. They mentiont to use a amd64 profile, does this mean to use 64bit?
> because I would like to stay with 32bit.
Yes. If you want to stick with 32-bit, your settings seem fine, although
there may be a better -march setting available to you.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 19:36 ` Boyd Stephen Smith Jr.
@ 2006-12-19 19:48 ` Jakob
2006-12-19 20:13 ` Boyd Stephen Smith Jr.
0 siblings, 1 reply; 15+ messages in thread
From: Jakob @ 2006-12-19 19:48 UTC (permalink / raw
To: gentoo-user
On 12/19/06, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:
> On Tuesday 19 December 2006 13:18, Jakob <jak.gentoo@googlemail.com> wrote
> about '[gentoo-user] CFLAGS Core2Duo':
> > I have a Core2Duo T5600 1,83 MHz in my notebook. Today I read on the
> > GentooWeeklyNewsletter to use "-march=nocona (and an amd64 profile) for
> > Core 2 Solo/Duo"
>
> > 3. They mentiont to use a amd64 profile, does this mean to use 64bit?
> > because I would like to stay with 32bit.
>
> Yes. If you want to stick with 32-bit, your settings seem fine, although
> there may be a better -march setting available to you.
>
> --
> "If there's one thing we've established over the years,
> it's that the vast majority of our users don't have the slightest
> clue what's best for them in terms of package stability."
> -- Gentoo Developer Ciaran McCreesh
>
>
>
Thaks for the quick reply.
On http://gentoo-wiki.com/Safe_Cflags they say for 32bit use:
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
Is this wat you meant for better -march settings?
I was confused by the GWN because they didnt say its for 64bit only.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 19:48 ` Jakob
@ 2006-12-19 20:13 ` Boyd Stephen Smith Jr.
2006-12-19 20:46 ` Andrew Gaydenko
2006-12-19 20:56 ` Jakob
0 siblings, 2 replies; 15+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-12-19 20:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]
On Tuesday 19 December 2006 13:48, Jakob <jak.gentoo@googlemail.com> wrote
about 'Re: [gentoo-user] CFLAGS Core2Duo':
> Thaks for the quick reply.
> On http://gentoo-wiki.com/Safe_Cflags they say for 32bit use:
> CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
> Is this wat you meant for better -march settings?
Specifically, I meant that -march=prescott is probably better
than -march=pentium-m. If you use Konqueror, hit <URL: info:/gcc/i386 and
x86-64 Options >; or just use your favorite infotext reader to look at the
x86(_64) machine specific options, so you are generating code tuned
particularly to your processor.
> I was confused by the GWN because they didnt say its for 64bit only.
Well, a lot of people assume that buying a 64-bit processor means you
actually want to use the extra bits (and registers). Of course, it's
getting harder and harder to buy a non-64 bit chip.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 20:13 ` Boyd Stephen Smith Jr.
@ 2006-12-19 20:46 ` Andrew Gaydenko
2006-12-19 22:38 ` Boyd Stephen Smith Jr.
2006-12-19 20:56 ` Jakob
1 sibling, 1 reply; 15+ messages in thread
From: Andrew Gaydenko @ 2006-12-19 20:46 UTC (permalink / raw
To: gentoo-user
What is your "strategical vision" to this (use C2D as 32-bit or
64-bit) alternatives? Is it smart to hope "Gentoo AMD64 FAQ" will
be thiner and thiner during upcoming months? :-)
======= On Tuesday 19 December 2006 23:13, Boyd Stephen Smith Jr. wrote: =======
... Of course, it's
getting harder and harder to buy a non-64 bit chip.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 20:13 ` Boyd Stephen Smith Jr.
2006-12-19 20:46 ` Andrew Gaydenko
@ 2006-12-19 20:56 ` Jakob
2006-12-19 20:58 ` Jakob
2006-12-19 22:23 ` Boyd Stephen Smith Jr.
1 sibling, 2 replies; 15+ messages in thread
From: Jakob @ 2006-12-19 20:56 UTC (permalink / raw
To: gentoo-user
On 12/19/06, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:
> On Tuesday 19 December 2006 13:48, Jakob <jak.gentoo@googlemail.com> wrote
> about 'Re: [gentoo-user] CFLAGS Core2Duo':
> > Thaks for the quick reply.
> > On http://gentoo-wiki.com/Safe_Cflags they say for 32bit use:
> > CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
> > Is this wat you meant for better -march settings?
>
> Specifically, I meant that -march=prescott is probably better
> than -march=pentium-m. If you use Konqueror, hit <URL: info:/gcc/i386 and
> x86-64 Options >; or just use your favorite infotext reader to look at the
> x86(_64) machine specific options, so you are generating code tuned
> particularly to your processor.
>
> > I was confused by the GWN because they didnt say its for 64bit only.
>
> Well, a lot of people assume that buying a 64-bit processor means you
> actually want to use the extra bits (and registers). Of course, it's
> getting harder and harder to buy a non-64 bit chip.
>
> --
> "If there's one thing we've established over the years,
> it's that the vast majority of our users don't have the slightest
> clue what's best for them in terms of package stability."
> -- Gentoo Developer Ciaran McCreesh
>
>
>
Its funny till yesterday I didnt even know It supports 64bit ;-)
I think I will change to -march=prescott and stick with 32bit.
do I have to run emerge -avuD world after changing to -march=prescott?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 20:56 ` Jakob
@ 2006-12-19 20:58 ` Jakob
2006-12-20 0:56 ` W.Kenworthy
2006-12-20 15:09 ` A. Khattri
2006-12-19 22:23 ` Boyd Stephen Smith Jr.
1 sibling, 2 replies; 15+ messages in thread
From: Jakob @ 2006-12-19 20:58 UTC (permalink / raw
To: gentoo-user
On 12/19/06, Jakob <jak.gentoo@googlemail.com> wrote:
> On 12/19/06, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:
> > On Tuesday 19 December 2006 13:48, Jakob <jak.gentoo@googlemail.com> wrote
> > about 'Re: [gentoo-user] CFLAGS Core2Duo':
> > > Thaks for the quick reply.
> > > On http://gentoo-wiki.com/Safe_Cflags they say for 32bit use:
> > > CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
> > > Is this wat you meant for better -march settings?
> >
> > Specifically, I meant that -march=prescott is probably better
> > than -march=pentium-m. If you use Konqueror, hit <URL: info:/gcc/i386 and
> > x86-64 Options >; or just use your favorite infotext reader to look at the
> > x86(_64) machine specific options, so you are generating code tuned
> > particularly to your processor.
> >
> > > I was confused by the GWN because they didnt say its for 64bit only.
> >
> > Well, a lot of people assume that buying a 64-bit processor means you
> > actually want to use the extra bits (and registers). Of course, it's
> > getting harder and harder to buy a non-64 bit chip.
> >
> > --
> > "If there's one thing we've established over the years,
> > it's that the vast majority of our users don't have the slightest
> > clue what's best for them in terms of package stability."
> > -- Gentoo Developer Ciaran McCreesh
> >
> >
> >
> Its funny till yesterday I didnt even know It supports 64bit ;-)
> I think I will change to -march=prescott and stick with 32bit.
> do I have to run emerge -avuD world after changing to -march=prescott?
>
for now I will stick with 32bit, I think I will Install 64bit to
another partition in some weeks
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 20:56 ` Jakob
2006-12-19 20:58 ` Jakob
@ 2006-12-19 22:23 ` Boyd Stephen Smith Jr.
1 sibling, 0 replies; 15+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-12-19 22:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
On Tuesday 19 December 2006 14:56, Jakob <jak.gentoo@googlemail.com> wrote
about 'Re: [gentoo-user] CFLAGS Core2Duo':
> do I have to run emerge -avuD world after changing to -march=prescott?
No, that's not required.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 20:46 ` Andrew Gaydenko
@ 2006-12-19 22:38 ` Boyd Stephen Smith Jr.
2006-12-20 0:08 ` Jakob
2006-12-20 6:43 ` Andrew Gaydenko
0 siblings, 2 replies; 15+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-12-19 22:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 988 bytes --]
On Tuesday 19 December 2006 14:46, Andrew Gaydenko <a@gaydenko.com> wrote
about 'Re: [gentoo-user] CFLAGS Core2Duo':
> What is your "strategical vision" to this (use C2D as 32-bit or
> 64-bit) alternatives?
All (well, very nearly all) the software I need is available in 64-bit
versions, partially because I disdain proprietary software, so running
64-bit gives better performance with little cost.
> Is it smart to hope "Gentoo AMD64 FAQ" will
> be thiner and thiner during upcoming months? :-)
Yes, it will. There will be fewer and fewer issues as 64-bit operation
becomes the norm.
My current advice is to read the FAQ and if anything mentioned is an issue
for you, go with 32-bit. You lose some, but also gain some ease of use.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 22:38 ` Boyd Stephen Smith Jr.
@ 2006-12-20 0:08 ` Jakob
2006-12-20 6:43 ` Andrew Gaydenko
1 sibling, 0 replies; 15+ messages in thread
From: Jakob @ 2006-12-20 0:08 UTC (permalink / raw
To: gentoo-user
On 12/19/06, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:
> On Tuesday 19 December 2006 14:46, Andrew Gaydenko <a@gaydenko.com> wrote
> about 'Re: [gentoo-user] CFLAGS Core2Duo':
> > What is your "strategical vision" to this (use C2D as 32-bit or
> > 64-bit) alternatives?
>
> All (well, very nearly all) the software I need is available in 64-bit
> versions, partially because I disdain proprietary software, so running
> 64-bit gives better performance with little cost.
>
> > Is it smart to hope "Gentoo AMD64 FAQ" will
> > be thiner and thiner during upcoming months? :-)
>
> Yes, it will. There will be fewer and fewer issues as 64-bit operation
> becomes the norm.
>
> My current advice is to read the FAQ and if anything mentioned is an issue
> for you, go with 32-bit. You lose some, but also gain some ease of use.
>
> --
> "If there's one thing we've established over the years,
> it's that the vast majority of our users don't have the slightest
> clue what's best for them in terms of package stability."
> -- Gentoo Developer Ciaran McCreesh
>
>
>
Thanks for your help, I´ll change it tomorrow when I´m back home.
Jakob
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 20:58 ` Jakob
@ 2006-12-20 0:56 ` W.Kenworthy
2006-12-20 1:41 ` Boyd Stephen Smith Jr.
2006-12-20 15:09 ` A. Khattri
1 sibling, 1 reply; 15+ messages in thread
From: W.Kenworthy @ 2006-12-20 0:56 UTC (permalink / raw
To: gentoo-user
On Tue, 2006-12-19 at 21:58 +0100, Jakob wrote:
> On 12/19/06, Jakob <jak.gentoo@googlemail.com> wrote:
> > On 12/19/06, Boyd Stephen Smith Jr. <bss03@volumehost.net> wrote:
> > > On Tuesday 19 December 2006 13:48, Jakob <jak.gentoo@googlemail.com> wrote
...
> for now I will stick with 32bit, I think I will Install 64bit to
> another partition in some weeks
Is it still the case thats its impossible to upgrade a 32bit gentoo on
athlon64 to 64 bit - requires a full reinstall?
Billk
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-20 0:56 ` W.Kenworthy
@ 2006-12-20 1:41 ` Boyd Stephen Smith Jr.
0 siblings, 0 replies; 15+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-12-20 1:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1781 bytes --]
On Tuesday 19 December 2006 18:56, "W.Kenworthy" <billk@iinet.net.au> wrote
about 'Re: [gentoo-user] CFLAGS Core2Duo':
> Is it still the case thats its impossible to upgrade a 32bit gentoo on
> athlon64 to 64 bit - requires a full reinstall?
Reinstall is the only officially supported manner.
However, with a little bit of work, it *is* possible to upgrade. The 50km
view is:
1. Build cross toolchain -- portage may not make this easy
2. Use said toolchain to build 64-bit kernel with 32-bit support.
2a.If you need any out-of-tree modules before step 6, rebuild them with the
cross compiler -- portage *will* *not* make this easy.
3. Reboot into new kernel.
4. Change CHOST in make.conf
5. Update toolchain configuration/symlinks to treat what was a cross
toolchain as the native toolchain
6. Rebuild remaining out-of-tree modules.
At this point, only your kernel and modules are 64-bit, but each time your
update/reinstall a package it will become 64-bit. For best results, it'd
probably a good time to rebuild the toolchain again. (Right now, the
tollchain is 32-bit code that produces 64-bit code.)
There's also some sticky issues with lib vs. lib32 vs. lib64
directories/symlinks and your ldconfig and you may need a few runs of
fix_libtool_files.sh and/or revdep-rebuild as required.
It's possible, but not really fun and very fragile, which is why there's no
support for it. If you want to try, I'm willing to help, but I can't
guarantee anything, and many on the list will be unwilling to help.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 22:38 ` Boyd Stephen Smith Jr.
2006-12-20 0:08 ` Jakob
@ 2006-12-20 6:43 ` Andrew Gaydenko
2006-12-20 11:42 ` Bo Ørsted Andresen
1 sibling, 1 reply; 15+ messages in thread
From: Andrew Gaydenko @ 2006-12-20 6:43 UTC (permalink / raw
To: gentoo-user
Is there a tool to query a portage to get a list of all packages which
have 'testing' or 'stable' status for x86 and have 'not available' or
'hard masked' status for amd64?
======= On Wednesday 20 December 2006 01:38, Boyd Stephen Smith Jr. wrote: =======
...
> Is it smart to hope "Gentoo AMD64 FAQ" will
> be thiner and thiner during upcoming months? :-)
Yes, it will. There will be fewer and fewer issues as 64-bit operation
becomes the norm.
...
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-20 6:43 ` Andrew Gaydenko
@ 2006-12-20 11:42 ` Bo Ørsted Andresen
0 siblings, 0 replies; 15+ messages in thread
From: Bo Ørsted Andresen @ 2006-12-20 11:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 439 bytes --]
On Wednesday 20 December 2006 07:43, Andrew Gaydenko wrote:
> Is there a tool to query a portage to get a list of all packages which
> have 'testing' or 'stable' status for x86 and have 'not available' or
> 'hard masked' status for amd64?
sys-apps/paludis 0.12 with the ruby USE flag enabled contains a ruby script
(latest-stable.rb) as a demo which can be fairly easily modified to list such
packages. Why?
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user] CFLAGS Core2Duo
2006-12-19 20:58 ` Jakob
2006-12-20 0:56 ` W.Kenworthy
@ 2006-12-20 15:09 ` A. Khattri
1 sibling, 0 replies; 15+ messages in thread
From: A. Khattri @ 2006-12-20 15:09 UTC (permalink / raw
To: gentoo-user
On Tue, 19 Dec 2006, Jakob wrote:
> > Its funny till yesterday I didnt even know It supports 64bit ;-)
Any Pentium D (or higher) CPU supports 64bit.
> for now I will stick with 32bit, I think I will Install 64bit to
> another partition in some weeks
The other option is to have a pure 64bit system and have a 32bit chroot
inside it for those few apps that need to stay 32bit (running Flash
plugins with Firefox spring to mind).
My pure 64bit Gentoo box seems much faster to me...
--
A
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2006-12-20 15:15 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-19 19:18 [gentoo-user] CFLAGS Core2Duo Jakob
2006-12-19 19:36 ` Boyd Stephen Smith Jr.
2006-12-19 19:48 ` Jakob
2006-12-19 20:13 ` Boyd Stephen Smith Jr.
2006-12-19 20:46 ` Andrew Gaydenko
2006-12-19 22:38 ` Boyd Stephen Smith Jr.
2006-12-20 0:08 ` Jakob
2006-12-20 6:43 ` Andrew Gaydenko
2006-12-20 11:42 ` Bo Ørsted Andresen
2006-12-19 20:56 ` Jakob
2006-12-19 20:58 ` Jakob
2006-12-20 0:56 ` W.Kenworthy
2006-12-20 1:41 ` Boyd Stephen Smith Jr.
2006-12-20 15:09 ` A. Khattri
2006-12-19 22:23 ` Boyd Stephen Smith Jr.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox