[Midnightbsd-cvs] [MidnightBSD/src] 617035: usr.bin/sqlite3: link the shell against libm (#381)
Lucas Holt
noreply at github.com
Thu Jun 11 20:41:17 EDT 2026
Branch: refs/heads/stable/4.0
Home: https://github.com/MidnightBSD/src
Commit: 61703550f8af4061c65229501d646c98d136ac94
https://github.com/MidnightBSD/src/commit/61703550f8af4061c65229501d646c98d136ac94
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-06-11 (Thu, 11 Jun 2026)
Changed paths:
M usr.bin/sqlite3/Makefile
Log Message:
-----------
usr.bin/sqlite3: link the shell against libm (#381)
The sqlite3 shell's generate_series extension (seriesCeil/seriesFloor in
contrib/sqlite3/shell.c) references ceil() and floor(); under the PIE
shell link these resolve to libm symbols. The Makefile only linked
libsqlite3, so sqlite3.full failed with:
ld: error: undefined symbol: ceil
ld: error: undefined symbol: floor
>>> referenced by shell.c ... seriesFilter
Add LIBADD+= m. Verified: usr.bin/sqlite3 now builds and links cleanly.
Co-authored-by: Claude Opus 4.8 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list