Skip to content

Instantly share code, notes, and snippets.

View nathanchance's full-sized avatar
🛠️
Trying not to drown in bugs

Nathan Chancellor nathanchance

🛠️
Trying not to drown in bugs
View GitHub Profile
build/powerpc/bad/arch/powerpc/kvm/book3s_hv_nested.o: file format elf64-powerpc
Disassembly of section .text:
0000000000000000 <.kvmhv_save_hv_regs>:
0: 7c 08 02 a6 mflr r0
4: fb e1 ff f8 std r31,-8(r1)
8: f8 01 00 10 std r0,16(r1)
1 arch/x86/kernel/kprobes/core.c:959:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1 arch/x86/kernel/uprobes.c:1015:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1 arch/x86/kvm/cpuid.c:335:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1 arch/x86/kvm/vmx/vmx.c:6005:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1 block/compat_ioctl.c:282:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1 block/ioprio.c:76:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1 drivers/accessibility/braille/braille_console.c:249:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1 drivers/acpi/sbshc.c:234:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
1 drivers/ata/libata-eh.c:2814:4: warning:
Intel Core i7-7700:
arm:multi_v7_defconfig | Success in 9 minutes and 20 seconds
arm:allyesconfig | Success in 43 minutes and 4 seconds
arm64:defconfig | Success in 12 minutes and 38 seconds
arm64:allyesconfig | Success in 48 minutes and 19 seconds
From 93926cb441d2c82c31be82ab4078c6750b88cffb Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <natechancellor@gmail.com>
Date: Sun, 30 Sep 2018 18:35:46 -0700
Subject: [PATCH 1/6] DO-NOT-UPSTREAM: Disable GCOV_KERNEL for Clang
Patches currently in testing, just don't want to add them to my stack.
Link: https://github.com/ClangBuiltLinux/linux/issues/17
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
---
From 8c16eb5d852c426449c35f5c638fa0241de59900 Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <natechancellor@gmail.com>
Date: Mon, 10 Dec 2018 17:59:43 -0700
Subject: [PATCH 1/4] DO-NOT-UPSTREAM: arm: Don't select HAVE_FUNCTION_TRACER
with Clang
Link: https://github.com/ClangBuiltLinux/linux/issues/35
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
---
arch/arm/Kconfig | 2 +-
#!/usr/bin/env bash
function die() {
echo
echo -e "\033[01;31m${1}\033[0m"
echo
exit 1
}
REPOS=( "fw-api" "qcacld-3.0" "qca-wifi-host-cmn" )
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.86-00549-gecaa3389b09a (nathan@flashbox) (clang version 8.0.0 (https://git.llvm.org/git/clang.git 0635952db651b10442fa25b2e06573322fdd9a23) (https://git.llvm.org/git/llvm.git bd3579dbdc2103bc3eea377088c624a0cd6b0c32)) #1 SMP Thu Dec 6 23:36:54 MST 2018
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x3ac00000
[ 0.000000] On node 0 totalpages: 242688
[ 0.000000] free_area_init_node: node 0, pgdat 80b389c0, node_mem_map ba39f000
out/kernel/seccomp.o: file format elf32-littlearm
Disassembly of section .text:
00000000 <arch_seccomp_spec_mitigate>:
0: e12fff1e bx lr
00000004 <get_seccomp_filter>:
arch/x86/mm/fault.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <trace_event_raw_event_x86_exceptions>:
0: 41 57 push %r15
2: 41 56 push %r14
4: 41 55 push %r13
BR2_aarch64=y
BR2_cortex_a57=y
BR2_OPTIMIZE_3=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TARGET_GENERIC_ROOT_PASSWD="root"
BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0"
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_BASH=y
BR2_PACKAGE_HTOP=y
BR2_PACKAGE_VIM=y