This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [gomp] Avoid -Wl,-z,nodlopen (PR libgomp/28482)


On Wed, May 02, 2007 at 12:19:41PM -0400, Jakub Jelinek wrote:
> I wonder if we additionally shouldn't change DATA_ALIGMENT on i386 (well,
> we'd need a new macro so that the actual decl rather than type is passed)
> to also take DECL_THREAD_LOCAL_P into account, TLS space is precious
> and wasting bytes this way there is weird.

I agree, and that would prevent having to hack the alignment of
the variable in the library.

> 	* configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux.

I'm not fond of this, despite the python example recently posted
to the list.  I think it's a good measure to help keep users from
shooting themselves in the foot.

I don't know how I'd want to solve this problem though -- linking
libgomp into the main python executable seems particularly heavyweight.
I guess I'll accept this, if others think it's a good idea. 


r~


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