pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

llvm on i386?

On netbsd-7 i386, with the newly-minted 2016Q4 and everything up to
date, building llvm from pkgsrc fails:

  -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
  -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Failed
  -- Looking for __atomic_load_8 in atomic
  -- Looking for __atomic_load_8 in atomic - not found
  CMake Error at cmake/modules/CheckAtomic.cmake:74 (message):
    Host compiler appears to require libatomic, but cannot find it.
  Call Stack (most recent call first):
    cmake/config-ix.cmake:317 (include)
    CMakeLists.txt:461 (include)

Is this a known issue, a sign of my system having something wrong, or
something else?  Surely llvm works on i386, but I'm not clear on 64-bit
atomic ops on the i386 arch.

(llvm 3.9.0 built fine with netbsd-7 amd64 and 2016Q4.)

(I realize there is clang/llvm in base with MKLLVM, but it seems like the
pkgsrc entries should also work.)

Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index