[openssl/openssl] d4357d: mkwraps: resolve system (libc) functions via compi...

"'Jakub Zelenka' via openssl-commits" <[email protected]> Mon, 20 Jul 2026 00:12:38 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: d4357db45c936389da75fba3a95ed98e711865bd
      https://github.com/openssl/openssl/commit/d4357db45c936389da75fba3a95ed98e711865bd
  Author: Jakub Zelenka <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M test/unit/README.md
    M util/mkwraps.pl

  Log Message:
  -----------
  mkwraps: resolve system (libc) functions via compiler include paths

WRAP[] lists mix OpenSSL functions with libc/POSIX ones such as read()
or socket(), which mkwraps.pl reported as "declaration not found" since
it only searched the project's INCLUDE[] directories.

Fall back to the C compiler's default include search paths for functions
missing from the project headers.  They are queried lazily, only on such
a miss, so the all-OpenSSL case still does not walk /usr/include.  Parse
the glibc trailing attribute macros (__THROW, __wur, ...) and restrict
qualifier, and add --cc and --no-system.

Assisted-by: Claude:claude-opus-4-8

Reviewed-by: Tomas Mraz <[email protected]>
Reviewed-by: Nikola Pajkovsky <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
MergeDate: Mon Jul 20 07:00:57 2026
(Merged from https://github.com/openssl/openssl/pull/31936)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications

-- 
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/4bf858-d4357d%40github.com.