You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "yutannihilation (via GitHub)" <gi...@apache.org> on 2025/09/20 15:26:51 UTC

[I] Remove datafusion-macros's dependency on datafusion-expr [datafusion]

yutannihilation opened a new issue, #17687:
URL: https://github.com/apache/datafusion/issues/17687

   ### Is your feature request related to a problem or challenge?
   
   I hit a weird compile error on datafusion-macros (ref. https://github.com/apache/sedona-db/pull/78#issuecomment-3314424862) when cross-compilation (Use `x86_64-pc-windows-msvc` toolchain and the target is `x86_64-pc-windows-gnu`).
   
   ```
                libzstd_sys-cfb03dc2082f767f.rlib(88f362f13b0528ed-huf_decompress.o) : error LNK2001: unresolved external symbol ___chkstk_ms␍
                libzstd_sys-cfb03dc2082f767f.rlib(fb80479a5fb81f6a-zstd_compress.o) : error LNK2001: unresolved external symbol ___chkstk_ms␍
                libzstd_sys-cfb03dc2082f767f.rlib(fb80479a5fb81f6a-hist.o) : error LNK2001: unresolved external symbol ___chkstk_ms␍
                libzstd_sys-cfb03dc2082f767f.rlib(fb80479a5fb81f6a-huf_compress.o) : error LNK2001: unresolved external symbol ___chkstk_ms␍
                libzstd_sys-cfb03dc2082f767f.rlib(88f362f13b0528ed-zstd_decompress_block.o) : error LNK2001: unresolved external symbol ___chkstk_ms␍
   ```
   
   This symbol (`___chkstk_ms`) is from libgcc, and it seems some compiler setting is wrong when `proc-macro = true`.
   
   ### Describe the solution you'd like
   
   This isn't datafusion's fault, but this can be solved by tweaking the dependency of `datafusion-macro.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Remove datafusion-macros's dependency on datafusion-expr [datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #17687: Remove datafusion-macros's dependency on datafusion-expr
URL: https://github.com/apache/datafusion/issues/17687


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org