| Author |
Message |
|
| Guest |
Posted: Fri Sep 02, 2011 2:00 am |
|
|
|
Guest
|
I get roughly the following for both 32-bit and 64-bit builds on lion. Has anyone specifically diagnosed the issue building current releases up to, and including the current dev branch, on mac os x? Is this considered an gcc-llvm or otp issue?
$ ./configure --enable-darwin-64bit --disable-hipe
$ make
< |
|
|
| Back to top |
|
| Guest |
Posted: Fri Sep 02, 2011 2:22 am |
|
|
|
Guest
|
LLVM on Lion appears to generate bad code when used with default
optimizations. Use:
CFLAGS=-O0 ./configure ....
Be sure to start from a fresh unpack of OTP source too...
D.
On Thu, Sep 1, 2011 at 8:00 PM, Paul Fisher <pfisher@alertlogic.com> wrote:
> I get roughly the following for both 32-bit and 64-bit builds on lion. |
|
|
| Back to top |
|
| Guest |
Posted: Fri Sep 02, 2011 8:23 am |
|
|
|
Guest
|
| You can also download the 64 bit Mac OS X Lion package from Erlang Solutions website: |
|
|
| Back to top |
|
| Guest |
Posted: Mon Sep 05, 2011 3:22 pm |
|
|
|
Guest
|
Just a follow-up on this. Installing gcc 4.5.3 from macports, allows the current dev branch to build and pass most of the tests.
On Sep 1, 2011, at 9:00 PM, Paul Fisher wrote:
> I get roughly the following for both 32-bit and 64-bit builds on lion. Has anyone specifically diagnosed the issue building current releases up to, and including the current dev branch, on mac os x? Is this considered an gcc-llvm or otp issue?
>
> $ ./configure --enable-darwin-64bit --disable-hipe
> $ make
>
> < |
|
|
| Back to top |
|
| Guest |
Posted: Mon Sep 05, 2011 3:40 pm |
|
|
|
Guest
|
On 09/05/11 18:22, Paul Fisher wrote:
> Just a follow-up on this. Installing gcc 4.5.3 from macports, allows the current dev branch to build and pass most of the tests.
I do not have a Mac and for this reason perhaps I should not really
care, but if I had one I would have found this information a bit
uninformative.
The interesting question is whether the dev branch passes at least all
tests as those when compiled with -O0, i.e. whether the optimization
passes in the updated macports compiler are still causing trouble for
(parts of) Erlang/OTP or not.
If not, either the compiler or Erlang/OTP needs fixing. Till then I
would recommend to all MacOS users to keep using -O0 anyway.
Kostis
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Sep 05, 2011 3:53 pm |
|
|
|
Guest
|
FWIW: I am running on Mac OS X and installed Erlang with Homebrew and
have had no issues: http://mxcl.github.com/homebrew/
On 5 September 2011 16:40, Kostis Sagonas <kostis@cs.ntua.gr> wrote:
> On 09/05/11 18:22, Paul Fisher wrote:
>>
>> Just a follow-up on this. |
|
|
| Back to top |
|
| Guest |
Posted: Mon Sep 05, 2011 5:57 pm |
|
|
|
Guest
|
Yeah, sorry about that. The tests take a long time to run and I wanted to let other mac users know that there was a possible viable alternative.
I'm running more tests off and on today and will report those results, if there is interest.
Was kinda hoping to move mac users past the "use -O0" impasse...
On Sep 5, 2011, at 10:40 AM, Kostis Sagonas wrote:
> On 09/05/11 18:22, Paul Fisher wrote:
>> Just a follow-up on this. Installing gcc 4.5.3 from macports, allows the current dev branch to build and pass most of the tests.
>
> I do not have a Mac and for this reason perhaps I should not really
> care, but if I had one I would have found this information a bit
> uninformative.
>
> The interesting question is whether the dev branch passes at least all
> tests as those when compiled with -O0, i.e. whether the optimization
> passes in the updated macports compiler are still causing trouble for
> (parts of) Erlang/OTP or not.
>
> If not, either the compiler or Erlang/OTP needs fixing. Till then I
> would recommend to all MacOS users to keep using -O0 anyway.
>
> Kostis
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions
--
paul
director, platform services
alertlogic, inc.
713-484-8383 x2314
"When in doubt, use brute force." -- Ken Thompson
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 06, 2011 5:51 am |
|
|
|
Guest
|
On Mon, Sep 5, 2011 at 7:57 PM, Paul Fisher <pfisher@alertlogic.com> wrote:
> Yeah, sorry about that. The tests take a long time to run and I wanted to let other mac users know that there was a possible viable alternative.
>
> I'm running more tests off and on today and will report those results, if there is interest.
>
> Was kinda hoping to move mac users past the "use -O0" impasse...
>
We hope to have R14B04 to build out-of-the-box
on Lion. Our plan is to have 'configure' set up
the Makefiles so that beam_emu.c is built with
gcc-4.2 and everything else with the default
compiler (usually llvm-gcc-4.2.).
Until then, the easiest way to build Erlang/OTP
seems to be:
CC=gcc-4.2 ./configure
make
We have not run all test suites on Lion yet,
but I have successfully built Erlang/OTP and
run the emulator and compiler test suites.
Our long-term plan is to find out exactly what
causes the problem compiling beam_emu.c
and submit a bug report to the llvm team.
/Bjorn
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
_______________________________________________
erlang-questions mailing list
erlang-questions@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 06, 2011 8:42 am |
|
|
|
Guest
|
| We built and ran the full OTP test suite on R14B03 for Mac OS X Lion |
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 06, 2011 1:12 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Tue Sep 06, 2011 11:14 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Thu Sep 08, 2011 5:04 am |
|
|
|
Guest
|
Hi,
Is there a target date for R14B04? I look around on the erlang.org site
and can't seem to find it.
Thanks
2011/9/6 Bj |
|
|
| Back to top |
|
|
|