* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 8:20 ` Justin
@ 2009-03-28 8:42 ` Thomas Bruns
2009-03-28 12:39 ` ro0
` (2 subsequent siblings)
3 siblings, 0 replies; 15+ messages in thread
From: Thomas Bruns @ 2009-03-28 8:42 UTC (permalink / raw
To: gentoo-user-de
Am Samstag, 28. März 2009 09:20:13 schrieb Justin:
> Thomas Bruns wrote:
> > Hallo NG,
> >
> > evtl beabsichtige ich mir nen neuen Rechner zuzulegen, der den o.g.
> > Prozzi haben soll...
> >
> > Kann mir jemand sagen, ob die neuestens Chipsätze und Prozzi von Gentoo
> > unterstützt werden, bzw. vom Kernel?
> >
> > LG
> > Thomas
>
> Alles super,
> sowohl kernel als auch gcc unterstützen den super.
>
> Nimm als CFLAGS
>
> 32bit --> -march=prescott -mssse3 -mssse4 -pipe -fomit-framepointer
> 64bit --> -march=core2 -msse4 -pipe
Aha cool
du hast den also?
Ist der sehr schnell?
warum 32/64Bit?
LG
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 8:20 ` Justin
2009-03-28 8:42 ` Thomas Bruns
@ 2009-03-28 12:39 ` ro0
2009-03-28 17:13 ` Felix Schuster
2009-03-28 12:42 ` ro0
2009-03-28 12:43 ` Florian Philipp
3 siblings, 1 reply; 15+ messages in thread
From: ro0 @ 2009-03-28 12:39 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 870 bytes --]
Justin wrote:
> Thomas Bruns wrote:
>> Hallo NG,
>>
>> evtl beabsichtige ich mir nen neuen Rechner zuzulegen, der den o.g. Prozzi
>> haben soll...
>>
>> Kann mir jemand sagen, ob die neuestens Chipsätze und Prozzi von Gentoo
>> unterstützt werden, bzw. vom Kernel?
>>
>> LG
>> Thomas
>>
> Alles super,
> sowohl kernel als auch gcc unterstützen den super.
>
> Nimm als CFLAGS
>
> 32bit --> -march=prescott -mssse3 -mssse4 -pipe -fomit-framepointer
> 64bit --> -march=core2 -msse4 -pipe
>
Hi! Kleine Anmerkung..
..das Flag -core=core2 funktioniert nur ab einem >=gcc-4.3. Und da der
wohl immernoch nicht als stable markiert ist, bei amd64 + <gcc-4.3
lieber -march=nocona wählen.
Grüße
rø0
--
++ www : http://ro0.pwnd.at +++ |_|0|_|
++ mail: ro0.rulez@gmail.com ++ |_|_|0|
++ jabb: ro0@jabber.ccc.de ++++ |0|0|0|
--
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 12:39 ` ro0
@ 2009-03-28 17:13 ` Felix Schuster
2009-03-28 17:21 ` Justin
0 siblings, 1 reply; 15+ messages in thread
From: Felix Schuster @ 2009-03-28 17:13 UTC (permalink / raw
To: gentoo-user-de
Hallo!
On Sa, 2009-03-28 at 13:39 +0100, ro0 wrote:
> Hi! Kleine Anmerkung..
noch eine kleine Anmerkung:
> ..das Flag -core=core2 funktioniert nur ab einem >=gcc-4.3. Und da der
> wohl immernoch nicht als stable markiert ist
Ist vollkommen korrekt, kann aber den gcc-4.3.3 empfehlen, läuft bei mir
auf einem Intel Core 2 Quad 64bit (und damit auch -core=core2)
problemlos seit nun einem halben Jahr.
Schöne Grüße
Felix
--
Felix Schuster <felix.schuster@gmx.at>
Vienna, Austria
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 17:13 ` Felix Schuster
@ 2009-03-28 17:21 ` Justin
2009-03-28 19:56 ` ro0
0 siblings, 1 reply; 15+ messages in thread
From: Justin @ 2009-03-28 17:21 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 617 bytes --]
Felix Schuster wrote:
> Hallo!
>
> On Sa, 2009-03-28 at 13:39 +0100, ro0 wrote:
>> Hi! Kleine Anmerkung..
>
> noch eine kleine Anmerkung:
>
>> ..das Flag -core=core2 funktioniert nur ab einem >=gcc-4.3. Und da der
>> wohl immernoch nicht als stable markiert ist
>
> Ist vollkommen korrekt, kann aber den gcc-4.3.3 empfehlen, läuft bei mir
> auf einem Intel Core 2 Quad 64bit (und damit auch -core=core2)
> problemlos seit nun einem halben Jahr.
>
> Schöne Grüße
> Felix
Interesanter Weise wird der Kernel auch auf 32bit, wenn man als Architektur core2 auswählt mit -march=core2
gebaut.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 17:21 ` Justin
@ 2009-03-28 19:56 ` ro0
2009-03-28 20:02 ` Justin
0 siblings, 1 reply; 15+ messages in thread
From: ro0 @ 2009-03-28 19:56 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]
Justin wrote:
> Felix Schuster wrote:
>> Hallo!
>>
>> On Sa, 2009-03-28 at 13:39 +0100, ro0 wrote:
>>> Hi! Kleine Anmerkung..
>> noch eine kleine Anmerkung:
>>
>>> ..das Flag -core=core2 funktioniert nur ab einem >=gcc-4.3. Und da der
>>> wohl immernoch nicht als stable markiert ist
>> Ist vollkommen korrekt, kann aber den gcc-4.3.3 empfehlen, läuft bei mir
>> auf einem Intel Core 2 Quad 64bit (und damit auch -core=core2)
>> problemlos seit nun einem halben Jahr.
>>
Kann den gcc-3.4 auch nur Empfehlen. Benutze ihn schon länger und bin
von Grund auf zufrieden.
>> Schöne Grüße
>> Felix
> Interesanter Weise wird der Kernel auch auf 32bit, wenn man als Architektur core2 auswählt mit -march=core2
> gebaut.
>
# cd /usr/src/linux/arch/x86_64/boot
# ls -l
lrwxrwxrwx 1 root root 22 2009-03-20 23:55 bzImage -> ../../x86/boot/bzImage
Fällt dir was auf? :) 32bit Kernel == 64bit Kernel.
Der Unterschied liegt nur in deiner Kernelkonfiguration.
Grüße!
rø0^
--
++ www : http://ro0.pwnd.at +++ |_|0|_|
++ mail: ro0.rulez@gmail.com ++ |_|_|0|
++ jabb: ro0@jabber.ccc.de ++++ |0|0|0|
--
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 19:56 ` ro0
@ 2009-03-28 20:02 ` Justin
2009-03-28 22:16 ` ro0
0 siblings, 1 reply; 15+ messages in thread
From: Justin @ 2009-03-28 20:02 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]
ro0 wrote:
> Justin wrote:
>> Felix Schuster wrote:
>>> Hallo!
>>>
>>> On Sa, 2009-03-28 at 13:39 +0100, ro0 wrote:
>>>> Hi! Kleine Anmerkung..
>>> noch eine kleine Anmerkung:
>>>
>>>> ..das Flag -core=core2 funktioniert nur ab einem >=gcc-4.3. Und da der
>>>> wohl immernoch nicht als stable markiert ist
>>> Ist vollkommen korrekt, kann aber den gcc-4.3.3 empfehlen, läuft bei mir
>>> auf einem Intel Core 2 Quad 64bit (und damit auch -core=core2)
>>> problemlos seit nun einem halben Jahr.
>>>
>
> Kann den gcc-3.4 auch nur Empfehlen. Benutze ihn schon länger und bin
> von Grund auf zufrieden.
>
>>> Schöne Grüße
>>> Felix
>> Interesanter Weise wird der Kernel auch auf 32bit, wenn man als Architektur core2 auswählt mit -march=core2
>> gebaut.
>>
>
> # cd /usr/src/linux/arch/x86_64/boot
> # ls -l
> lrwxrwxrwx 1 root root 22 2009-03-20 23:55 bzImage -> ../../x86/boot/bzImage
>
> Fällt dir was auf? :) 32bit Kernel == 64bit Kernel.
> Der Unterschied liegt nur in deiner Kernelkonfiguration.
>
>
> Grüße!
> rø0^
>
march=core2 aktiviert 64 specifische Optimierungen. Können die auf 32bit funktioniren?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 20:02 ` Justin
@ 2009-03-28 22:16 ` ro0
2009-03-29 8:24 ` Justin
0 siblings, 1 reply; 15+ messages in thread
From: ro0 @ 2009-03-28 22:16 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 1414 bytes --]
Justin wrote:
> ro0 wrote:
>> Justin wrote:
>>> Felix Schuster wrote:
>>>> Hallo!
>>>>
>>>> On Sa, 2009-03-28 at 13:39 +0100, ro0 wrote:
>>>>> Hi! Kleine Anmerkung..
>>>> noch eine kleine Anmerkung:
>>>>
>>>>> ..das Flag -core=core2 funktioniert nur ab einem >=gcc-4.3. Und da der
>>>>> wohl immernoch nicht als stable markiert ist
>>>> Ist vollkommen korrekt, kann aber den gcc-4.3.3 empfehlen, läuft bei mir
>>>> auf einem Intel Core 2 Quad 64bit (und damit auch -core=core2)
>>>> problemlos seit nun einem halben Jahr.
>>>>
>> Kann den gcc-3.4 auch nur Empfehlen. Benutze ihn schon länger und bin
>> von Grund auf zufrieden.
>>
>>>> Schöne Grüße
>>>> Felix
>>> Interesanter Weise wird der Kernel auch auf 32bit, wenn man als Architektur core2 auswählt mit -march=core2
>>> gebaut.
>>>
>> # cd /usr/src/linux/arch/x86_64/boot
>> # ls -l
>> lrwxrwxrwx 1 root root 22 2009-03-20 23:55 bzImage -> ../../x86/boot/bzImage
>>
>> Fällt dir was auf? :) 32bit Kernel == 64bit Kernel.
>> Der Unterschied liegt nur in deiner Kernelkonfiguration.
>>
>>
>> Grüße!
>> rø0^
>>
> march=core2 aktiviert 64 specifische Optimierungen. Können die auf 32bit funktioniren?
>
Ist das eine rethorische Frage? Falls nein, ist die Antwort auch nein.
--
++ www : http://ro0.pwnd.at +++ |_|0|_|
++ mail: ro0.rulez@gmail.com ++ |_|_|0|
++ jabb: ro0@jabber.ccc.de ++++ |0|0|0|
--
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 22:16 ` ro0
@ 2009-03-29 8:24 ` Justin
2009-03-29 9:24 ` Thomas Bruns
0 siblings, 1 reply; 15+ messages in thread
From: Justin @ 2009-03-29 8:24 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 2181 bytes --]
ro0 schrieb:
> Justin wrote:
>> ro0 wrote:
>>> Justin wrote:
>>>> Felix Schuster wrote:
>>>>> Hallo!
>>>>>
>>>>> On Sa, 2009-03-28 at 13:39 +0100, ro0 wrote:
>>>>>> Hi! Kleine Anmerkung..
>>>>> noch eine kleine Anmerkung:
>>>>>
>>>>>> ..das Flag -core=core2 funktioniert nur ab einem >=gcc-4.3. Und da der
>>>>>> wohl immernoch nicht als stable markiert ist
>>>>> Ist vollkommen korrekt, kann aber den gcc-4.3.3 empfehlen, läuft bei mir
>>>>> auf einem Intel Core 2 Quad 64bit (und damit auch -core=core2)
>>>>> problemlos seit nun einem halben Jahr.
>>>>>
>>> Kann den gcc-3.4 auch nur Empfehlen. Benutze ihn schon länger und bin
>>> von Grund auf zufrieden.
>>>
>>>>> Schöne Grüße
>>>>> Felix
>>>> Interesanter Weise wird der Kernel auch auf 32bit, wenn man als Architektur core2 auswählt mit -march=core2
>>>> gebaut.
>>>>
>>> # cd /usr/src/linux/arch/x86_64/boot
>>> # ls -l
>>> lrwxrwxrwx 1 root root 22 2009-03-20 23:55 bzImage -> ../../x86/boot/bzImage
>>>
>>> Fällt dir was auf? :) 32bit Kernel == 64bit Kernel.
>>> Der Unterschied liegt nur in deiner Kernelkonfiguration.
>>>
>>>
>>> Grüße!
>>> rø0^
>>>
>> march=core2 aktiviert 64 specifische Optimierungen. Können die auf 32bit funktioniren?
>>
> Ist das eine rethorische Frage? Falls nein, ist die Antwort auch nein.
>
>
Die Frage war nicht rethorisch. Ich hab letztens nen 32bit kernel per distcc gebaut und mir die logs
verbose ausgeben lassen. Dabei habe ich gesehen, dass der Kernel so gebaut wird:
gcc -MD -MF arch/x86/kernel/.i8253.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include
-D__KERNEL__ -Iinclude -I/usr/src/linux-2.6.28-gentoo-r4/arch/x86/include -include
include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return
-mpreferred-stack-boundary=2 -march=i686 -mtune=core2 -Wa,-mtune=generic32 -ffreestanding
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL.
Daraus schließe ich, -march=core2 ist auch 32bit fähig ist. AFAIK sollte es jedoch 64bit specifische
Optimierungen aktivieren.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 8:20 ` Justin
2009-03-28 8:42 ` Thomas Bruns
2009-03-28 12:39 ` ro0
@ 2009-03-28 12:42 ` ro0
2009-03-28 12:43 ` Florian Philipp
3 siblings, 0 replies; 15+ messages in thread
From: ro0 @ 2009-03-28 12:42 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]
Justin wrote:
> Thomas Bruns wrote:
>> Hallo NG,
>>
>> evtl beabsichtige ich mir nen neuen Rechner zuzulegen, der den o.g. Prozzi
>> haben soll...
>>
>> Kann mir jemand sagen, ob die neuestens Chipsätze und Prozzi von Gentoo
>> unterstützt werden, bzw. vom Kernel?
>>
>> LG
>> Thomas
>>
> Alles super,
> sowohl kernel als auch gcc unterstützen den super.
>
> Nimm als CFLAGS
>
> 32bit --> -march=prescott -mssse3 -mssse4 -pipe -fomit-framepointer
> 64bit --> -march=core2 -msse4 -pipe
>
Hi! Hab mich verschrieben. Meine natürlich -march=core2 funktioniert bei
einem stable-gcc nicht.
Grüße
rø0
--
++ www : http://ro0.pwnd.at +++ |_|0|_|
++ mail: ro0.rulez@gmail.com ++ |_|_|0|
++ jabb: ro0@jabber.ccc.de ++++ |0|0|0|
--
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [gentoo-user-de] intel core 2 quad
2009-03-28 8:20 ` Justin
` (2 preceding siblings ...)
2009-03-28 12:42 ` ro0
@ 2009-03-28 12:43 ` Florian Philipp
2009-03-28 12:45 ` ro0
3 siblings, 1 reply; 15+ messages in thread
From: Florian Philipp @ 2009-03-28 12:43 UTC (permalink / raw
To: gentoo-user-de
[-- Attachment #1: Type: text/plain, Size: 733 bytes --]
Justin schrieb:
> Thomas Bruns wrote:
>> Hallo NG,
>>
>> evtl beabsichtige ich mir nen neuen Rechner zuzulegen, der den o.g. Prozzi
>> haben soll...
>>
>> Kann mir jemand sagen, ob die neuestens Chipsätze und Prozzi von Gentoo
>> unterstützt werden, bzw. vom Kernel?
>>
>> LG
>> Thomas
>>
> Alles super,
> sowohl kernel als auch gcc unterstützen den super.
>
> Nimm als CFLAGS
>
> 32bit --> -march=prescott -mssse3 -mssse4 -pipe -fomit-framepointer
> 64bit --> -march=core2 -msse4 -pipe
>
Muss man für 32bit wirklich -march=prescott nehmen? Die Unterscheidung
32bit/64bit wird doch durch CHOST getroffen. Das -march-setting sollte
davon unabhängig sein.
BTW: Es heißt -fomit-frame-pointer
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread