masaori335 opened a new issue, #10530:
URL: https://github.com/apache/trafficserver/issues/10530

   In the `ci.trafficserver.apache.org/ats/ubuntu:23.04` (`ca43c27c309e`) 
image, using `lld` instead of `ld` made build failure.
   
   ```
   + /tmp/ats/bin/traffic_server -K -k -R 1
   /tmp/ats/bin/traffic_server: error while loading shared libraries: 
../src/api/.libs/libtsapi.so: cannot open shared object file: No such file or 
directory
   ```
   
   The `libtsapi.so` and `libtscpputil.so` is odd.
   
   ```
   root@3d534522803f:/workspace/out_of_source_build_dir# ldd 
/tmp/ats/bin/traffic_server
   ...
           ../src/api/.libs/libtsapi.so => not found
           ../src/tscpp/util/.libs/libtscpputil.so => not found
   ...
   ```        
   
   You can reproduce by the `ubuntu.pipeline` build steps.
   
   
https://github.com/apache/trafficserver-ci/blob/5d6c8b586f355d72784dccdd41a2f0dc374ffecb/jenkins/github/ubuntu.pipeline#L56-L63
   
   ```
   root@3d534522803f:/workspace/out_of_source_build_dir# cat config.nice
   #! /bin/sh
   #
   # Created by configure
   
   CC="clang"; export CC
   CXX="clang++"; export CXX
   LD="lld"; export LD
   AR="llvm-ar"; export AR
   NM="llvm-nm"; export NM
   "../configure" \
   "--enable-experimental-plugins" \
   "--enable-example-plugins" \
   "--enable-expensive-tests" \
   "--prefix=/tmp/ats/" \
   "--enable-werror" \
   "--enable-ccache" \
   "CC=clang" \
   "CXX=clang++" \
   "CXXSTD=20" \
   "$@"
   ```


-- 
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: issues-unsubscr...@trafficserver.apache.org.apache.org

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

Reply via email to