compiling erlang

Stefan Wold ratler at lunar-linux.org
Sat Feb 25 19:29:18 UTC 2006


I know this problem. It fail because HIPE optimizations fail to build on 
some gcc/glibc combinations. I have seen reports of this problem on 
erlang mailling list. I believe gentoo has the same problem. I havn't 
seen any solution to the problem yet so meanwhile install it as described 
below.

Run lin --opts '--disable-hipe' erlang

Sincerely
Stefan Wold

On Sat, 25 Feb 2006, Dennis Veatch wrote:

> On Saturday 25 February 2006 13:47, Dennis Veatch wrote:
>> Has anyone successfully lined this module? I have tried combinations of
>> GCC_WRAPPERS=on and PSAFE=no and the stock DETAILS and still fails during
>> the make. But doing it from cli make completes fine. The error is;
>>
>> /usr/src/otp_src_R10B-9/erts/obj.hybrid.beam/i686-pc-linux-gnu/hipe_x86_bif
>> s.o: In function `nbif_handle_fp_exception':
>> i686-pc-linux-gnu/hipe_x86_bifs.S:(.text+0x7): undefined reference to
>> `erts_restore_fpu'
>> collect2: ld returned 1 exit status
>> make[3]: *** [/usr/src/otp_src_R10B-9/bin/i686-pc-linux-gnu/beam.hybrid]
>> Error 1
>> make[3]: Leaving directory `/usr/src/otp_src_R10B-9/erts/emulator'
>> make[2]: *** [hybrid] Error 2
>> make[2]: Leaving directory `/usr/src/otp_src_R10B-9/erts/emulator'
>> make[1]: *** [hybrid] Error 2
>> make[1]: Leaving directory `/usr/src/otp_src_R10B-9/erts'
>> make: *** [emulator] Error 2
>>
>>
>> Should I submit a bur report?
>
> Erm I mean GCC_WRAPPERS=off
> -- 
> You can tuna piano but you can't tune a fish.
> _______________________________________________
> Lunar-dev mailing list
> Lunar-dev at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-dev
>


More information about the Lunar-dev mailing list