Skip to content

packaging/aix: link SQLite with -lm for SQLITE_ENABLE_MATH_FUNCTIONS#51177

Open
pgimalac wants to merge 1 commit into
mainfrom
pgimalac/aix-sqlite-lm
Open

packaging/aix: link SQLite with -lm for SQLITE_ENABLE_MATH_FUNCTIONS#51177
pgimalac wants to merge 1 commit into
mainfrom
pgimalac/aix-sqlite-lm

Conversation

@pgimalac
Copy link
Copy Markdown
Member

What does this PR do?

Adds -lm to the SQLite amalgamation build command in stage 01.

Motivation

SQLite is compiled with -DSQLITE_ENABLE_MATH_FUNCTIONS which activates math functions (sin, cos, log, etc.) that require libm. Without -lm, the linker fails with undefined symbol errors when building from scratch (without a warm lib cache).

Describe how you validated your changes

Validated locally with a full from-scratch build (empty lib cache).

Additional Notes

N/A

@pgimalac pgimalac added changelog/no-changelog No changelog entry needed qa/done QA done before merge and regressions are covered by tests labels May 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

@codex review

@dd-octo-sts dd-octo-sts Bot added the internal Identify a non-fork PR label May 21, 2026
@github-actions github-actions Bot added the short review PR is simple enough to be reviewed quickly label May 21, 2026
@pgimalac pgimalac marked this pull request as ready for review May 21, 2026 17:08
@pgimalac pgimalac requested review from a team as code owners May 21, 2026 17:08
@pgimalac pgimalac requested a review from jeremy-hanna May 21, 2026 17:08
@datadog-prod-us1-3
Copy link
Copy Markdown
Contributor

datadog-prod-us1-3 Bot commented May 21, 2026

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 2 Pipeline jobs failed

DataDog/datadog-agent | files_inventory_check   View in Datadog   GitLab

🔧 Fix in code (Fix with Cursor). Key 'datadog-agent/static_quality_gates/GATE_REPORTS/61691af9d6c1a02449e9bd2333005ec9d9455949/agent_deb_amd64_size_report_61691af9.yml' does not exist.

DataDog/datadog-agent | unit_tests_notify   View in Datadog   GitLab

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. Command 'ls junit-tests_*.tgz' failed with exit code 2: No such file or directory.

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: c2b1430 | Docs | Datadog PR Page | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/no-changelog No changelog entry needed internal Identify a non-fork PR qa/done QA done before merge and regressions are covered by tests short review PR is simple enough to be reviewed quickly team/agent-build team/agent-runtimes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants