37.10.5 - outdated compiler for FreeBSD

From: Digital Dog <digitaldog4(at)gmail(dot)com>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: 37.10.5 - outdated compiler for FreeBSD
Date: 2023-12-30 11:20:07
Message-ID: CAJR80-xzR49jEkAC98Yo-wuSdFDV2=2H4j9Z2AukSVU=-UpynA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hello list,

The "37.10.5. Compiling and Linking Dynamically-Loaded Functions" (
https://www.postgresql.org/docs/devel/xfunc-c.html#DFUNC) mentions outdated
compiler for FreeBSD (gcc). As of FreeBSD 13.0 and going forward, all
supported architectures abandoned gcc and use LLVM/clang. The FreeBSD 13.0
is already EOL, therefore all supported FreeBSD releases for all
architectures have clang as the default compiler. It is still allowed to
use gcc but it's not installed by default.

You can confirm that in the release notes for FreeBSD 13.0 (
https://www.freebsd.org/releases/13.0R/relnotes/#userland-programs) and in
other places in the FreeBSD documentation and/or release information:

"Removed the obsolete binutils 2.17 and gcc(1) 4.2.1 from the tree. All
supported architectures now use the LLVM/clang toolchain. 0ad202f312f6,
a04ec978b369, 57f804675e65, 90b9aa475e9e (Sponsored by The FreeBSD
Foundation)"

Therefore please update compilation instructions for FreeBSD for future
PostgreSQL versions by replacing "gcc" with "cc" and changing version
information from FreeBSD 3.0 to 13.0.

Thank you.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2023-12-31 03:10:37 Postgres compilation instructions do not work on modern debian or ubuntu
Previous Message Dull Bananas 2023-12-30 00:25:30 Transition relation clarification