Arfrever Frehtes Taifersar Arahesis wrote:
| 2008-07-09 15:45:15 Doug Goldstein napisał(a):
|> Luca Barbato wrote:
|>> Fabian Groffen wrote:
|>>> On 30-06-2008 17:35:08 +0200, Arfrever Frehtes Taifersar Arahesis
wrote:
|>>>>> How can you easily revert it in a profile?
|>>>> You can set LDFLAGS="" in a subprofiles's make.defaults.
|>>> How elegant... but I guess I'll have no choice.
|>> Shouldn't possible have a subprofile with compiler/linker specifics
|>> and move there non sharable stuff and keep base leaner?
|>>
|>> lu
|>>
|> I'm just going to commit this to default/linux in about 20 minutes
- -Wl,-O1
|
| Cardoe informed me that he planned to add --hash-style=gnu and
- --sort-common
| to default LDFLAGS in the future.
|
| Does anybody know any packages / architectures (except mips) which
have any
| problems with these flags?
|

Sorry I'm late.

This is for BSDs if anyone is interested:

* --hash-style=gnu doesn't work.
* --sort-common has no problems.
* -O1 makes a bit difficult (if not impossible) to obtain decent
backtraces while debugging certain things.



<unimportant side story>
While -O1 works just fine for everything I've tested so far, if
something fails and you want a backtrace out of a coredump or while
debugging a binary, you may only get the last call, everything else on
the stack is lost in 0xffffffff limbo.
I experienced this while debugging a stack overflow in Python's cPickle,
which could be the reason for this behavior (stack gone wild), but
removing -O1 made decent dumps/traces.
Of course I shouldn't have been debugging things with -Wl,-O1 in the
first place but oh well :+)
</>

--
gentoo-dev@lists.gentoo.org mailing list

Reply via email to