Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#74783 - [gcc] asan library issue: "does not come first in initial library list"
Attached to Project:
Arch Linux
Opened by Neven Sajko (Neven) - Wednesday, 18 May 2022, 05:16 GMT
Last edited by freswa (frederik) - Wednesday, 18 May 2022, 09:58 GMT
Opened by Neven Sajko (Neven) - Wednesday, 18 May 2022, 05:16 GMT
Last edited by freswa (frederik) - Wednesday, 18 May 2022, 09:58 GMT
|
Detailsgcc 12.1.0-2
Steps to reproduce: $ printf 'auto main() -> int {}' > c.cc $ g++ -fsanitize=address c.cc $ ./a.out ==563==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. $ |
This task depends upon
Closed by freswa (frederik)
Wednesday, 18 May 2022, 09:58 GMT
Reason for closing: Works for me
Additional comments about closing: If you find a different way to repro, feel free to fill a re-open request.
Wednesday, 18 May 2022, 09:58 GMT
Reason for closing: Works for me
Additional comments about closing: If you find a different way to repro, feel free to fill a re-open request.

Clang works fine with asan.

I cannot reproduce your issue. Do you have something weird in your LD_LIBRARY_PATH or something?

Same here, can't repro with the cmds above.