This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] tests: Add an explicit -fasynchronous-unwind-tables for deleted-lib.so.


On Sun, Dec 14, 2014 at 04:44:17AM +0100, Jan Kratochvil wrote:
> On Fri, 12 Dec 2014 21:55:31 +0100, Mark Wielaard wrote:
> > Some systems don't add a PT_GNU_EH_FRAME segment by default, but the
> > deleted test depends on it so that it can get at the .eh_frame_hdr table
> > through the phdrs from the remote memory ELF image. Request one explicitly
> > with -fasynchronous-unwind-tables.
> 
> I remember -fasynchronous-unwind-tables was not the default.  But now even
> RHEL-5 gcc behaves for me as if -fasynchronous-unwind-tables was the default.

Some RHEL versions/arches seem to only add -fasynchronous-unwind-tables
when building with rpmbuild, but don't have it as default for gcc proper.
That means all system binaries have it, but hand compiled code might not.
 
> Anyway I agree the option should be there and I forgot about it.

Thanks, pushed to master.

Cheers,

Mark

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]