You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/04/20 08:01:22 UTC

[GitHub] [trafficserver] masaori335 edited a comment on issue #6666: Fix link issue of test_libhttp2 on FreeBSD 12 with --enable-debug

masaori335 edited a comment on issue #6666:
URL: https://github.com/apache/trafficserver/pull/6666#issuecomment-616367367


   I agree with this is an ugly hack:( 
   
   I still don't know what is root cause, but this looks LLD specific issue with debug build. If I use GNU ld instead of LLD, the issue is gone.
   
   > Does this mean librecords_p.a depends on libhttp2.a?
   
   No. LLD has a different approach of handling of archive files, the order doesn't mean dependencies. 
   
   > Instead of memorizing only undefined symbols, we program LLD so that it memorizes all symbols.  When it sees an undefined symbol that can be resolved by extracting an object file from an archive file it previously visited, it immediately extracts the file and links it. It is doable because LLD does not forget symbols it has seen in archive files.
   http://lld.llvm.org/NewLLD.html#design
   


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