1 |
Arfrever Frehtes Taifersar Arahesis wrote: |
2 |
| 2008-07-09 15:45:15 Doug Goldstein napisaĆ(a): |
3 |
|> Luca Barbato wrote: |
4 |
|>> Fabian Groffen wrote: |
5 |
|>>> On 30-06-2008 17:35:08 +0200, Arfrever Frehtes Taifersar Arahesis |
6 |
wrote: |
7 |
|>>>>> How can you easily revert it in a profile? |
8 |
|>>>> You can set LDFLAGS="" in a subprofiles's make.defaults. |
9 |
|>>> How elegant... but I guess I'll have no choice. |
10 |
|>> Shouldn't possible have a subprofile with compiler/linker specifics |
11 |
|>> and move there non sharable stuff and keep base leaner? |
12 |
|>> |
13 |
|>> lu |
14 |
|>> |
15 |
|> I'm just going to commit this to default/linux in about 20 minutes |
16 |
- -Wl,-O1 |
17 |
| |
18 |
| Cardoe informed me that he planned to add --hash-style=gnu and |
19 |
- --sort-common |
20 |
| to default LDFLAGS in the future. |
21 |
| |
22 |
| Does anybody know any packages / architectures (except mips) which |
23 |
have any |
24 |
| problems with these flags? |
25 |
| |
26 |
|
27 |
Sorry I'm late. |
28 |
|
29 |
This is for BSDs if anyone is interested: |
30 |
|
31 |
* --hash-style=gnu doesn't work. |
32 |
* --sort-common has no problems. |
33 |
* -O1 makes a bit difficult (if not impossible) to obtain decent |
34 |
backtraces while debugging certain things. |
35 |
|
36 |
|
37 |
|
38 |
<unimportant side story> |
39 |
While -O1 works just fine for everything I've tested so far, if |
40 |
something fails and you want a backtrace out of a coredump or while |
41 |
debugging a binary, you may only get the last call, everything else on |
42 |
the stack is lost in 0xffffffff limbo. |
43 |
I experienced this while debugging a stack overflow in Python's cPickle, |
44 |
which could be the reason for this behavior (stack gone wild), but |
45 |
removing -O1 made decent dumps/traces. |
46 |
Of course I shouldn't have been debugging things with -Wl,-O1 in the |
47 |
first place but oh well :+) |
48 |
</> |
49 |
|
50 |
-- |
51 |
gentoo-dev@l.g.o mailing list |