airborne12 opened a new pull request, #61291:
URL: https://github.com/apache/doris/pull/61291

   ## Summary
   - macOS `ld64` does not support GNU ld's `--whole-archive` / 
`--no-whole-archive` options, causing link failure when building BE on macOS.
   - Use `-force_load` with `$<TARGET_FILE:lib>` generator expression on Apple 
platforms instead.
   - Fixes both `doris_be` (paimon factory registry libs) and `doris_be_test` 
(vector_search_test) link targets.
   
   ## Changes
   - `be/CMakeLists.txt` — platform-conditional whole-archive linking for 
paimon factory registry libs
   - `be/test/CMakeLists.txt` — platform-conditional whole-archive linking for 
vector_search_test
   
   ## Test plan
   - [x] BE compiles and links successfully on macOS (Apple Silicon)
   - [ ] Linux build should be unaffected (uses original `--whole-archive` path)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to