Build failed on AWS medium EC2 instance

Kristof Provost kristof at sigsegv.be
Wed Jan 9 00:52:54 UTC 2019



> On 9 Jan 2019, at 11:57, Albaro Pereyra <2albaropereyra at gmail.com> wrote:
> 
> Greetings,
> 
> I am not sure if this is the correct mailing list or not, that being said
> if it is not please help me find the right one.
> 
> Here is my dilemma I am trying to build Freebsd Release 12.0.0 on
> 11.2-RELEASE-p4 on a AWS ec2 instance.
> While building using the following commands:
> 
> make buildworld && make buildkernel KERNCONF=GENERIC && make installkernel
> KERNCONF=GENERIC;
> 
> I received the following error message.
> 
> *** Signal 9
> 
> 
> 
> 
> 
> Stop.
> 
> 
> make[5]: stopped in /usr/src/usr.bin/clang/lldb
> 
> 
> *** Error code 1
> 
> 
> 
> 
> 
> Stop.
> 
> 
> make[4]: stopped in /usr/src/usr.bin/clang
> 
> 
> *** Error code 1
> 
> 
> 
> 
> 
> Stop.
> 
> 
> make[3]: stopped in /usr/src/usr.bin
> 
> 
> *** Error code 1
> 
> 
> 
> 
>                 Stop.
> 
> 
> make[2]: stopped in /usr/src
> 
> 
> *** Error code 1
> 
> 
> 
> 
> 
> Stop.
> 
> 
> make[1]: stopped in /usr/src
> 
> 
> *** Error code 1
> 
> 
> 
> 
> 
> Stop.
> 
> 
> make: stopped in /usr/src
> 
> 
> ON:
> 
> c++ -target x86_64-unknown-freebsd12.0
> --sysroot=/usr/obj/usr/src/amd64.amd64/tmp
> -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe
> -I/usr/src/contrib/llvm/tools/lldb/include
> -I/usr/src/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT
> -DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include
> -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG
> -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd12.0\"
> -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd12.0\" -DDEFAULT_SYSROOT=\"\"
> -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM
> -DLLVM_TARGET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC
> -DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86
> -DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser
> -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter
> -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler
> -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target
> -DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo
> -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections
> -fdata-sections -gline-tables-only -fstack-protector-strong -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare
> -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
> -Wno-enum-conversion -Wno-unused-local-typedef
> -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum
> -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -std=c++11
> -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions
> -Wl,--gc-sections  -o lldb.full  Driver.o
> /usr/obj/usr/src/amd64.amd64/lib/clang/liblldb/liblldb.a
> /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a
> /usr/obj/usr/src/amd64.amd64/lib/clang/libllvm/libllvm.a  -ledit
> -lpanel  -lncursesw
>  -lz -lpthreadobjcopy --only-keep-debug lldb.full lldb.debug
> 
Is there anything before that? Also, take a look at dmesg output, because my first thought is you might be running out of memory. 

Regards,
Kristof


More information about the dev-ci mailing list