Skip to content

Instantly share code, notes, and snippets.

@jonathanlking
Created September 15, 2022 17:53
Show Gist options
  • Save jonathanlking/0b8c2a7081e80c558726e995c19bca1a to your computer and use it in GitHub Desktop.
Save jonathanlking/0b8c2a7081e80c558726e995c19bca1a to your computer and use it in GitHub Desktop.
loadArchive: reached end of archive loading while loop
loadArchive: reading at 16473430
loadArchive: EOF while reading from '/nix/store/fhx4qrgggffsyh19q9bbz0phm1qykqbk-openssl-1.1.1h/lib/libcrypto.a'
loadArchive: done
resolveObjs: start
relocations for section 1 using symtab 9
Rel entry 0 is raw( 0x2d 0x1400000004 0xfffffffffffffffc) lookupSymbol: looking up newCAF
lookupSymbol: value of newCAF is 0x38f44ae
`newCAF' resolves to 0x38f44ae
Reloc: P = 0x4112b03d S = 0x38f44ae A = 0xfffffffffffffffc
Rel entry 1 is raw( 0x41 0x110000002a 0xfffffffffffffffc) lookupSymbol: looking up stg_bh_upd_frame_info
lookupSymbol: value of stg_bh_upd_frame_info is 0x3909988
`stg_bh_upd_frame_info' resolves to 0x3909988
Reloc: P = 0x4112b051 S = 0x3909988 A = 0xfffffffffffffffc
Rel entry 2 is raw( 0x9a 0x1200000004 0xfffffffffffffffc) lookupSymbol: looking up suspendThread
lookupSymbol: value of suspendThread is 0x38d41d4
`suspendThread' resolves to 0x38d41d4
Reloc: P = 0x4112b0aa S = 0x38d41d4 A = 0xfffffffffffffffc
Rel entry 3 is raw( 0xac 0xa00000004 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_strlcpy
lookupSymbol: value of OPENSSL_strlcpy is 0x41ebc9a0
lookupSymbol: on-demand loading symbol 'OPENSSL_strlcpy'
relocations for section 1 using symtab 20
Rel entry 0 is raw( 0x44 0x1600000004 0xfffffffffffffffc) lookupSymbol: looking up strlen
lookupSymbol: symbol not found
`strlen' resolves to 0x7f1e24571da0
Reloc: P = 0x41ebc834 S = 0x7f1e24571da0 A = 0xfffffffffffffffc
Rel entry 1 is raw( 0x53 0x1700000004 0xfffffffffffffffc) lookupSymbol: looking up CRYPTO_malloc
lookupSymbol: value of CRYPTO_malloc is 0x40723be0
lookupSymbol: on-demand loading symbol 'CRYPTO_malloc'
relocations for section 1 using symtab 21
Rel entry 0 is raw( 0x3 0x900000002 0xfffffffffffffffc) `(noname)' resolves to 0x41bf6fc8
Reloc: P = 0x40723bb3 S = 0x41bf6fc8 A = 0xfffffffffffffffc
Rel entry 1 is raw( 0xf 0x140000002a 0xfffffffffffffffc) lookupSymbol: looking up CRYPTO_free
lookupSymbol: value of CRYPTO_free is 0x40723bb0
`CRYPTO_free' resolves to 0x40723bb0
Reloc: P = 0x40723bbf S = 0x40723bb0 A = 0xfffffffffffffffc
Rel entry 2 is raw( 0x33 0x900000002 0xc) `(noname)' resolves to 0x41bf6fc8
Reloc: P = 0x40723be3 S = 0x41bf6fc8 A = 0xc
Rel entry 3 is raw( 0x3f 0x170000002a 0xfffffffffffffffc) lookupSymbol: looking up CRYPTO_malloc
lookupSymbol: value of CRYPTO_malloc is 0x40723be0
`CRYPTO_malloc' resolves to 0x40723be0
Reloc: P = 0x40723bef S = 0x40723be0 A = 0xfffffffffffffffc
Rel entry 4 is raw( 0x57 0x300000002 0xfffffffffffffffc) `(noname)' resolves to 0x41bf6fc0
Reloc: P = 0x40723c07 S = 0x41bf6fc0 A = 0xfffffffffffffffc
Rel entry 5 is raw( 0x61 0x300000002 0xfffffffffffffff8) `(noname)' resolves to 0x41bf6fc0
Reloc: P = 0x40723c11 S = 0x41bf6fc0 A = 0xfffffffffffffff8
Rel entry 6 is raw( 0x83 0x900000002 0x4) `(noname)' resolves to 0x41bf6fc8
Reloc: P = 0x40723c33 S = 0x41bf6fc8 A = 0x4
Rel entry 7 is raw( 0x90 0x190000002a 0xfffffffffffffffc) lookupSymbol: looking up CRYPTO_realloc
lookupSymbol: value of CRYPTO_realloc is 0x40723c30
`CRYPTO_realloc' resolves to 0x40723c30
Reloc: P = 0x40723c40 S = 0x40723c30 A = 0xfffffffffffffffc
Rel entry 8 is raw( 0xc2 0x1400000004 0xfffffffffffffffc) lookupSymbol: looking up CRYPTO_free
lookupSymbol: value of CRYPTO_free is 0x40723bb0
`CRYPTO_free' resolves to 0x40723bb0
Reloc: P = 0x40723c72 S = 0x40723bb0 A = 0xfffffffffffffffc
Rel entry 9 is raw( 0xe2 0x300000002 0xfffffffffffffffc) `(noname)' resolves to 0x41bf6fc0
Reloc: P = 0x40723c92 S = 0x41bf6fc0 A = 0xfffffffffffffffc
Rel entry 10 is raw( 0xf2 0x900000002 0xc) `(noname)' resolves to 0x41bf6fc8
Reloc: P = 0x40723ca2 S = 0x41bf6fc8 A = 0xc
Rel entry 11 is raw( 0xfe 0x900000002 0x4) `(noname)' resolves to 0x41bf6fc8
Reloc: P = 0x40723cae S = 0x41bf6fc8 A = 0x4
Rel entry 12 is raw( 0x10f 0x900000002 0xfffffffffffffffc) `(noname)' resolves to 0x41bf6fc8
Reloc: P = 0x40723cbf S = 0x41bf6fc8 A = 0xfffffffffffffffc
Rel entry 13 is raw( 0x122 0x300000002 0xfffffffffffffffc) `(noname)' resolves to 0x41bf6fc0
Reloc: P = 0x40723cd2 S = 0x41bf6fc0 A = 0xfffffffffffffffc
Rel entry 14 is raw( 0x138 0x900000002 0xc) `(noname)' resolves to 0x41bf6fc8
Reloc: P = 0x40723ce8 S = 0x41bf6fc8 A = 0xc
Rel entry 15 is raw( 0x147 0x900000002 0x4) `(noname)' resolves to 0x41bf6fc8
Reloc: P = 0x40723cf7 S = 0x41bf6fc8 A = 0x4
Rel entry 16 is raw( 0x156 0x900000002 0xfffffffffffffffc) `(noname)' resolves to 0x41bf6fc8
Reloc: P = 0x40723d06 S = 0x41bf6fc8 A = 0xfffffffffffffffc
Rel entry 17 is raw( 0x166 0x1700000004 0xfffffffffffffffc) lookupSymbol: looking up CRYPTO_malloc
lookupSymbol: value of CRYPTO_malloc is 0x40723be0
`CRYPTO_malloc' resolves to 0x40723be0
Reloc: P = 0x40723d16 S = 0x40723be0 A = 0xfffffffffffffffc
Rel entry 18 is raw( 0x17b 0x1f00000004 0xfffffffffffffffc) lookupSymbol: looking up memset
lookupSymbol: symbol not found
`memset' resolves to 0x7f1e245ae890
Reloc: P = 0x40723d2b S = 0x7f1e245ae890 A = 0xfffffffffffffffc
Rel entry 19 is raw( 0x1c6 0x2100000004 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_cleanse
lookupSymbol: value of OPENSSL_cleanse is 0x408dfa78
lookupSymbol: on-demand loading symbol 'OPENSSL_cleanse'
relocations for section 4 using symtab 19
Rel entry 0 is raw( 0x1 0xd00000004 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_cpuid_setup
lookupSymbol: value of OPENSSL_cpuid_setup is 0x40efd008
lookupSymbol: on-demand loading symbol 'OPENSSL_cpuid_setup'
relocations for section 1 using symtab 21
Rel entry 0 is raw( 0x2 0x400000002 0xfffffffffffffffc) `(noname)' resolves to 0x5b5d0a0
Reloc: P = 0x40efd00a S = 0x5b5d0a0 A = 0xfffffffffffffffc
Rel entry 1 is raw( 0x15 0x1100000002 0xfffffffffffffffc) `.LC0' resolves to 0x412f3ea0
Reloc: P = 0x40efd01d S = 0x412f3ea0 A = 0xfffffffffffffffc
Rel entry 2 is raw( 0x27 0x400000002 0xfffffffffffffff8) `(noname)' resolves to 0x5b5d0a0
Reloc: P = 0x40efd02f S = 0x5b5d0a0 A = 0xfffffffffffffff8
Rel entry 3 is raw( 0x30 0x1600000004 0xfffffffffffffffc) lookupSymbol: looking up getenv
lookupSymbol: symbol not found
`getenv' resolves to 0x7f1e2457c50a
Reloc: P = 0x40efd038 S = 0x7f1e2457c50a A = 0xfffffffffffffffc
Rel entry 4 is raw( 0x82 0x1700000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_ctype_check
lookupSymbol: value of ossl_ctype_check is 0x41b3bf28
lookupSymbol: on-demand loading symbol 'ossl_ctype_check'
relocations for section 1 using symtab 19
Rel entry 0 is raw( 0xd 0x600000002 0xfffffffffffffffc) `(noname)' resolves to 0x41a2e6b8
Reloc: P = 0x41b3bf35 S = 0x41a2e6b8 A = 0xfffffffffffffffc
Rel entry 1 is raw( 0x2b 0x1000000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_ctype_check
lookupSymbol: value of ossl_ctype_check is 0x41b3bf28
`ossl_ctype_check' resolves to 0x41b3bf28
Reloc: P = 0x41b3bf53 S = 0x41b3bf28 A = 0xfffffffffffffffc
Rel entry 2 is raw( 0x5b 0x1000000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_ctype_check
lookupSymbol: value of ossl_ctype_check is 0x41b3bf28
`ossl_ctype_check' resolves to 0x41b3bf28
Reloc: P = 0x41b3bf83 S = 0x41b3bf28 A = 0xfffffffffffffffc
relocations for section 6 using symtab 19
skipping (target section not loaded)relocations for section 10 using symtab 19
skipping (target section not loaded)relocations for section 12 using symtab 19
skipping (target section not loaded)relocations for section 17 using symtab 19
Rel entry 0 is raw( 0x20 0x200000002 0) `(noname)' resolves to 0x41b3bf28
Reloc: P = 0x41a2e7d8 S = 0x41b3bf28 A = 0
Rel entry 1 is raw( 0x34 0x200000002 0x20) `(noname)' resolves to 0x41b3bf28
Reloc: P = 0x41a2e7ec S = 0x41b3bf28 A = 0x20
Rel entry 2 is raw( 0x50 0x200000002 0x50) `(noname)' resolves to 0x41b3bf28
Reloc: P = 0x41a2e808 S = 0x41b3bf28 A = 0x50
Rel entry 3 is raw( 0x6c 0x200000002 0x80) `(noname)' resolves to 0x41b3bf28
Reloc: P = 0x41a2e824 S = 0x41b3bf28 A = 0x80
`ossl_ctype_check' resolves to 0x41b3bf28
Reloc: P = 0x40efd08a S = 0x41b3bf28 A = 0xfffffffffffffffc
Rel entry 5 is raw( 0x9b 0x1700000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_ctype_check
lookupSymbol: value of ossl_ctype_check is 0x41b3bf28
`ossl_ctype_check' resolves to 0x41b3bf28
Reloc: P = 0x40efd0a3 S = 0x41b3bf28 A = 0xfffffffffffffffc
Rel entry 6 is raw( 0xba 0x180000002a 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_ia32cap_P
lookupSymbol: value of OPENSSL_ia32cap_P is 0x6a02d80
`OPENSSL_ia32cap_P' resolves to 0x6a02d80
Reloc: P = 0x40efd0c2 S = 0x6a02d80 A = 0xfffffffffffffffc
Rel entry 7 is raw( 0x132 0x1700000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_ctype_check
lookupSymbol: value of ossl_ctype_check is 0x41b3bf28
`ossl_ctype_check' resolves to 0x41b3bf28
Reloc: P = 0x40efd13a S = 0x41b3bf28 A = 0xfffffffffffffffc
Rel entry 8 is raw( 0x147 0x1700000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_ctype_check
lookupSymbol: value of ossl_ctype_check is 0x41b3bf28
`ossl_ctype_check' resolves to 0x41b3bf28
Reloc: P = 0x40efd14f S = 0x41b3bf28 A = 0xfffffffffffffffc
Rel entry 9 is raw( 0x18c 0x1900000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_tolower
lookupSymbol: value of ossl_tolower is 0x41b3bf48
`ossl_tolower' resolves to 0x41b3bf48
Reloc: P = 0x40efd194 S = 0x41b3bf48 A = 0xfffffffffffffffc
Rel entry 10 is raw( 0x1b4 0x1900000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_tolower
lookupSymbol: value of ossl_tolower is 0x41b3bf48
`ossl_tolower' resolves to 0x41b3bf48
Reloc: P = 0x40efd1bc S = 0x41b3bf48 A = 0xfffffffffffffffc
Rel entry 11 is raw( 0x1e3 0x180000002a 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_ia32cap_P
lookupSymbol: value of OPENSSL_ia32cap_P is 0x6a02d80
`OPENSSL_ia32cap_P' resolves to 0x6a02d80
Reloc: P = 0x40efd1eb S = 0x6a02d80 A = 0xfffffffffffffffc
Rel entry 12 is raw( 0x1eb 0x1a00000004 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_ia32_cpuid
lookupSymbol: value of OPENSSL_ia32_cpuid is 0x408df888
`OPENSSL_ia32_cpuid' resolves to 0x408df888
Reloc: P = 0x40efd1f3 S = 0x408df888 A = 0xfffffffffffffffc
Rel entry 13 is raw( 0x203 0x180000002a 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_ia32cap_P
lookupSymbol: value of OPENSSL_ia32cap_P is 0x6a02d80
`OPENSSL_ia32cap_P' resolves to 0x6a02d80
Reloc: P = 0x40efd20b S = 0x6a02d80 A = 0xfffffffffffffffc
Rel entry 14 is raw( 0x20b 0x1a00000004 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_ia32_cpuid
lookupSymbol: value of OPENSSL_ia32_cpuid is 0x408df888
`OPENSSL_ia32_cpuid' resolves to 0x408df888
Reloc: P = 0x40efd213 S = 0x408df888 A = 0xfffffffffffffffc
Rel entry 15 is raw( 0x247 0x1900000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_tolower
lookupSymbol: value of ossl_tolower is 0x41b3bf48
`ossl_tolower' resolves to 0x41b3bf48
Reloc: P = 0x40efd24f S = 0x41b3bf48 A = 0xfffffffffffffffc
Rel entry 16 is raw( 0x27c 0x1a00000004 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_ia32_cpuid
lookupSymbol: value of OPENSSL_ia32_cpuid is 0x408df888
`OPENSSL_ia32_cpuid' resolves to 0x408df888
Reloc: P = 0x40efd284 S = 0x408df888 A = 0xfffffffffffffffc
Rel entry 17 is raw( 0x2b7 0x1900000004 0xfffffffffffffffc) lookupSymbol: looking up ossl_tolower
lookupSymbol: value of ossl_tolower is 0x41b3bf48
`ossl_tolower' resolves to 0x41b3bf48
Reloc: P = 0x40efd2bf S = 0x41b3bf48 A = 0xfffffffffffffffc
Rel entry 18 is raw( 0x37e 0x1c0000002a 0xfffffffffffffffc) lookupSymbol: looking up stderr
lookupSymbol: symbol not found
`stderr' resolves to 0x3a59ea0
Reloc: P = 0x40efd386 S = 0x3a59ea0 A = 0xfffffffffffffffc
Rel entry 19 is raw( 0x395 0x1d00000004 0xfffffffffffffffc) lookupSymbol: looking up vfprintf
lookupSymbol: symbol not found
`vfprintf' resolves to 0x7f1e245ab189
Reloc: P = 0x40efd39d S = 0x7f1e245ab189 A = 0xfffffffffffffffc
Rel entry 20 is raw( 0x3b2 0x1e00000004 0xfffffffffffffffc) lookupSymbol: looking up __stack_chk_fail
lookupSymbol: symbol not found
`__stack_chk_fail' resolves to 0x7f1e2457c4d8
Reloc: P = 0x40efd3ba S = 0x7f1e2457c4d8 A = 0xfffffffffffffffc
Rel entry 21 is raw( 0x3da 0x1200000002 0xfffffffffffffffc) `.LC1' resolves to 0x412f3eb0
Reloc: P = 0x40efd3e2 S = 0x412f3eb0 A = 0xfffffffffffffffc
Rel entry 22 is raw( 0x3e1 0x1b00000004 0xfffffffffffffffc) lookupSymbol: looking up OPENSSL_showfatal
lookupSymbol: value of OPENSSL_showfatal is 0x40efd2f8
`OPENSSL_showfatal' resolves to 0x40efd2f8
Reloc: P = 0x40efd3e9 S = 0x40efd2f8 A = 0xfffffffffffffffc
Rel entry 23 is raw( 0x3e6 0x2100000004 0xfffffffffffffffc) lookupSymbol: looking up abort
lookupSymbol: symbol not found
`abort' resolves to 0x7f1e2457c8fb
Reloc: P = 0x40efd3ee S = 0x7f1e2457c8fb A = 0xfffffffffffffffc
relocations for section 7 using symtab 21
skipping (target section not loaded)relocations for section 11 using symtab 21
skipping (target section not loaded)relocations for section 14 using symtab 21
skipping (target section not loaded)relocations for section 19 using symtab 21
Rel entry 0 is raw( 0x20 0x200000002 0) `(noname)' resolves to 0x40efd008
Reloc: P = 0x412f3ef8 S = 0x40efd008 A = 0
Rel entry 1 is raw( 0x6c 0x200000002 0x2f0) `(noname)' resolves to 0x40efd008
Reloc: P = 0x412f3f44 S = 0x40efd008 A = 0x2f0
Rel entry 2 is raw( 0x88 0x200000002 0x3c0) `(noname)' resolves to 0x40efd008
Reloc: P = 0x412f3f60 S = 0x40efd008 A = 0x3c0
Rel entry 3 is raw( 0x9c 0x200000002 0x3d0) `(noname)' resolves to 0x40efd008
Reloc: P = 0x412f3f74 S = 0x40efd008 A = 0x3d0
`OPENSSL_cpuid_setup' resolves to 0x40efd008
Reloc: P = 0x40671b91 S = 0x40efd008 A = 0xfffffffffffffffc
relocations for section 7 using symtab 19
skipping (target section not loaded)relocations for section 9 using symtab 19
skipping (target section not loaded)relocations for section 12 using symtab 19
skipping (target section not loaded)relocations for section 15 using symtab 19
skipping (target section not loaded)relocations for section 17 using symtab 19
Rel entry 0 is raw( 0x20 0x100000002 0) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671bb8 S = 0x408df858 A = 0
Rel entry 1 is raw( 0x34 0x100000002 0x20) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671bcc S = 0x408df858 A = 0x20
Rel entry 2 is raw( 0x48 0x100000002 0x30) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671be0 S = 0x408df858 A = 0x30
Rel entry 3 is raw( 0x64 0x100000002 0x220) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671bfc S = 0x408df858 A = 0x220
Rel entry 4 is raw( 0x78 0x100000002 0x280) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671c10 S = 0x408df858 A = 0x280
Rel entry 5 is raw( 0x8c 0x100000002 0x2d0) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671c24 S = 0x408df858 A = 0x2d0
Rel entry 6 is raw( 0xa0 0x100000002 0x340) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671c38 S = 0x408df858 A = 0x340
Rel entry 7 is raw( 0xb4 0x100000002 0x390) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671c4c S = 0x408df858 A = 0x390
Rel entry 8 is raw( 0xc8 0x100000002 0x400) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671c60 S = 0x408df858 A = 0x400
Rel entry 9 is raw( 0xdc 0x100000002 0x460) `(noname)' resolves to 0x408df858
Reloc: P = 0x40671c74 S = 0x408df858 A = 0x460
/home/jonathan/github/minirepo/archive/run-ghc.sh: line 56: 3900026 Segmentation fault /nix/store/amq8bb8d5lfvwbibfhzaplwc5k7krg4d-ghc-8.8.4/bin/ghc '-pgma' 'bazel-out/host/bin/external/rules_haskell/haskell/cc_wrapper-python' '-pgmc' 'bazel-out/host/bin/external/rules_haskell/haskell/cc_wrapper-python' '-pgml' 'bazel-out/host/bin/external/rules_haskell/haskell/cc_wrapper-python' '-pgmP' 'bazel-out/host/bin/external/rules_haskell/haskell/cc_wrapper-python -E -undef -traditional' '-optc-fno-stack-protector' '-static' '-v0' '-no-link' '-fPIC' '-hide-all-packages' '-Wmissing-home-modules' '-fexternal-dynamic-refs' '-odir' 'bazel-out/k8-fastbuild/bin/minimal-segfault/_obj/lib' '-hidir' 'bazel-out/k8-fastbuild/bin/minimal-segfault/minimal-segfaultZSlib/_iface' '-optc-U_FORTIFY_SOURCE' '-optc-fstack-protector' '-optc-Wall' '-optc-Wunused-but-set-parameter' '-optc-Wno-free-nonheap-object' '-optc-fno-omit-frame-pointer' '-optc-fno-canonical-system-headers' '-optc-Wno-builtin-macro-redefined' '-optc-D__DATE__="redacted"' '-optc-D__TIMESTAMP__="redacted"' '-optc-D__TIME__="redacted"' '-opta-U_FORTIFY_SOURCE' '-opta-fstack-protector' '-opta-Wall' '-opta-Wunused-but-set-parameter' '-opta-Wno-free-nonheap-object' '-opta-fno-omit-frame-pointer' '-opta-fno-canonical-system-headers' '-opta-Wno-builtin-macro-redefined' '-opta-D__DATE__="redacted"' '-opta-D__TIMESTAMP__="redacted"' '-opta-D__TIME__="redacted"' '-Wall' '-hide-all-packages' '-fno-version-macros' '-package-env' 'bazel-out/k8-fastbuild/bin/minimal-segfault/compile-package_env-lib' '-hide-all-plugin-packages' '-optP@bazel-out/k8-fastbuild/bin/minimal-segfault/optp_args_lib' '-this-unit-id' 'minimal-segfaultZSlib' '-optP-DCURRENT_PACKAGE_KEY="minimal-segfaultZSlib"' 'minimal-segfault/lib/Lib.hs'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment