[erlang-bugs] R16 build error: syntax error before: '¿'

Tuncer Ayaz <>
Sat Jan 19 19:47:29 CET 2013


On Sat, Jan 19, 2013 at 7:42 PM, Björn-Egil Dahlberg wrote:
> HiPE seems to have problem compiling erl_scan. Probably due to utf8
> enhancements.
> I don't have access to daily builds right now, but I think this
> passes on our build servers (or it has gone unnoticed due to massive
> test data overload).

Is --enable-native-libs part of the daily build configurations?

> I do get stalls when compiling erlc +native erl_scan.erl on my mac
> at home though. Something bad is going on.

In a previous build I got the same error in edlin.erl. That's after
working around the other hang (Anthony is busy researching) by cd'ing
into lib/syntax_tools and calling make locally.

> // Björn-Egil
>
> 2013/1/19 Tuncer Ayaz
>>
>> On Sat, Jan 19, 2013 at 7:07 PM, Tuncer Ayaz wrote:
>> > Can anyone else reproduce the following build error in current git
>> > master? The locale in use is en_US.iso88591.
>>
>> Steps to reproduce:
>> $ git clean -fxdq
>> $ MAKEFLAGS=-j2 ./otp_build setup -a --enable-native-libs
>>
>> It seems to only break with --enable-native-libs, but without
>> knowing the cause I don't want to blame that.
>>
>> >  ERLC   ../ebin/erl_scan.beam
>> > erl_scan.erl:539: syntax error before: '¿'
>> > erl_scan.erl:708: syntax error before: '¿'
>> > erl_scan.erl:462: function scan1/5 undefined
>> > erl_scan.erl:479: function scan1/5 undefined
>> > erl_scan.erl:666: function scan_name/2 undefined
>> > [...]
>> > erl_scan.erl:1226: Warning: function scan_exponent/6 is unused
>> > erl_scan.erl:1233: Warning: function float_end/6 is unused
>> > erl_scan.erl:1243: Warning: function skip_comment/6 is unused
>> > erl_scan.erl:1246: Warning: function skip_comment/7 is unused
>> > :make[1]: *** [../ebin/erl_scan.beam] Error 1


More information about the erlang-bugs mailing list