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: Ping Re: Improve TLS link test for cross-compiling


On Thu, Jul 16, 2009 at 4:19 PM, Joseph S. Myers<joseph@codesourcery.com> wrote:
> On Tue, 14 Jul 2009, Paolo Bonzini wrote:
>
>> On 07/14/2009 05:41 PM, Joseph S. Myers wrote:
>> > Ping. ?This patch
>> > <http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00139.html> ?is pending
>> > review.
>>
>> Are there any targets that support TLS but use anything but -shared to link a
>> shared library, or that do not have -Wl,--no-undefined? ?I'm thinking of
>> Solaris with Sun as and ld especially.
>>
>> Okay if you conditionalize setting the LDFLAGS on $host being *-*-linux*
>> (don't know about uclinux?) and require AC_CANONICAL_HOST at the top of the
>> file.
>
> I have applied this patch with that condition added.
>
> config:
> 2009-07-16 ?Joseph Myers ?<joseph@codesourcery.com>
>
> ? ? ? ?* tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
> ? ? ? ?cross-compiling.
>
> libgomp:
> 2009-07-16 ?Joseph Myers ?<joseph@codesourcery.com>
>
> ? ? ? ?* configure: Regenerate.
>
> libjava:
> 2009-07-16 ?Joseph Myers ?<joseph@codesourcery.com>
>
> ? ? ? ?* configure: Regenerate.
>
> libmudflap:
> 2009-07-16 ?Joseph Myers ?<joseph@codesourcery.com>
>
> ? ? ? ?* configure: Regenerate.
>
> libstdc++-v3:
> 2009-07-16 ?Joseph Myers ?<joseph@codesourcery.com>
>
> ? ? ? ?* configure: Regenerate.
>

I got

[hjl@gnu-6 libstdc++-v3]$ autoconf-2.59
configure.ac:178: warning: GCC_NO_EXECUTABLES invoked multiple times
/export/redhat/rpms/BUILD/autoconf-2.59/tests/../lib/autoconf/general.m4:2213:
AC_LINK_IFELSE is expanded from...
/export/redhat/rpms/BUILD/autoconf-2.59/tests/../lib/autoconf/general.m4:2271:
AC_RUN_IFELSE is expanded from...
/export/redhat/rpms/BUILD/autoconf-2.59/tests/../lib/autoconf/general.m4:1792:
AC_CACHE_VAL is expanded from...
/export/redhat/rpms/BUILD/autoconf-2.59/tests/../lib/autoconf/general.m4:1805:
AC_CACHE_CHECK is expanded from...
../config/tls.m4:2: GCC_CHECK_TLS is expanded from...
configure.ac:178: the top level
configure.ac:247: warning: GCC_NO_EXECUTABLES invoked multiple times
crossconfig.m4:5: GLIBCXX_CROSSCONFIG is expanded from...
configure.ac:247: the top level
[hjl@gnu-6 libstdc++-v3]$

in libstdc++-v3. Did you see it?

Thanks.


-- 
H.J.


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