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: libmudflap and emutls question


On Wed, Jan 07, 2009 at 11:38:55AM +0100, Paolo Bonzini wrote:
> 
> > Which version of gcc did you use? gcc 4.1 (maybe and 4.2) will report
> > error. But gcc 4.3 compiles OK. I tested using x86_64 native gcc from
> > Debian unstable.  __emutls_get_address is defined in libgcc even the
> > target has real TLS.
> 
> Uff... not my day.  I used 4.2 (emutls was posted in 4.2 time but
> committed in 4.3 only).  But I didn't think of the simplest solution:
> use greps together with strings(1): "strings ./conftest | grep
> __emutls_get_address".

I'd say much better would be just to grep assembly.
See e.g. libffi/configure.ac's libffi_cv_hidden_visibility_attribute test.

	Jakub


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