[opus] Problems building on Raspberry Pi

Jean-Marc Valin jmvalin at jmvalin.ca
Wed May 24 19:34:54 UTC 2017


Can you try building with --disable-intrinsics and see if it works.
There's a known issue with the unit tests using the wrong instruction
set, despite the library itself being unaffected.

Cheers,

	Jean-Marc

On 20/05/17 02:55 AM, Samuel Bearg wrote:
> Hello,
> 
> I'm following the directions that 'make check' gave me: to e-mail you
> log files.
> 
> I'm attempting to build opus on a raspberry pi zero w, which I think has
> more or less the original hardware as an original raspberry pi + WiFi.
> 
> I'm running a clean install of the latest version of raspbian lite. 
> Note that lite has no gui, but also has less packages in general, so it
> might be missing something important for building opus.
> 
> I tried building opus twice.  Well, it seemed like I succeeded in
> building opus twice, but both times the 'make check' tests failed.
> 
> Time one I downloaded the tar.gz for 1.1.4.
> 
> ./configure gave the following output:
> 
> ------------------------------------------------------------------------
>   opus 1.1.4:  Automatic configuration OK.
> 
>     Compiler support:
> 
>       C99 var arrays: ................ yes
>       C99 lrintf: .................... yes
>       Use alloca: .................... no (using var arrays)
> 
>     General configuration:
> 
>       Floating point support: ........ yes
>       Fast float approximations: ..... no
>       Fixed point debugging: ......... no
>       Inline Assembly Optimizations: . No inline ASM for your platform, please send patches
>       External Assembly Optimizations: 
>       Intrinsics Optimizations.......: ARM (NEON)
>       Run-time CPU detection: ........ ARM (NEON Intrinsics)
>       Custom modes: .................. no
>       Assertion checking: ............ no
>       Fuzzing: ....................... no
>       Ambisonics support: .............no
> 
>       API documentation: ............. yes
>       Extra programs: ................ yes
> ------------------------------------------------------------------------
> 
> It appeared to build ok, but 'make check' failed.  The log is attached as gittest-suite.log
> 
> I then cloned the git repository and built from that.  I had to install git, autoconf, and libtools with apt-get.
> 
> I ran both autogen.sh and ./configure with the --enable-fixed-point flag.  I wasn't sure which one took that argument.
> 
> ./configure gave the following output.  Once again it seemed to build ok, but 'make check' failed.  I've attached that as gittest-suite.log
> 
> ------------------------------------------------------------------------
>   opus 1.2-alpha2-38-g43db562:  Automatic configuration OK.
> 
> 
> 
>     Compiler support:
> 
>       C99 var arrays: ................ yes
>       C99 lrintf: .................... yes
>       Use alloca: .................... no (using var arrays)
> 
>     General configuration:
> 
> Floating point support: ........ no
>       Fast float approximations: ..... no
>       Fixed point debugging: ......... no
>       Inline Assembly Optimizations: . ARM (EDSP) (Media)
>       External Assembly Optimizations: ARM (EDSP) (Media)
>       Intrinsics Optimizations.......: ARM (NEON)
>       Run-time CPU detection: ........ ARM (NEON) (NEON Intrinsics)
>       Custom modes: .................. no
>       Assertion checking: ............ no
>       Fuzzing: ....................... no
>       Check ASM: ..................... no
>       Ambisonics support: ............ no
> 
>       API documentation: ............. yes
>       Extra programs: ................ yes
> ------------------------------------------------------------------------
> 
> 
> -- 
> Samuel Bearg
> (617) 816-2835
> DNA Medicine Institute
> 727 Massachusetts Ave.
> Cambridge MA 02139
> 
> 
> _______________________________________________
> opus mailing list
> opus at xiph.org
> http://lists.xiph.org/mailman/listinfo/opus
> 


More information about the opus mailing list