A really organized pile

I was reading through Bryan's tips and tricks for dtrace that he published today and noticed the page recommending folk not to compile on x86 with -omit-frame-pointer (for gcc) or -x04 for (our compilers). The page (42 oddly enough) looks something like:

Gotcha: Unsupporting libraries

  • Regrettably, on x86 there are compiler options that cause the compiler to not store a frame pointer
  • This is regrettable because these libraries become undebuggable: stack traces are impossible
  • Library writers: don't do this!
    • gcc: don't use -fomit-frame-pointer!
    • Sun Compilers: avoid -x04; it does this by default!

Later today, watching the #solaris channel in irc on freenet, I saw the following quote, made in regard to something totally unrelated, but seems to fit soooo well.

It's not really a stack, more of a really organized pile

Thank you to g4lt-mordant for that gem.

Technorati Tag:

Comments:

Post a Comment:
Comments are closed for this entry.
About

* - Solaris and Network Domain, Technical Support Centre


Alan is a kernel and performance engineer based in Australia who tends to have the nasty calls gravitate towards him

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today
Links
Blogroll

No bookmarks in folder

Sun Folk

No bookmarks in folder

Non-Sun Folk
Non-Sun Folks

No bookmarks in folder