libmudflap and emutls question

Jie Zhang jie.zhang@analog.com
Thu Jan 8 15:26:00 GMT 2009


Jakub Jelinek wrote:
> 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.
> 
This is what I was looking for. Thanks! The updated patch is attached. 
Is it OK now?


Jie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-emutls-libmudflap-2.diff
Type: text/x-patch
Size: 3567 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20090108/6c52db57/attachment.bin>


More information about the Gcc mailing list