[committed] exec-stack warning for test which wants executable stacks

Nick Clifton nickc@redhat.com
Mon Apr 25 14:42:43 GMT 2022


Hi Jeff,

>>> I used -z execstack rather than --no-warn-execstack as the former is recognized by older versions of ld, but the latter is a new option.
>> Thanks for it.
> Unfortunately, I should have looked at the other failures that have popped up over the last week.  Essentially all the nested function tests are failing on some targets due 
> to the same linker warning.
> 
> Either pruning or adding  the option to all those tests is going to be necessary ;(

Sorry for causing you so much hassle.  If it helps, Alan has already added
some pruning code to binutils/testsuite/lib/binutils-common.exp in the
prune_extra_warnings proc...

Cheers
   Nick




More information about the Gcc mailing list