masaori335 commented on issue #6666: URL: https://github.com/apache/trafficserver/pull/6666#issuecomment-616881628
Thanks for looking. > Optimization does some magic. If I add -O1 to AM_CPPFLAGS on http2/Makefile.am then link succeeds without the LDADD change, but not -O0. This explains why we are facing the issue with debug build. Some symbols which are removed by optimization would be a trigger. > I put the dup lines between libinkevent.a and librecords_p.a (instead of after librecords_p.a) and it worked too. The order around `libinkevent.a` looks matter for LLD. This is another peace. I tried another order, moving `libinkevent.a` between `libhttp2.a` and `libhdrs.a`. It also works. ---------------------------------------------------------------- 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: us...@infra.apache.org