Transitioning libgomp from C to C++ implementation
Arsen Arsenović
aarsenovic@baylibre.com
Fri May 8 17:38:27 GMT 2026
"Richard Earnshaw (foss)" <Richard.Earnshaw@arm.com> writes:
> On 08/05/2026 13:23, Alex (Waffl3x) wrote:
>> On Fri, May 8, 2026 at 3:51 AM Martin Uecker <muecker@gwdg.de> wrote:
>>>
>>> A C library you can usually be used everywhere without much trouble,
>>> including various kernel, embedded, and free-standing contexts. So
>>> this usually provides more value to users. This may be irrelevant for
>>> libgomp though.
>>>
>>> Martin
>>
>> C++ supports specifying language linkage with extern "C", the interface
>> of a library does not need to match its implementation. Which is also
>> what is being proposed here to avoid breaking ABI.
>>
>> Alex
>
> That may not be enough if you end up depending on libstdc++ during linking.
As mentioned initially, there's no intention to depend on libstdc++.
IMO this is a bit dubious but it's not important enough to bikeshed
over.
--
Arsen Arsenović
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 300 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20260508/189c3270/attachment-0001.sig>
More information about the Gcc
mailing list