FS#62565 - [qtcreator] LD_PRELOAD of analyzer plugins breaks ASAN

Attached to Project: Arch Linux
Opened by Søren Holm (sgh) - Tuesday, 07 May 2019, 15:24 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 07 May 2019, 18:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Loading the analyzer plugins breaks projects compiled with fx. "-fsanitize=address"
The LD_PRELOAD is inherited in the build environment and makes any program quit with this message when run from within the IDE.

==12874==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.

Now, I don't knwo why exactly the plugings should be preloaded, but for sure it is a back idea to do for all projects.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 07 May 2019, 18:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  qtcreator 4.9.0-3

Loading...