# This file created by conda-build 24.5.1
# ------------------------------------------------

package:
  name: libsanitizer
  version: 14.1.0
source:
  - patches:
      - patches/0001-Hardcode-HAVE_ALIGNED_ALLOC-1-in-libstdc-v3-configur.patch
      - patches/0003-allow-commands-in-main-specfile.patch
    sha256: a0be066c02775002a0fa65ad3c65fb56a8bfd923d072a26ed148c0439ecdb68f
    url: https://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.gz
build:
  detect_binary_files_with_prefix: false
  missing_dso_whitelist:
    - '*'
  number: 0
  run_exports:
    - libsanitizer 14.1.0
  string: hcba0ae0_0
requirements:
  host:
    - kernel-headers_linux-64 2.6.32 he073ed8_16
    - sysroot_linux-64 2.12 he073ed8_16
  run:
    - libgcc-ng >=14.1.0
    - libstdcxx-ng >=14.1.0
test:
  commands:
    - test -f ${PREFIX}/lib/libasan.so
    - file ${PREFIX}/bin/x86_64-conda-linux-gnu-gcc
    - echo 'void main(){}' | x86_64-conda-linux-gnu-gcc -fsanitize=address -Wl,--fatal-warnings
      -x c -
  requires:
    - gcc_impl_linux-64
    - sysroot_linux-64
about:
  home: https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html
  license: GPL-3.0-only WITH GCC-exception-3.1
  summary: The GCC runtime libraries for sanitizers
extra:
  copy_test_source_files: true
  feedstock-name: ctng-compilers-feedstock
  final: true
  flow_run_id: azure_20240627.2.1
  recipe-maintainers:
    - beckermr
    - isuruf
    - timsnyder
    - xhochy
  remote_url: https://github.com/conda-forge/ctng-compilers-feedstock
  sha: da577d5d3ddb275747079da756b62624bf7a1d75
