Skip to content

Instantly share code, notes, and snippets.

$ git log --graph --oneline --decorate --all
* d11c4a4 (HEAD -> prod2) Merge commit 'aa689c2' into prod2
|\
* \ 3f11482 Merge branch 'fnord' into prod2
|\ \
* | | 0e22a4b add b
| | | * 53e966a (prod1) Merge branch 'fnord' into prod1
| | |/|
| | |/
| |/|
@stebulus
stebulus / sha256sums.diff
Created May 26, 2019 12:44
egg-linux-build-reports build 25 vs build 26
--- x/checksums/sha256sums 2019-05-25 22:07:38.546750412 -0400
+++ /mnt/slackware.sums 2019-05-26 08:29:10.907796863 -0400
@@ -61,7 +61,7 @@
6d348c21de8d598a9f0d8a4ade7af3a1d6ac7ac9dc7b4be6dd924fac5aa95459 ./lib64/libresolv-2.25.so
5992ba9fb8efb73b90ce509781b526ee2ee1d88454b032290f139dc49e4e9dff ./lib64/librt-2.25.so
e841be330245c3e7dad4f086d79e9b7acced72e55aeebf2432e6481f8c144451 ./lib64/libstdc++.a
-4ea35efd697c3f64442755b33fb0e2ad91f83828df857765456848e927106d35 ./lib64/libstdc++.so.6.0.22
+5224b5567454efca771358aec04d21cc8a7cb7fa924a94ef5a08ce040e4f0b66 ./lib64/libstdc++.so.6.0.22
06c749e26d6303a17e898b2c0b7fa5280a24e87dbb2255fd6ab9e415010ff450 ./lib64/libstdc++fs.a
1ecd8e61c879bfe8c69dd9c6ebdbaf11cad38e45c2d86a228ebc873613cacb2d ./lib64/libsupc++.a
@stebulus
stebulus / sha256sums
Created May 19, 2019 16:28
checksums for egg-linux at commit e109989cb9892bde5cda83ee40cf03dde6081b51, on Ubuntu 14.04
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./.built
c6a95942ee02740d1ee8d54334d36ace594bc1fcd290cbab9ea4b7906dc81c69 ./bin/bash
2e076eadf014ac8d8f683dc9b958aab5cb08f10986863c2a3375883f17da3f0b ./bin/mount
c14f823f05b91487e7a6f890b3491453f13256b03ee7feda5182d8c8c743266b ./bin/umount
af2aa340acc8ed5bc7df17487a8176921d50eec88be9e87d0b1409c2156ca2bb ./boot/System.map
fafb409cc503345b05de3e4119c986df8c5756bc24d9b6f46327e11def4a1888 ./boot/grub/grub.cfg
dde989fbdd89e1a4cb97cd1d8f55a843492a2ef8b13ba869697a88fe627d665b ./boot/vmlinuz
3b24a975dcde688434258566813a83ce256a4c73efd7a8a9c3998327b0b4de68 ./etc/rpc
c4115a6976e2f1d9a99b323332e1877be2ab6d578281f91afa223062a9615f42 ./lib/modules/4.10.8/kernel/drivers/thermal/x86_pkg_temp_thermal.ko
3ee764781385f363306dbfc6d519742564d840a3d3e08dcc49f81b477a55d5f4 ./lib/modules/4.10.8/kernel/fs/efivarfs/efivarfs.ko
@stebulus
stebulus / bash-readelf-diff
Created May 17, 2019 11:08
diff between outputs of `readelf -a x/tree/bin/bash`
This file has been truncated, but you can view the full file.
--- bash.elf.st 2019-05-17 06:52:11.400220390 -0400
+++ bash.elf.mm 2019-05-17 06:51:54.368220188 -0400
@@ -10,7 +10,7 @@
Version: 0x1
Entry point address: 0x4032e0
Start of program headers: 64 (bytes into file)
- Start of section headers: 11234096 (bytes into file)
+ Start of section headers: 11233472 (bytes into file)
Flags: 0x0
Size of this header: 64 (bytes)
@stebulus
stebulus / getent.elf
Created May 15, 2019 23:19
readelf -a x/tree/usr/bin/getent, egg-linux commit 8dc1b304da0450c1a6cbf59e868cc2420b7bd7b0, built on Ubuntu 14.04.5
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
@stebulus
stebulus / crtbegin
Created April 16, 2019 10:48
bzgrep crtbegin build.log.bz2
[FILE ] gcc-6.3.0/libgcc/config/i386/cygming-crtbegin.c
[FILE ] gcc-6.3.0/libgcc/config/ia64/crtbegin.S
[ALL ] /tmp/xxxxxx/build/x86_64-egg-linux-gnu/build/build-cc-gcc-core-pass-2/./gcc/xgcc -B/tmp/xxxxxx/build/x86_64-egg-linux-gnu/build/build-cc-gcc-core-pass-2/./gcc/ -B/tmp/xxxxxx/build/x86_64-egg-linux-gnu/buildtools/x86_64-egg-linux-gnu/bin/ -B/tmp/xxxxxx/build/x86_64-egg-linux-gnu/buildtools/x86_64-egg-linux-gnu/lib/ -isystem /tmp/xxxxxx/build/x86_64-egg-linux-gnu/buildtools/x86_64-egg-linux-gnu/include -isystem /tmp/xxxxxx/build/x86_64-egg-linux-gnu/buildtools/x86_64-egg-linux-gnu/sys-include -g -Os -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../.././gcc -I/tmp/xxxxxx/build/src/gcc-6.3.0/libgcc -I/tmp/xxxxxx/build/src/gcc-6.3.0/libgcc/. -I/tmp/xxxxxx/build/src/gcc-6.3.0/libgcc/../gcc -I/tmp/xxxxxx/build/src/gcc-6.3.0/libgcc/../include -I/tmp/xxxx
@stebulus
stebulus / installing
Created April 15, 2019 11:49
snippets from build.log
[DEBUG] ==> Executing: 'cp' '-v' 'bits/stdio_lim.h' '/home/steven/egg/x/cross-toolchain/x86_64-egg-linux-gnu/sysroot/usr/include/bits/stdio_lim.h'
[ALL ] 'bits/stdio_lim.h' -> '/home/steven/egg/x/cross-toolchain/x86_64-egg-linux-gnu/sysroot/usr/include/bits/stdio_lim.h'
[ALL ] Not over-writing existing bits/syscall.h
[EXTRA] Installing C library start files
[DEBUG] ==> Executing: 'mkdir' '-p' '/home/steven/egg/x/cross-toolchain/x86_64-egg-linux-gnu/sysroot/usr/lib'
[DEBUG] ==> Executing: 'make' '-j4' '-l' 'BUILD_CFLAGS=-O2 -g -I/home/steven/egg/tmp/cross-toolchain.QwiOO018/build/x86_64-egg-linux-gnu/buildtools/include ' 'BUILD_CPPFLAGS=' 'BUILD_LDFLAGS=-L/home/steven/egg/tmp/cross-toolchain.QwiOO018/build/x86_64-egg-linux-gnu/buildtools/lib ' 'csu/subdir_lib'
[ALL ] make[2]: Entering directory `/home/steven/egg/tmp/cross-toolchain.QwiOO018/build/x86_64-egg-linux-gnu/build/build-libc-startfiles/multilib'
@stebulus
stebulus / getend.elf
Created April 14, 2019 20:06
readelf -a x/tree/usr/bin/getent
ELF Header:
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
Class: ELF64
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: Advanced Micro Devices X86-64
Version: 0x1
@stebulus
stebulus / getent.od
Created April 14, 2019 20:04
steven's egg from 7c63e6, od -c getent
0000000 177 E L F 002 001 001 \0 \0 \0 \0 \0 \0 \0 \0 \0
0000020 002 \0 > \0 001 \0 \0 \0 p % @ \0 \0 \0 \0 \0
0000040 @ \0 \0 \0 \0 \0 \0 \0 h \ 001 \0 \0 \0 \0 \0
0000060 \0 \0 \0 \0 @ \0 8 \0 \t \0 @ \0 & \0 % \0
0000100 006 \0 \0 \0 005 \0 \0 \0 @ \0 \0 \0 \0 \0 \0 \0
0000120 @ \0 @ \0 \0 \0 \0 \0 @ \0 @ \0 \0 \0 \0 \0
0000140 370 001 \0 \0 \0 \0 \0 \0 370 001 \0 \0 \0 \0 \0 \0
0000160 \b \0 \0 \0 \0 \0 \0 \0 003 \0 \0 \0 004 \0 \0 \0
0000200 8 002 \0 \0 \0 \0 \0 \0 8 002 @ \0 \0 \0 \0 \0
0000220 8 002 @ \0 \0 \0 \0 \0 034 \0 \0 \0 \0 \0 \0 \0
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ./.built
d6572bc52bd17e573ae0cba57540104d1a936dbcc5891ba6b1e2e2010f6baad4 ./bin/bash
c64b9beefe4b0c4c0933ca3d96e03eae41c48d28c14bb367330a603917d3905c ./bin/mount
0f70e9ab8bfe4b264ef9f2240f6d7bc688c64c084362954608cebb305f497be0 ./bin/umount
af2aa340acc8ed5bc7df17487a8176921d50eec88be9e87d0b1409c2156ca2bb ./boot/System.map
fafb409cc503345b05de3e4119c986df8c5756bc24d9b6f46327e11def4a1888 ./boot/grub/grub.cfg
dde989fbdd89e1a4cb97cd1d8f55a843492a2ef8b13ba869697a88fe627d665b ./boot/vmlinuz
3b24a975dcde688434258566813a83ce256a4c73efd7a8a9c3998327b0b4de68 ./etc/rpc
c4115a6976e2f1d9a99b323332e1877be2ab6d578281f91afa223062a9615f42 ./lib/modules/4.10.8/kernel/drivers/thermal/x86_pkg_temp_thermal.ko
3ee764781385f363306dbfc6d519742564d840a3d3e08dcc49f81b477a55d5f4 ./lib/modules/4.10.8/kernel/fs/efivarfs/efivarfs.ko