public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge glibc
@ 2005-08-21 11:14 Thomas Naujokas
  2005-08-21 15:28 ` Rumen Yotov
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Naujokas @ 2005-08-21 11:14 UTC (permalink / raw
  To: gentoo-user

Last night I did an:

  emerge --update --deep world

Reviewing logs this morning I find in 3125-glibc-2.3.5-r1.log the
following:

  QA Notice: /usr/lib/misc/glibc/pt_chown is setXid, dynamically  
    linked and using lazy bindings.
  This combination is generally discouraged. Try:
    CFLAGS='-Wl,-z,now' emerge glibc

I can see a couple of problems with this:

1.) Wouldn't that compile glibc without any optimization settings? So
    what I would rather do is merge the suggestion with my default
    CFLAGS. Resulting in:

      CFLAGS='-O3 -march=athlon-xp -Wl,-z,now' emerge glibc

    Does this seem reasonable?

2.) My impression of how portage works is that the next time glibc is
    updated it will compile with the default again. Is there some place
    to set this on a permanent basis?

Tom Naujokas

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge glibc
  2005-08-21 11:14 [gentoo-user] emerge glibc Thomas Naujokas
@ 2005-08-21 15:28 ` Rumen Yotov
  2005-08-21 15:54   ` Matan Peled
  0 siblings, 1 reply; 3+ messages in thread
From: Rumen Yotov @ 2005-08-21 15:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1285 bytes --]

Thomas Naujokas wrote:

>Last night I did an:
>
>  emerge --update --deep world
>
>Reviewing logs this morning I find in 3125-glibc-2.3.5-r1.log the
>following:
>
>  QA Notice: /usr/lib/misc/glibc/pt_chown is setXid, dynamically  
>    linked and using lazy bindings.
>  This combination is generally discouraged. Try:
>    CFLAGS='-Wl,-z,now' emerge glibc
>
>I can see a couple of problems with this:
>
>1.) Wouldn't that compile glibc without any optimization settings? So
>    what I would rather do is merge the suggestion with my default
>    CFLAGS. Resulting in:
>
>      CFLAGS='-O3 -march=athlon-xp -Wl,-z,now' emerge glibc
>
>    Does this seem reasonable?
>
>2.) My impression of how portage works is that the next time glibc is
>    updated it will compile with the default again. Is there some place
>    to set this on a permanent basis?
>
>Tom Naujokas
>
>  
>
Hi,
First thing IMHO QA-notices are for devs, rarely for users so ignore it
if no error so far.
The CFLAGS you *may* put on the command-line are added to those in
/etc/make.conf, so no need to repeat all.
Think the using "-03" in your USE-flags isn't a good idea (use -02
instead) remember that with -03 any reports to Bugzilla are like INVALID
(devs will suggest you use a more sane flags first).
HTH. Rumen

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3397 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge glibc
  2005-08-21 15:28 ` Rumen Yotov
@ 2005-08-21 15:54   ` Matan Peled
  0 siblings, 0 replies; 3+ messages in thread
From: Matan Peled @ 2005-08-21 15:54 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rumen Yotov wrote:
> Hi,
> First thing IMHO QA-notices are for devs, rarely for users so ignore it
> if no error so far.
> The CFLAGS you *may* put on the command-line are added to those in
> /etc/make.conf, so no need to repeat all.
> Think the using "-03" in your USE-flags isn't a good idea (use -02
> instead) remember that with -03 any reports to Bugzilla are like INVALID
> (devs will suggest you use a more sane flags first).
> HTH. Rumen

- -O3 isn't that insane... I don't think that reports using -O3 are marked invalid
 (someone correct me?)

Anyway, -O2 is sometime actually /better/ than -O3, too. I like -Os the best, at
least on x86 (Its definitly not for amd64).


- --
[Name      ]   ::  [Matan I. Peled    ]
[Location  ]   ::  [Israel            ]
[Public Key]   ::  [0xD6F42CA5        ]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDCKPAA7Qvptb0LKURAuIDAJ4u1D8iLammR5mMPNW8HVSDrOsFAwCgg9q9
jQV0Fn9+tApebOVjgZUKjsI=
=UBYF
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-21 16:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-21 11:14 [gentoo-user] emerge glibc Thomas Naujokas
2005-08-21 15:28 ` Rumen Yotov
2005-08-21 15:54   ` Matan Peled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox