libgomp.a is a PIC-capable GNU OpenMP runtime for Sesum's portable Linux
ARM64 GCC 8 builds.  Debian's stock archive can be embedded in libsr.so but
uses initial-exec TLS, which can make a late ctypes/dlopen import fail with
"cannot allocate memory in static TLS block" after threads already exist.

Source package:
  gcc-8-source_8.3.0-6_all.deb
  SHA256 11839df80acc5e8340341490f38810e6167f1b68f6bb59c664a5f110928bbcfa

Inner source archive:
  gcc-8.3.0-dfsg.tar.xz
  SHA256 f0cae581373cd7da7771a503e22b55d2833490cdb29e064a302cf3212f7f2ac4

Applied Debian patches which affect libgomp runtime/header sources:
  gcc-foffload-default.diff
  SHA256 3a6619a61336577a301e9efda26da194470e2f2936f239d6126fcd2ab396ed95
  libgomp-omp_h-multilib.diff
  SHA256 8292e8a91f16797649b0d92429af4241a88d5d1c0b7e44c57af61427f23a2274

Configure command:
  env CC=gcc-8 CXX=g++-8 \
    CFLAGS="-O2 -fPIC -ftls-model=global-dynamic" \
    CXXFLAGS="-O2 -fPIC -ftls-model=global-dynamic" \
    ../src/libgomp/configure \
      --disable-shared --enable-static --with-pic --disable-multilib

Build command:
  make -j2

Result:
  libgomp.a
  SHA256 3e2525b192b93f5d8873b8e20d39e74094b0fd792165c5c91954059f24ec226d

The final archive uses AArch64 TLSDESC relocations and no initial-exec TLS
relocations.  GNU libgomp is distributed under GPLv3 with the GCC Runtime
Library Exception.
