File: README-development

package info (click to toggle)
nvptx-tools 0.20240810-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,524 kB
  • sloc: ansic: 40,573; sh: 3,546; cpp: 3,334; makefile: 1,679; asm: 417; perl: 302; exp: 79; python: 39
file content (37 lines) | stat: -rw-r--r-- 1,061 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Program Instrumentation: Sanitizers
-----------------------------------

    $ ./configure CXXFLAGS='-O0 -ggdb -fsanitize=address -fsanitize=undefined'

This compiles the nvptx-tools proper (but not libiberty) with the specified
sanitizers enabled.

If the 'run' test cases fail due to:

    nvptx-run: cuInit failed: out of memory (CUDA_ERROR_OUT_OF_MEMORY, 2)

..., per <https://github.com/google/sanitizers/issues/629>
"asan: problem calling NVIDIA CUDA libraries" run with
'ASAN_OPTIONS=protect_shadow_gap=false', to override the 'true' default;
<https://github.com/google/sanitizers/wiki/AddressSanitizerFlags#run-time-flags>.


Imported Files
--------------

A number of files are imported from GCC:

  - 'COPYING3'
  - 'config.guess'
  - 'config.sub'
  - 'config/ChangeLog' (partial)
  - 'config/acx.m4' (partial)
  - 'config/ax_cxx_compile_stdcxx.m4'
  - 'config/warnings.m4'
  - 'include/'
  - 'install-sh'
  - 'libiberty/'
  - 'mkinstalldirs'
  - 'move-if-change'

These correspond to GCC commit b8e9fd535d6093e3a24af858364d8517a767b0d7 (2024-04-26).