Skip to content

Instantly share code, notes, and snippets.

View ehostunreach's full-sized avatar

Vasilis Kalintiris ehostunreach

View GitHub Profile
#!/bin/bash
function log() {
log_file=$1
log_prefix=$2
tee $1 | while read -r line; do echo "[$2] " $line; done
}
cmake /home/vk/repos/llvm | log st3-cmake.log st3-cmake
From 8eb3c7d0fd2db0a2f07e5fe642d6c13e1c7346ec Mon Sep 17 00:00:00 2001
From: Petros Angelatos <[email protected]>
Date: Thu, 24 Dec 2015 14:43:17 -0800
Subject: [PATCH] linux-user: add option to intercept execve() syscalls
In order for one to use QEMU user mode emulation under a chroot, it is
required to use binfmt_misc. This can be avoided by QEMU never doing a
raw execve() to the host system.
Introduce a new option, -execve, that uses the current QEMU interpreter
From 8eb3c7d0fd2db0a2f07e5fe642d6c13e1c7346ec Mon Sep 17 00:00:00 2001
From: Petros Angelatos <[email protected]>
Date: Thu, 24 Dec 2015 14:43:17 -0800
Subject: [PATCH] linux-user: add option to intercept execve() syscalls
In order for one to use QEMU user mode emulation under a chroot, it is
required to use binfmt_misc. This can be avoided by QEMU never doing a
raw execve() to the host system.
Introduce a new option, -execve, that uses the current QEMU interpreter
/home/llvmsan/vk/repos/mips64el-n32/test-2016-07-17_17-06-45/tools/timeit: TIMING OUT PROCESS: /home/llvmsan/vk/builds/mips64el-mti-linux-gnu/bin/clang
/home/llvmsan/vk/repos/mips64el-n32/test-2016-07-17_17-06-45/tools/timeit: TIMING OUT PROCESS: /home/llvmsan/vk/builds/mips64el-mti-linux-gnu/bin/clang++
/home/llvmsan/vk/repos/mips64el-n32/test-2016-07-17_17-06-45/tools/timeit: TIMING OUT PROCESS: /home/llvmsan/vk/builds/mips64el-mti-linux-gnu/bin/clang++
/home/llvmsan/vk/repos/mips64el-n32/test-2016-07-17_17-06-45/tools/timeit: TIMING OUT PROCESS: /home/llvmsan/vk/builds/mips64el-mti-linux-gnu/bin/clang
/home/llvmsan/vk/repos/mips64el-n32/test-2016-07-17_17-06-45/tools/timeit: TIMING OUT PROCESS: /home/llvmsan/vk/builds/mips64el-mti-linux-gnu/bin/clang++
/home/llvmsan/vk/repos/mips64el-n32/test-2016-07-17_17-06-45/tools/timeit: TIMING OUT PROCESS: /home/llvmsan/vk/builds/mips64el-mti-linux-gnu/bin/clang
/home/llvmsan/vk/repos/mips64el-n32/test-2016-07-17_17-06-45/tools/timeit: TIMING OUT PROCESS: /home/llvms
This file has been truncated, but you can view the full file.
2016-07-17 17:08:00: running: "make" "-k" "TARGET_LLVMGCC=/home/llvmsan/vk/builds/mips64el-mti-linux-gnu/bin/clang" "TARGET_CXX=None" "CC_UNDER_TEST_TARGET_IS_MIPS64EL=1" "LLI_OPTFLAGS=-O3" "TARGET_CC=None" "TARGET_LLVMGXX=/home/llvmsan/vk/builds/mips64el-mti-linux-gnu/bin/clang++" "TEST=simple" "CC_UNDER_TEST_IS_CLANG=1" "ENABLE_PARALLEL_REPORT=1" "TARGET_FLAGS=-gcc-toolchain /home/llvmsan/vk/workarea/install-mips-mti-linux-gnu -target mips64el-mti-linux-gnu -mips64r2 -EL -mabi=n32 -Wl,--dynamic-linker=/home/llvmsan/vk/workarea/install-mips-mti-linux-gnu/sysroot/mipsel-r2-hard/lib32/ld-2.20.so" "USE_REFERENCE_OUTPUT=1" "OPTFLAGS=-O3" "LLC_OPTFLAGS=-O3" "ENABLE_OPTIMIZED=1" "ARCH=Mips" "ENABLE_HASHED_PROGRAM_OUTPUT=1" "DISABLE_JIT=1" "-j" "3" "report" "report.simple.csv"
make -C /home/llvmsan/vk/repos/mips64el-n32/test-2016-07-17_17-06-45/tools all \
ORIGINAL_CC="cc" \
ORIGINAL_CXX="cc"
make[1]: Entering directory '/home/llvmsan/vk/repos/mips64el-n32/test-2016-07-17_17-06-45/tools'
env LD_LIBRARY_PATH=/home/llvmsan/vk/workarea/install-mips-mti-linux-gnu/sysroot/mipsel-r2-hard/lib32:/home/llvmsan/vk/workarea/install-mips-mti-linux-gnu/mips-mti-linux-gnu/lib/mipsel-r2-hard/lib32 PATH="$HOME/vk/cmake/bin:$PATH" CC=/home/llvmsan/vk/workarea/install-mips-mti-linux-gnu/bin/mips-mti-linux-gnu-gcc CXX=/home/llvmsan/vk/workarea/install-mips-mti-linux-gnu/bin/mips-mti-linux-gnu-g++ ../../recurse/test-release.sh -svn-path trunk -no-rt -no-libs -no-libunwind -no-test-suite -no-openmp -no-lldb -triple mips64el-mti-linux-gnu -j 3
#
# Automatically generated file; DO NOT EDIT.
# Buildroot 2016.05-00239-gc838d2d Configuration
#
BR2_HAVE_DOT_CONFIG=y
BR2_HOST_GCC_AT_LEAST_4_6=y
BR2_HOST_GCC_AT_LEAST_4_7=y
BR2_HOST_GCC_AT_LEAST_4_8=y
BR2_HOST_GCC_AT_LEAST_4_9=y
BR2_HOST_GCC_AT_LEAST_5=y
env LD_LIBRARY_PATH=/home/llvmsan/vk/workarea/install-mips-mti-linux-gnu/sysroot/mipsel-r2-hard/lib32:/home/llvmsan/vk/workarea/install-mips-mti-linux-gnu/mips-mti-linux-gnu/lib/mipsel-r2-hard/lib32 PATH="$HOME/vk/cmake/bin:$PATH" CC=/home/llvmsan/vk/workarea/install-mips-mti-linux-gnu/bin/mips-mti-linux-gnu-gcc CXX=/home/llvmsan/vk/workarea/install-mips-mti-linux-gnu/bin/mips-mti-linux-gnu-g++ ../../recurse/test-release.sh -svn-path trunk -no-rt -no-libs -no-libunwind -no-test-suite -no-openmp -no-lldb -triple mips64el-mti-linux-gnu -j 3
#include <mips/asm.h>
#include <mips/regdef.h>
#if defined(__mips_isa_rev) && (__mips_isa_rev == 6)
# if defined(__mips_micromips)
# define UMIPS32R6
# else
# define MIPS32R6
# endif
#else