← 返回事件
持续讨论AI发版

trunk/933b351ff11fbce371597a984b0740606597bfdf: [AOTI] Fix consts cpp build on macOS (#201698)

发生了什么

With aot_inductor.use_consts_asm_build=False , an AOTI model on macOS fails to load with: dlopen(...wrapper.so): symbol not found in flat namespace '__binary_constants_bin_start' symbol_prefix is "_" on darwin because hand-written assembly has to spell out the leading underscore that Mach-O adds to C symbols. format_consts_to_cpp also used it, but it emits a C++ variable definition, so the compiler added a second un…

摘要按规则整理自下方来源原文

为什么在扩散

来源