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

   ### Is your feature request related to a problem or challenge?
   
   when I compile benchmarks binaries with `cargo build --release` and use 
`mold` as the linker, it occurs following errors
   ```
    (signal: 9, SIGKILL: kill)
   warning: build failed, waiting for other jobs to finish...
   error: could not compile `datafusion-benchmarks` (bin "dfbench")
   ...
    (signal: 9, SIGKILL: kill)
       Building [=======================> ] 443/446: imdb(bin), tpch(bin), 
external_aggr(bin)
   ```
   and the errors disappeared when I run  `CARGO_BUILD_JOBS=4 cargo build 
--release`
   but each binary took about 5 to 10 min to compile, it's too slow.
   ```
      Finished `release` profile [optimized] target(s) in 25m 01s
   ```
   I found the binaries share many rlib files, such as 
libdatafusion_benchmarks-bb94f26d75d1c935.rlib, could you compile them into .so 
files, and let the smaller binary load the .so files at runtime? it can save 
many time and CPU.
   
   ### Describe the solution you'd like
   
   compile them into .so files, and let the smaller binary load the .so files 
at runtime
   
   ### Describe alternatives you've considered
   
   supply the binaries when publish the new release 
   
   ### 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