bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AC_LANG_FUNC_LINK_TRY(C): stub detection fails with ICC 10.1


From: Eric Blake
Subject: Re: AC_LANG_FUNC_LINK_TRY(C): stub detection fails with ICC 10.1
Date: Wed, 24 Dec 2008 06:53:21 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Aaron Ucko on 12/22/2008 9:45 AM:
> I have observed that AC_FUNC_LINK_TRY(C), which serves as the guts of
> AC_CHECK_FUNCS, can inappropriately return "yes" for functions which are
> merely stubs when building with version 10.1 of Intel's C/C++ compiler
> (ICC) on x86_64-linux-gnu systems (and perhaps also other versions).

Thanks for the report.  However, we could use some more information, to
help us better figure out how to resolve this issue.

Can you please post a simple testcase that is linking successfully with
your compiler, but where you want the failure to occur because the link is
only against a stub?  Seeing the actual command line and compiler output
is a big plus here.  How does adding the header <gnu/stubs.h> change
things to a link failure?  Again, seeing an actual program, and actual
compiler behavior, goes a lot further than a vague description.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklSPtEACgkQ84KuGfSFAYCRcwCbB/3PYYDttxUokqbeYX0+9ncP
RqYAoKAEB92HdBMweugYRd9dvix/IbqO
=YHvq
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]