Page MenuHomeFreeBSD

libgcc_s: only export 128-bit int APIs when available
ClosedPublic

Authored by brooks on Mar 12 2024, 9:11 PM.
Tags
None
Referenced Files
F118386023: D44323.diff
Wed, May 28, 6:42 PM
Unknown Object (File)
Sun, May 18, 5:17 PM
Unknown Object (File)
Wed, May 14, 10:00 AM
Unknown Object (File)
Tue, May 6, 5:30 AM
Unknown Object (File)
Apr 4 2025, 11:04 PM
Unknown Object (File)
Mar 17 2025, 4:54 PM
Unknown Object (File)
Mar 11 2025, 5:59 AM
Unknown Object (File)
Feb 1 2025, 11:22 PM
Subscribers

Details

Summary

These interfaces are only compiled when the platform supports 128-bit
ints. Use a CRT_HAS_128BIT guard similar to the one used in the
compiler_rt sources.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Hm, are these files automagically pulled through a preprocessor? I wasn't aware of that... but yeah, then it is probably a good idea.

This revision is now accepted and ready to land.Mar 12 2024, 9:26 PM
In D44323#1011003, @dim wrote:

Hm, are these files automagically pulled through a preprocessor? I wasn't aware of that... but yeah, then it is probably a good idea.

Somewhat confusingly we have two mechanisms. We have SYMBOL_MAPS where they are preprocessed and then combined with Versions.def to create a version map which a few libraries like libcxxrt use directly. The latter format uses # comments so can't be preprocessed.