You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/06/19 02:14:09 UTC

[GitHub] [trafficserver] torque59 opened a new issue #6927: Clang compilation with --enable-coverage fails.

torque59 opened a new issue #6927:
URL: https://github.com/apache/trafficserver/issues/6927


   Im trying to compile the ATS:master with `clang` (clang version 10.0.0-4ubuntu1) with flags `--enable-coverage` on `ubuntu 20.04`. It fails with the following error message.
   
   ```
   /usr/bin/ld: .libs/traffic_api_cli_remote: hidden symbol `atexit' in /usr/lib/x86_64-linux-gnu/libc_nonshared.a(atexit.oS) is referenced by DSO
   /usr/bin/ld: final link failed: bad value
   clang: error: linker command failed with exit code 1 (use -v to see invocation)
   make[3]: *** [Makefile:832: traffic_api_cli_remote] Error 1
   make[3]: Leaving directory '/tmp/installtrafficserver/trafficserver/mgmt/api'
   make[2]: *** [Makefile:895: install-recursive] Error 1
   make[2]: Leaving directory '/tmp/installtrafficserver/trafficserver/mgmt/api'
   make[1]: *** [Makefile:806: install-recursive] Error 1
   make[1]: Leaving directory '/tmp/installtrafficserver/trafficserver/mgmt'
   make: *** [Makefile:853: install-recursive] Error 1
   ```
   
   Build command is basically this
   `CC=clang CXX=clang++ ./configure --enable-coverage=yes  && make -j(nproc)`
   
   P.S this works fine when compiled with gcc.  Any help/pointers to fix would be helpful.


----------------------------------------------------------------
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.

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



[GitHub] [trafficserver] github-actions[bot] commented on issue #6927: Clang compilation with --enable-coverage fails.

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6927:
URL: https://github.com/apache/trafficserver/issues/6927#issuecomment-865459009


   This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.


-- 
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.

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



[GitHub] [trafficserver] github-actions[bot] commented on issue #6927: Clang compilation with --enable-coverage fails.

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #6927:
URL: https://github.com/apache/trafficserver/issues/6927#issuecomment-865459009


   This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.


-- 
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.

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