Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d80ca48d40edabc30a77be9c0c9b293eec0d06b4704aa4d0d4ebf71fe3f1ce68
Ticket: ac874937c5b60d375d7468fac98420aae6c304d6
-fsanitize=address not passed during linking of embtest
User & Date: chrstphrchvz on 2022-04-16 18:38:30
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    If unix/configure is run with <tt>CFLAGS</tt> containing <tt>-fsanitize=address</tt>, then this flag also becomes necessary during separate linking steps (in order to link in the AddressSanitizer runtime). The <tt>embtest</tt> target in unix/dltest/Makefile.in does not accommodate this (even if <tt>LDFLAGS</tt> contains <tt>-fsanitize=address</tt> as it seemingly should).
    
    Since <tt>$(CC)</tt> is used as the linker for this target, I suspect <tt>CFLAGS</tt>/<tt>LDFLAGS</tt> should also be passed to it, but maybe there is a better way.
    
  5. foundin changed to: "trunk"
  6. is_private changed to: "0"
  7. login: "chrstphrchvz"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "chrstphrchvz"
  13. subsystem changed to: "53. Configuration and Build Tools"
  14. title changed to:
    -fsanitize=address not passed during linking of embtest
    
  15. type changed to: "Bug"