Artifacts Associated With Ticket ac874937c5b60d37
Ticket change [d80ca48d40] (rid 200220) by chrstphrchvz on 2022-04-16 18:38:30:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized 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 initialized to: "trunk"
- is_private initialized to: "0"
- login: "chrstphrchvz"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "chrstphrchvz"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to:
-fsanitize=address not passed during linking of embtest
- type initialized to: "Bug"
Ticket change [df698654d1] (rid 216049) by chrstphrchvz on 2023-06-29 23:33:13:
- icomment: "This is fixed as part of [f7688d05ca3d]."
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
Ticket change [2b041b0f8e] (rid 216050) by chrstphrchvz on 2023-06-29 23:33:23:
- closedate changed to: "2460125.48152443"
- closer changed to: "chrstphrchvz"
- login: "chrstphrchvz"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [2c8bb2dfc3] (rid 216053) by jan.nijtmans on 2023-06-30 07:42:04:
- assignee changed to: "jan.nijtmans"
- closer changed to: "nobody"
- icomment:
I'm sorry, but this 'fix' is wrong: "embtest" is supposed to be an executable, not a shared library.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "None"
- status changed to: "Open"
Ticket change [e5b101f0a1] (rid 216056) by jan.nijtmans on 2023-06-30 07:56:59:
- icomment: "Does [7a8b57a808676da4|this] work?"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [6c48bac98f] (rid 216105) by chrstphrchvz on 2023-07-01 15:07:07:
- icomment:
[7a8b57a808] works. Although so does the <tt>CC_SWITCHES</tt> workaround as done in [cd8512b73b] and which I had been using for a while.
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [e8a2faca2e] (rid 216170) by jan.nijtmans on 2023-07-03 08:10:09:
- closedate changed to: "2460128.84038513"
- closer changed to: "jan.nijtmans"
- icomment:
Thanks! So, I'll go for the fix in [cd8512b73b], which is already committed to trunk. If it turns out that <tt>LDFLAGS</tt> is needed as well on some platform (I don't expect so) it can always be handled later.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"