Menu

#49 Fix the build with Clang (inline assembly)

open
nobody
None
5
2013-06-10
2013-06-10
No

Biew 6.1.0 (the latest release) currently does not build with Clang due to small bugs in inline assembly. Fix is attached. GCC produces identical code (verified with md5).

SVN seemingly diverged a bit (e.g., I do not see aclib_template.c file), but cpu_info.c is still broken (both ia32 and x64 versions). Patch is attached (against 6.1.0).

Discussion

  • Alexey Dokuchaev

    Patch itself (stupid sf.net does not allow to attach immediately?)

     
  • Alexey Dokuchaev

    Configure script must be taught about Clang too. Attached patch does this. Works both with FreeBSD and GNU sed(1).

     

    Last edit: Alexey Dokuchaev 2013-06-10

Log in to post a comment.