{"push_id":2723291295,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b75d311fbb53cb2f9c857349a6cd1877b411ff60","before":"a503e1ef71bfe98526469205fc2956cc65954019","commits":[{"sha":"b75d311fbb53cb2f9c857349a6cd1877b411ff60","author":{"name":"Francis Deslauriers","email":"1c02a2de9c533110016e611456b0fe723e8fa4e7@efficios.com"},"message":"Fix: Tests: use -no-pie linker option only when available\n\nIssue\n=====\nTo keep the userspace callstack tests simple, we want to prevent the\ntestapp to be linked as a Position Independent Execution (PIE) binary as\nit is simpler to resolve the addresses of functions. Some distributions\nnow ship GCC built with the --enable-default-pie option which turns on\nPIE by default. To prevent that, we use the -no-pie linker flag when\nbuilding the gen-syscall-events-callstack testapp. The issue is that\nthis flag is not available on older version of GCC thus triggering an\nerror when building the project.\n\n    gcc: error: unrecognized command line option ‘-no-pie’\n\nSolution\n========\nTest for the availability of the -no-pie option at the configure time\nand enable it only when found. If the option is unavailable we assume\nthat the -pie option is not enabled by default thus removing the need to\nprevent its usage with -no-pie in the first place.\n\nKnown drawbacks\n===============\nNone\n\nSigned-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/lttng/lttng-tools/commits/b75d311fbb53cb2f9c857349a6cd1877b411ff60"}]}
{"actor":{"display_login":"jgalar"}}