pkgsrc-Users archive

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

lang/clang build problem



Hello,

   I'm trying to build clang (sync'd yesterday from
pkgsrc.sonnenberger.org) on NetBSD/amd64 in a pkg_comp chroot, and I'm
getting:

--------------------------------------
llvm[2]: Compiling PseudoLoweringEmitter.cpp for Release build
llvm[2]: Compiling RegisterInfoEmitter.cpp for Release build
llvm[2]: Compiling SubtargetEmitter.cpp for Release build
llvm[2]: Compiling TableGen.cpp for Release build
llvm[2]: Compiling X86DisassemblerTables.cpp for Release build
llvm[2]: Compiling X86ModRMFilters.cpp for Release build
llvm[2]: Compiling X86RecognizableInstr.cpp for Release build
llvm[2]: Linking Release executable llvm-tblgen (without symbols)
llvm[2]: ======= Finished Linking Release Executable llvm-tblgen
(without symbols)
gmake[2]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/utils/TableGen'
gmake[1]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/utils'
gmake[1]: Entering directory
'/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/lib/IR'
llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td
/bin/sh: Cannot execute ELF binary
/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/Release/bin/llvm-tblgen
Makefile:23: recipe for target
'/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/lib/IR/Release/Intrinsics.gen.tmp'
failed
gmake[1]: ***
[/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/lib/IR/Release/Intrinsics.gen.tmp]
Error 2
gmake[1]: Leaving directory
'/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/lib/IR'
/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/Makefile.rules:885:
recipe for target 'all' failed
gmake: *** [all] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/clang
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/clang
pkg_comp:default.conf#
--------------------------------------

pkg_comp:default.conf# file
/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/Release/bin/llvm-tblgen

/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/Release/bin/llvm-tblgen:
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked
(uses shared libs), not stripped
pkg_comp:default.conf#
/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/Release/bin/llvm-tblgen

/bin/sh: Cannot execute ELF binary
/pkg_comp/obj/pkgsrc/lang/clang/default/llvm-3.5.1.src/Release/bin/llvm-tblgen

   I'm getting a slight sense of déjà vu from this, but I can't quite
remember from where or why.

-- 
Kind Regards,
Jan


Home | Main Index | Thread Index | Old Index