Menu

#416 flac build fails on os x 10.9.5/clang

1.3.1
closed-fixed
Erik
None
5
2015-02-22
2014-11-04
mark4o
No

Building flac from git master on OS X 10.9.5 fails, using Apple's clang:
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)

$ ./configure
...
-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-

  Configuration summary :

    FLAC version : ........................ 1.3.0

    Host CPU : ............................ x86_64
    Host Vendor : ......................... apple
    Host OS : ............................. darwin13.4.0

    Compiler is GCC : ..................... no
    Compiler is Clang : ................... yes
    SSE optimizations : ................... yes
    Asm optimizations : ................... yes
    Ogg/FLAC support : .................... no

$ make
...
Making all in libFLAC
Making all in include
Making all in private
make[5]: Nothing to be done for `all'.
Making all in protected
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in .
  CC       bitmath.lo
  CC       bitreader.lo
In file included from bitreader.c:45:
../../include/share/endswap.h:38:30: error: definition of builtin function
      '__builtin_bswap16'
static inline unsigned short __builtin_bswap16(unsigned short a)
                             ^
1 error generated.
make[4]: *** [bitreader.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
$ 

Discussion

  • Erik

    Erik - 2014-11-25
    • status: open --> closed-fixed
    • assigned_to: Erik
     
  • Erik

    Erik - 2014-11-25

    Fixed in 7a671e7c4123d0f38a7ac626f475181b3a9e6b87 and b7d13c07163df2965987f1607db66616fa518cc3.

     

Log in to post a comment.

MongoDB Logo MongoDB