[LLVMdev] Re: LLVM build error

Lexington Luthor lexington.luthor at gmail.com
Sat Jun 24 12:51:11 PDT 2006


Reid Spencer wrote:
> I'm sorry for the trouble it caused, but there isn't much we can do to
> prevent you from shooting yourself in the foot. :)  I've been there,
> done that kind of thing before and know about the wasted time, etc.  I
> usually just chalk it up to a learning experience.
> 
> In any event, what were you trying to accomplish with the use of the -s
> flag? Perhaps there's another way to do it.
> 

Heh, no I didn't add it there on purpose. The whole reason I am playing 
with LLVM is to try coax every last bit of performance out of this 
program I have been using a lot lately, and among my attempts to do so, 
I played with gcc flags, which I forgot to unset from my environment 
when I went on to build LLVM... silly mistake on my part.

(I am not in the habit of running stripped binaries, its just that for a 
program that takes 26 minutes to run each time, even a 1% speed boost is 
very welcome, which is why I employed more aggressive compiler 
optimizations.)

Anyway, LLVM is fantastic. Thanks to all the developers for the great 
work, and sorry for the noise on the mailing list. My problem has been 
resolved and I learned a lot about LLVM in the process. Now onto 
cachegrind...

Thanks for the help,
LL




More information about the llvm-dev mailing list