[erlang-patches] [PATCH] Detect arm/armel as ARCH=arm (to enable HiPE later on)

Michael Stapelberg <>
Thu Sep 23 00:30:07 CEST 2010


Hi Mikael,

Excerpts from Mikael Pettersson's message of 2010-09-23 00:14:05 +0200:
> This is better, except it looks like it's missing several fields.
> Is that uname from a current coreutils or someone trying to emulate it.
The output of an original gnu-coreutils version looks quite similar:

Nokia-N900:~# /usr/bin/gnu/uname -a
Linux Nokia-N900 2.6.28.10power40 #1 PREEMPT Tue Aug 10 09:30:52 EEST 2010 armv7l GNU/Linux
Nokia-N900:~# uname -a
Linux Nokia-N900 2.6.28.10power40 #1 PREEMPT Tue Aug 10 09:30:52 EEST 2010 armv7l unknown

Are the missing fields you mentioned the following?

Nokia-N900:~# /usr/bin/gnu/uname -p    
unknown
Nokia-N900:~# /usr/bin/gnu/uname -i
unknown

> Either that or get the maemo people to fix their uname to
> be less broken.  I cannot really accept maemo's plain "arm"
> as an alias for "I meant armv7" as that could create new
> failure modes on pre-v7 processors.  What if some other SDK
> did the same, except _their_ "arm" meant "armv5te"?
Sure thing. I’ll file a bug report at bugs.maemo.org and submit a patch for the
erlang package there.

Best regards,
Michael


More information about the erlang-patches mailing list