On Wednesday 13 February 2008 00:56, walt wrote: > This is a link-time error, and I have no clue how to detect it at > configure time. Please show me how you would do it.
I think the following would be sufficient: 1. Find small code which produces a reference to __enable_execute_stack even with -fno-stack-protector. Probably using a nested function should be enough. 2. Compile it to an object file, and run "nm -u object_file | grep __enable_execute_stack". 3. Write a test in aclocal.m4 using the above, and call it from configure.ac. You can see many examples in aclocal.m4. If you have no clue on writing an autoconf test, I can write it for you, if you show me such code. Okuji _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel