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
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- 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.
- foundin changed to: "trunk"
- is_private changed to: "0"
- login: "chrstphrchvz"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "chrstphrchvz"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
-fsanitize=address not passed during linking of embtest
- type changed to: "Bug"