| View previous topic :: View next topic |
| Author |
Message |
Marco Costalba
Joined: 14 Jun 2008 Posts: 2090
|
Post subject: Re: Stockfish on github Posted: Sat Oct 08, 2011 8:22 pm |
|
|
| UncombedCoconut wrote: |
It works perfectly again. Thanks!
Sadly, the LTO patch broke compilation for me and might for others. -flto works just fine, but adding -static tells the linker to use static versions of all system libraries. For most programs this is undesirable. But I can live with it. I'd say you needn't take action unless you agree with me or somebody else complains.
I just wish you could have seen the look on my face when I saw
| Code: |
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lstdc++
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lc |
I think it would have made you smile. |
Tom (the patch author) says:
| Code: |
Ubuntu 11.04 works fine with -flto. I am currently not at home but the
ubuntu 11.10 beta2 on my notebook needs -static as an additional flag. I
think that is a bug but -static is ok for distributing the binary any way.
|
What do you mean by "broke compilation" ? You needed to remove -static to compile ? And also what is your environment ?
Thanks
Marco |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Stockfish on github |
Marco Costalba |
Sun Oct 02, 2011 11:07 am |
Re: Stockfish on github |
Rein Halbersma |
Mon Oct 03, 2011 6:20 am |
Re: Stockfish on github |
david nash |
Wed Oct 05, 2011 12:07 am |
Re: Stockfish on github |
Marco Costalba |
Wed Oct 05, 2011 5:09 am |
Re: Stockfish on github |
Ilari Pihlajisto |
Mon Oct 03, 2011 3:02 pm |
Re: Stockfish on github |
Marco Costalba |
Mon Oct 03, 2011 5:33 pm |
Re: Stockfish on github |
Ingo Bauer |
Tue Oct 04, 2011 12:50 pm |
Re: Stockfish on github |
Jouni Uski |
Tue Oct 04, 2011 6:41 pm |
Re: Stockfish on github |
Jon Dart |
Mon Oct 03, 2011 7:52 pm |
Re: Stockfish on github |
Ralph Stoesser |
Mon Oct 03, 2011 8:02 pm |
Re: Stockfish on github |
Joerg Oster |
Tue Oct 04, 2011 8:11 am |
Re: Stockfish on github |
Graham Banks |
Wed Oct 05, 2011 5:42 pm |
Re: Stockfish on github |
Don Dailey |
Wed Oct 05, 2011 3:52 pm |
Re: Stockfish on github |
Justin Blanchard |
Thu Oct 06, 2011 7:47 pm |
Re: Stockfish on github |
Marco Costalba |
Thu Oct 06, 2011 9:08 pm |
Re: Stockfish on github |
Marco Costalba |
Fri Oct 07, 2011 4:53 am |
Re: Stockfish on github |
Justin Blanchard |
Fri Oct 07, 2011 8:33 am |
Re: Stockfish on github |
Marco Costalba |
Sat Oct 08, 2011 9:32 am |
Re: Stockfish on github |
Justin Blanchard |
Sat Oct 08, 2011 8:04 pm |
Re: Stockfish on github |
Marco Costalba |
Sat Oct 08, 2011 8:22 pm |
Re: Stockfish on github |
Justin Blanchard |
Sat Oct 08, 2011 8:50 pm |
lto -static flag |
tomtor |
Sun Oct 09, 2011 6:17 am |
Re: Stockfish on github |
Baron Turner |
Thu Mar 08, 2012 2:01 pm |
Re: Stockfish on github |
Julien MARCEL |
Thu Mar 08, 2012 2:03 pm |
Re: Stockfish on github |
Baron Turner |
Thu Mar 08, 2012 2:20 pm |
Re: Stockfish on github |
Julien MARCEL |
Thu Mar 08, 2012 2:25 pm |
Re: Stockfish on github |
Baron Turner |
Thu Mar 08, 2012 2:39 pm |
Re: Stockfish on github |
Julien MARCEL |
Thu Mar 08, 2012 2:43 pm |
Re: Stockfish on github |
Ted Wong |
Thu Mar 08, 2012 3:28 pm |
Re: Stockfish on github |
Baron Turner |
Thu Mar 08, 2012 5:11 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|