fix: add -lssl -lcrypto to all CI gcc linker commands #6

Merged
will.anderson merged 5 commits from fix/ci-openssl-linker into dev 2026-05-06 22:53:41 +00:00
Owner

el_runtime.c now uses OpenSSL EVP AEAD encryption (RAND_bytes, EVP_CIPHER_CTX_new, EVP_aes_256_gcm). All gcc commands in ci-dev.yaml, ci-stage.yaml, and sdk-release.yaml were missing -lssl -lcrypto, causing undefined reference linker errors.

Adds the flags to:

  • gen2 bootstrap build
  • gen3 self-hosted build
  • elb, epm, el-install builds (sdk-release only)
  • all 9 native test suite compilations

Fixes CI run 1303 failure on the El dev branch.

el_runtime.c now uses OpenSSL EVP AEAD encryption (RAND_bytes, EVP_CIPHER_CTX_new, EVP_aes_256_gcm). All gcc commands in ci-dev.yaml, ci-stage.yaml, and sdk-release.yaml were missing -lssl -lcrypto, causing undefined reference linker errors. Adds the flags to: - gen2 bootstrap build - gen3 self-hosted build - elb, epm, el-install builds (sdk-release only) - all 9 native test suite compilations Fixes CI run 1303 failure on the El dev branch.
will.anderson added 1 commit 2026-05-06 22:37:00 +00:00
fix: add -lssl -lcrypto to all CI gcc linker commands
El SDK CI - dev / build-and-test (pull_request) Failing after 28s
af66cebfd3
el_runtime.c now uses OpenSSL EVP AEAD encryption; all gcc commands
in all three workflow files need -lssl -lcrypto to link correctly.
will.anderson added 1 commit 2026-05-06 22:39:46 +00:00
fix: use elc-cli.el as gen3 entry point, not compiler.el directly
El SDK CI - dev / build-and-test (pull_request) Failing after 1m8s
95b6fac094
compiler.el imports lexer.el/parser.el/codegen.el with bare names; those
resolve relative to the source file's directory only when the entry point
is elc-cli.el (which imports el-compiler/src/compiler.el by full path).
Compiling compiler.el directly leaves lex/parse/codegen as undefined refs.
will.anderson added 1 commit 2026-05-06 22:42:08 +00:00
fix: add -lssl -lcrypto -lm to all test runner gcc commands
El SDK CI - dev / build-and-test (pull_request) Failing after 1m7s
702093e043
Same OpenSSL/math linker flags needed everywhere el_runtime.c is linked.
will.anderson added 1 commit 2026-05-06 22:46:03 +00:00
fix: use elc-linux-amd64 as bootstrap seed instead of elc-bootstrap.c
El SDK CI - dev / build-and-test (pull_request) Failing after 1m57s
ec9c322cc7
elc-bootstrap.c is stale and produces a broken gen2 that can't correctly
compile current El source (generates C without main() for user programs).
The committed elc-linux-amd64 binary is the current, correct seed for
linux CI. This removes the gen2-from-C step entirely.
will.anderson added 1 commit 2026-05-06 22:49:46 +00:00
fix: normalize NaN to 'nan' in float_to_str regardless of sign bit
El SDK CI - dev / build-and-test (pull_request) Successful in 3m18s
8b074d2e39
0.0/0.0 can produce -nan on Linux/x86_64 (%g gives '-nan'),
causing the no-cycle calendar test to fail. Explicitly check isnan()
and emit 'nan' so behavior is platform-independent.
will.anderson merged commit 9862f4d6e1 into dev 2026-05-06 22:53:41 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: neuron-technologies/el#6