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-unsubscr...@datafusion.apache.org.apache.org

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


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

Reply via email to