This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Invoking atomic functions from a C++ shared lib (or should I force linking with -lgcc?)
On 19.11.2010 13:54, Andrew Haley wrote:
> On 11/19/2010 10:41 AM, Miles Bader wrote:
>> Andrew Haley <aph@redhat.com> writes:
>>> You should be able simply to link with
>>>
>>> -lgcc_s -lgcc
>>
>> If there are builtin functions that intentionally only exist in the
>> non-shared library, shouldn't the gcc driver be doing that
>> automatically...?
>
> Oh yeah. This must be a bug.
>
> We need the simplest possible testcase.
>
Glad to read this: I'm not crazy then :-)
I can file a bugzilla; isn't the testcase I proposed simple enough?
Christophe.