On 9/27/06, Daniel Iliev [EMAIL PROTECTED] wrote:
I don't think someone would really file a bug report for this It's true
that my OCD about optimizing becomes painful when I see my flags
overruled but I (still) can control myself ;-)
Your cflags really aren't going to change much. It's better
On Thursday 28 September 2006 02:26, Boyd Stephen Smith Jr. wrote:
On Wednesday 27 September 2006 17:40, Hemmann, Volker Armin
[EMAIL PROTECTED] wrote about 'Re: [gentoo-amd64]
First Impressions':
On Thursday 28 September 2006 00:03, Boyd Stephen Smith Jr. wrote:
I also like:
funit
On Wednesday 27 September 2006 22:59, Daniel Iliev [EMAIL PROTECTED]
wrote about 'Re: [gentoo-amd64] First Impressions':
Dan Pasanen wrote:
Ok, im not too sure about this, but i was wondering, i have dual core
turion64's should that affect if im running -O2 or -O3? currently im
running -O2
Boyd Stephen Smith Jr. wrote:
On Wednesday 27 September 2006 11:11, Hemmann, Volker Armin
[EMAIL PROTECTED] wrote about 'Re: [gentoo-amd64]
First Impressions':
-O3 don't do it. O2 is much, much safer and not really slower. It will
prevent a lot of breakage.
Bah!
-O3 breaking just doesn't
On Thursday 28 September 2006 03:35, Paul de Vrieze [EMAIL PROTECTED]
wrote about 'Re: [gentoo-amd64] First Impressions':
Boyd Stephen Smith Jr. wrote:
On Wednesday 27 September 2006 11:11, Hemmann, Volker Armin
[EMAIL PROTECTED] wrote about 'Re: [gentoo-amd64]
First Impressions':
-O3
Boyd Stephen Smith Jr. [EMAIL PROTECTED] skribis:
It's wrong-headed to deride or discourage users for using the features of
their compiler when those functions are not erroneous. Instead, you
should be leaning on the developers to fix the erroneous code.
This looks like a false dichotomy to
On Thursday 28 September 2006 14:16, [EMAIL PROTECTED] wrote
about 'Re: [gentoo-amd64] First Impressions':
Boyd Stephen Smith Jr. [EMAIL PROTECTED] skribis:
It's wrong-headed to deride or discourage users for using the features
of their compiler when those functions are not erroneous
Boyd Stephen Smith Jr. [EMAIL PROTECTED] skribis:
On Thursday 28 September 2006 14:16, [EMAIL PROTECTED] wrote
about 'Re: [gentoo-amd64] First Impressions':
Boyd Stephen Smith Jr. [EMAIL PROTECTED] skribis:
It's wrong-headed to deride or discourage users for using the features
On Thursday 28 September 2006 15:17, [EMAIL PROTECTED] wrote
about 'Re: [gentoo-amd64] First Impressions':
Boyd Stephen Smith Jr. [EMAIL PROTECTED] skribis:
On Thursday 28 September 2006 14:16, [EMAIL PROTECTED]
wrote
about 'Re: [gentoo-amd64] First Impressions':
Boyd Stephen Smith Jr
Boyd Stephen Smith Jr. [EMAIL PROTECTED] skribis:
Now, I have to problem with developers closing some bug opened by a ricer
out there that's added -ffast-math to their CFLAGS as WONTFIX/INVALID
since it's not really a problem. All the parts provided by Gentoo
(ebuild, source, compiler,
On Thursday 28 September 2006 16:17, [EMAIL PROTECTED] wrote
about 'Optimizations (was Re: [gentoo-amd64] First Impressions)':
Boyd Stephen Smith Jr. [EMAIL PROTECTED] skribis:
Now, I have to problem with developers closing some bug opened by a
ricer out there that's added -ffast-math
Daniel Iliev [EMAIL PROTECTED] skribis:
1) I use CFLAGS=-march=athlon64 -mfpmath=sse -msse -msse2 -msse3
-m3dnow -mmmx -O3 -fomit-frame-pointer -pipe -fpic. Portage complains
with *red letters* about the fpic flag. Every time I emerge something it
says that fpic breaks things, but I haven't
On 9/26/06, Daniel Iliev [EMAIL PROTECTED] wrote:
Hello, everyone!
Hi :)
1) I use CFLAGS=-march=athlon64 -mfpmath=sse -msse -msse2 -msse3
-m3dnow -mmmx -O3 -fomit-frame-pointer -pipe -fpic. Portage complains
with *red letters* about the fpic flag. Every time I emerge something it
says that
[EMAIL PROTECTED] wrote:
I guess the best question might be ‘Why do you want -fpic?’
I use prelink [1] which requires PIC in order to work. At least that is
true for X86. That is the only reason - I suppose if it works on x86_64
it would have the same requirements.
[1]
Dice R. Random wrote:
It is not necessary to tell gcc to use special instruction sets for
your processor. When you specify -march gcc automatically knows
exactly what instructions your processor is capable of utilizing most
effectively.
I'm not sure about this. Tonight I'll make a test: I'll
Daniel Iliev [EMAIL PROTECTED] skribis:
[EMAIL PROTECTED] wrote:
I guess the best question might be ‘Why do you want -fpic?’
I use prelink [1] which requires PIC in order to work. At least that is
true for X86. That is the only reason - I suppose if it works on x86_64
it would
One thing that I think wasn't mentioned yet, while -fPIC is needed for
libraries, it must be disabled for binaries (don't know if that's true
for prelink), as portage says, it might break things and your binaries
are most likely becoming slower when you compile them with -fPIC.
2006/9/27, Daniel
Christoph Mende wrote:
One thing that I think wasn't mentioned yet, while -fPIC is needed for
libraries, it must be disabled for binaries (don't know if that's true
for prelink), as portage says, it might break things and your binaries
are most likely becoming slower when you compile them with
Dnia środa, 27 września 2006 07:50, Daniel Iliev napisał:
1) I use CFLAGS=-march=athlon64 -mfpmath=sse -msse -msse2 -msse3
-m3dnow -mmmx -O3 -fomit-frame-pointer -pipe -fpic. Portage complains
with *red letters* about the fpic flag. Every time I emerge something it
says that fpic breaks
Daniel Iliev wrote:
So, both flags let gcc produce PIC for libs and programs and none of
them lets gcc produce PIC for libs only? The next flag described in the
man page is -fpie, which makes PIC for programs only. Something is wrong
and don't know how to find the right explanation.
The
On Wednesday 27 September 2006 07:50, Daniel Iliev wrote:
1) I use CFLAGS=-march=athlon64 -mfpmath=sse -msse -msse2 -msse3
-m3dnow -mmmx -O3 -fomit-frame-pointer -pipe -fpic. P
-mfpmath=sse not needed. amd64 uses sse for math by default. remove that flag
-msse not needed, see above
-msse2 not
Daniel Iliev [EMAIL PROTECTED] skribis:
Unfortunately I am not a C programmer and I can't be sure about how
exactly PIC and prelink work.
As far as I understood the mechanism (please, correct me if I'm wrong)
prelink scans the executables to find which libs they load. Then it
makes cache and
[EMAIL PROTECTED] wrote:
Daniel Iliev [EMAIL PROTECTED] skribis:
Unfortunately I am not a C programmer and I can't be sure about how
exactly PIC and prelink work.
As far as I understood the mechanism (please, correct me if I'm wrong)
prelink scans the executables to find which libs they
Simon Stelling wrote:
Daniel Iliev wrote:
So, both flags let gcc produce PIC for libs and programs and none of
them lets gcc produce PIC for libs only? The next flag described in the
man page is -fpie, which makes PIC for programs only. Something is wrong
and don't know how to find the right
Pawel Kraszewski wrote:
That's what 'pic' USE flag is for...
$ euse -i pic
global use flags (searching: pic)
[+ C ] pic - Build Position Independent Code. Do not utilize this flag
unless you know what you're doing.
fpic
Daniel Iliev wrote:
Well, then I have to simplify more (because of my lack of knowledge) and
ask what are the pros and cons to use PIC when building a program and a
share library?
Pro is your able to run it on an amd64. Con is it can drastically slow
down code (sometimes), and just plain
Daniel Iliev wrote:
Are you proposing me to put -fpie in the CFLAGS?
Dear God, no! It's automatically appended where needed (read: hardened).
--
Kind Regards,
Simon Stelling
Gentoo/AMD64 developer
--
gentoo-amd64@gentoo.org mailing list
Simon Stelling wrote:
Pro is your able to run it on an amd64. Con is it can drastically slow
down code (sometimes), and just plain doesn't make sense.
Err, this is missing a bit:
Pro of applying it to objects used in shared libs: You can run it.
Con of applying it to objects used in
Hemmann, Volker Armin [EMAIL PROTECTED] skribis:
so, march=k8 -O2 -pipe
would be the result, if you remove all superflous and dangerous
flags.
I endorse this setting. IMO as a programmer, other flags are for
programmers. :)
--
Barry.SCHWARTZ at chemoelectric.org http://chemoelectric.org
Hemmann, Volker Armin wrote:
On Wednesday 27 September 2006 07:50, Daniel Iliev wrote:
1) I use CFLAGS=-march=athlon64 -mfpmath=sse -msse -msse2 -msse3
-m3dnow -mmmx -O3 -fomit-frame-pointer -pipe -fpic. P
-mfpmath=sse not needed. amd64 uses sse for math by default. remove that
Simon Stelling wrote:
Daniel Iliev wrote:
Are you proposing me to put -fpie in the CFLAGS?
Dear God, no! It's automatically appended where needed (read: hardened).
After a definitive answer like this (especially when it comes from
@gentoo.org) there's nothing left for me but to erase the word
Daniel Iliev [EMAIL PROTECTED] skribis:
Well, then I have to simplify more (because of my lack of knowledge) and
ask what are the pros and cons to use PIC when building a program and a
share library?
When a program runs it needs to know the addresses of variables,
subroutines, etc. A shared
Daniel Iliev [EMAIL PROTECTED] skribis:
How come that still in my first try I have bootstrapped from stage3,
made emerge -e system, installed xfce4, gnome, firefox, thunderbird,
and a bunch of other packages along with all their dependencies, then
made emerge -e world and after all this
Boyd Stephen Smith Jr. wrote:
On Wednesday 27 September 2006 11:11, Hemmann, Volker Armin
[EMAIL PROTECTED] wrote about 'Re: [gentoo-amd64]
First Impressions':
-O3 don't do it. O2 is much, much safer and not really slower. It will
prevent a lot of breakage.
Bah!
-O3 breaking
Boyd Stephen Smith Jr. [EMAIL PROTECTED] skribis:
Well, I actually include them for when my -O3 is changed (by the ebuild)
to -O2 or lower. :)
That works for me.
I personally don’t worry much about optimizations unless I am working
on something that’s essentially assembly code, where I need
On Wednesday 27 September 2006 19:56, Daniel Iliev [EMAIL PROTECTED]
wrote about 'Re: [gentoo-amd64] First Impressions':
Boyd Stephen Smith Jr. wrote:
On Wednesday 27 September 2006 11:11, Hemmann, Volker Armin
[EMAIL PROTECTED] wrote about 'Re: [gentoo-amd64]
First Impressions':
-O3
September 2006 19:56, Daniel Iliev [EMAIL PROTECTED]wrote about 'Re: [gentoo-amd64] First Impressions': Boyd Stephen Smith Jr. wrote: On Wednesday 27 September 2006 11:11, Hemmann, Volker Armin
[EMAIL PROTECTED] wrote about 'Re: [gentoo-amd64] First Impressions': -O3 don't do it. O2 is much
Dan Pasanen wrote:
Ok, im not too sure about this, but i was wondering, i have dual core
turion64's should that affect if im running -O2 or -O3? currently im
running -O2. and if i did change it to -O3, what, if anything should
i recompile?
From gcc man page:
-O3 Optimize yet more. -O3
Boyd Stephen Smith Jr. wrote:
On Wednesday 27 September 2006 19:56, Daniel Iliev [EMAIL PROTECTED]
wrote about 'Re: [gentoo-amd64] First Impressions':
Boyd Stephen Smith Jr. wrote:
On Wednesday 27 September 2006 11:11, Hemmann, Volker Armin
[EMAIL PROTECTED] wrote about 'Re
Hello, everyone!
It's my first mail to this list. I hope the community here is as
friendly as the one at the general gentoo-user list ;-)
Please, forgive me if open some threads about already discussed issues
until I catch up with rhythm of the list.
So let me start a with 2 newbie questions
40 matches
Mail list logo