On Mon, Mar 25, 2013 at 9:38 AM, Sid Boyce <[email protected]> wrote:

> I have discovered an odd happening on the ODROID-X that I'll have to take
> up with them.
> root@G3VBV:~# swapon -a
> swapon: /swapfile: swapon failed: Function not implemented
> root@G3VBV:~# swapon /swapfile
> swapon: /swapfile: swapon failed: Function not implemented
> 73 ... Sid.
>
> On 24/03/13 22:04, Sylvain Munaut wrote:
>
>> Hi,
>>
>> I compiled it on ARM this week end.
>>
>>
>>  c++: internal compiler error: Killed (program cc1plus)
>>>
>> You don't have enough RAM ... SWIG that generates the python wrapper
>> will generate C++ source of like 20-30Mo, which when compilin will
>> require like > 1Go of RAM !!!
>>
>> I ended up disabling python to build only the C++ core of gnuradio ...
>> that went much smoother.
>>
>>
>>  /tmp/ccLw2kCh.s:31: Error: selected FPU does not support instruction --
>>> `vmov.f32 q8,#0.0'
>>>
>> This is the same issue I reported in
>>
>> http://gnuradio.org/redmine/**issues/526<http://gnuradio.org/redmine/issues/526>
>>
>>
>> Cheers,
>>
>>      Sylvain
>>
>>
>
Hey Sid,

Did you ever get past that? I don't think it's an issue with the ODROID-X,
rather the kernel shipped on the Linaro image doesn't have swap support
built in. We've been trying to build gnuradio on an odroid-x too and ran in
to the same problem. The solutions appear to be corss compiling or getting
a new kernel. If you've (or anyone else) made any progress I'd appreciate
hearing about it. Any tips on kernel replacements or tool chains would be
great.

I tried using the Toolchain file arm_cortex_a8_native.cmake with a naive
replacement for mtune=cortex-a9, but it complains g++ is broken. Using the
cmake flags you gave does make some progress (until the swig files of
death):
root@G3VBV:/3/ODROID-X/
gnuradio/build# cmake -DCMAKE_CXX_FLAGS:STRING="-mfpu=neon
-fno-tree-vectorize -flto -fopenmp -mfloat-abi=hard"
-DCMAKE_C_FLAGS:STRING="-mfpu=neon -fno-tree-vectorize -flto -fopenmp
-mfloat-abi=hard" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE="Release"
-DENABLE_GR_CORE=ON -DENABLE_GRC=ON -DENABLE_GR_FFT=ON
-DENABLE_GR_FILTER=ON -DENABLE_GR_AUDIO=ON -DENABLE_BAD_BOOST=ON ..
Side comment: are you really building as root?

These guys apparently had success: http://rd.csp.it/archives/1976 (if
anyone from their group is on this list feel free to chime in :-) )

On a related note, there's an arch linux image for the odroid-x that has a
kernel with support for swap, but arch has it's own head aches mostly
associated with the rolling release (aka bad boost and pacman is obtuse
compared to apt).

-Nathan
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to