Re: Syntax error: word unexpected (expecting ")" ) when cross compiling

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Syntax error: word unexpected (expecting ")" ) when cross compiling

Henrik Nord-2
Hi!

Have you tried to cross compile without HiPE?

There might be some issues trying to cross compile HiPE.
Se this thread for hints:
http://erlang.org/pipermail/erlang-questions/2012-March/064838.html

you should be able to cross compile to arm without HiPE

  ./configure --disable-hipe --host=arm-linux-gnueabif



On 2014-07-18 07:57, Du Felix wrote:

> Hi everyone.
>        I did a cross compiling with the command:
>        ./configure --host=arm-linux-gnueabif
>        Duiring compilation, I got such error:
>
>   === Entering application hipe
> make[3]: Entering directory `/home/dmy/App/otp_src_17.0/lib/hipe/misc'
>   ERLC ../ebin/hipe_consttab.beam
> /home/dmy/App/otp_src_17.0/bootstrap/bin/erlc: 1:
> /home/dmy/App/otp_src_17.0/bootstrap/bin/erlc: Syntax error: word
> unexpected (expecting ")")
> make[3]: *** [../ebin/hipe_consttab.beam] Error 2
> make[3]: Leaving directory `/home/dmy/App/otp_src_17.0/lib/hipe/misc'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/home/dmy/App/otp_src_17.0/lib/hipe'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory `/home/dmy/App/otp_src_17.0/lib'
> make: *** [secondary_bootstrap_build] Error 2
>
>      When I went to /home/dmy/App/otp_src_17.0/lib/hipe/ebin, I didn't
> find hipe_consttab.beam.
>
>      I could successfully compiled a x86 erlang on my linux mint, but
> got that error while cross compling.
> _______________________________________________
> erlang-bugs mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-bugs

--
/Henrik Nord Erlang/OTP

_______________________________________________
erlang-bugs mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-bugs
Reply | Threaded
Open this post in threaded view
|

Re: Syntax error: word unexpected (expecting ")" ) when cross compiling

dmkolesnikov
Hello,

I also had an issue to compile HiPE on ARM.  

- Dmitry

On 22 Jul 2014, at 11:03, Henrik Nord <[hidden email]> wrote:

> Hi!
>
> Have you tried to cross compile without HiPE?
>
> There might be some issues trying to cross compile HiPE.
> Se this thread for hints:
> http://erlang.org/pipermail/erlang-questions/2012-March/064838.html
>
> you should be able to cross compile to arm without HiPE
>
> ./configure --disable-hipe --host=arm-linux-gnueabif
>
>
>
> On 2014-07-18 07:57, Du Felix wrote:
>> Hi everyone.
>>       I did a cross compiling with the command:
>>       ./configure --host=arm-linux-gnueabif
>>       Duiring compilation, I got such error:
>>
>>  === Entering application hipe
>> make[3]: Entering directory `/home/dmy/App/otp_src_17.0/lib/hipe/misc'
>>  ERLC ../ebin/hipe_consttab.beam
>> /home/dmy/App/otp_src_17.0/bootstrap/bin/erlc: 1:
>> /home/dmy/App/otp_src_17.0/bootstrap/bin/erlc: Syntax error: word
>> unexpected (expecting ")")
>> make[3]: *** [../ebin/hipe_consttab.beam] Error 2
>> make[3]: Leaving directory `/home/dmy/App/otp_src_17.0/lib/hipe/misc'
>> make[2]: *** [opt] Error 2
>> make[2]: Leaving directory `/home/dmy/App/otp_src_17.0/lib/hipe'
>> make[1]: *** [opt] Error 2
>> make[1]: Leaving directory `/home/dmy/App/otp_src_17.0/lib'
>> make: *** [secondary_bootstrap_build] Error 2
>>
>>     When I went to /home/dmy/App/otp_src_17.0/lib/hipe/ebin, I didn't
>> find hipe_consttab.beam.
>>
>>     I could successfully compiled a x86 erlang on my linux mint, but
>> got that error while cross compling.
>> _______________________________________________
>> erlang-bugs mailing list
>> [hidden email]
>> http://erlang.org/mailman/listinfo/erlang-bugs
>
> --
> /Henrik Nord Erlang/OTP
>
> _______________________________________________
> erlang-bugs mailing list
> [hidden email]
> http://erlang.org/mailman/listinfo/erlang-bugs

_______________________________________________
erlang-bugs mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-bugs