On Sat, 22 May 2010 14:03:57 +0200, Jonas Maebe <jonas.ma...@elis.ugent.be> wrote: > On 22 May 2010, at 14:00, Matthias Klumpp wrote: > >>> That suggests that one of the object files used to link this library is >>> missing a ".note.GNU-stack" section for some reason. >> How can I detect which one it is? (How can I list the sections of an >> object >> file?) > > readelf -S > > If you compile the library with the -Cn parameter, the linking step will be > skipped and the compiler will generate a file called link.res that (a.o.) > contains all object files that will be linked into the library.
I checked the files, all .o files had the section. But there was also an .or file of the new FPC resource system in INPUT() this file had no .note.GNU-stack section. Is that relevant? Matthias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal