You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ywkaras (via GitHub)" <gi...@apache.org> on 2023/04/12 03:10:43 UTC

[GitHub] [trafficserver] ywkaras commented on issue #9601: 10.0.x: debian master builds fail `make check` due to `undefined symbol: http_rsb`

ywkaras commented on issue #9601:
URL: https://github.com/apache/trafficserver/issues/9601#issuecomment-1504505804

   ```
   wkaras ~/REPOS/TS
   O$ c++filt
   _Z31forceLinkRegressionHttpTransactv
   forceLinkRegressionHttpTransact()
   wkaras ~/REPOS/TS
   O$
   ```
   I do see this warning about `http_rsb`:
   ```
   /usr/bin/ld: ../../proxy/http/HttpTransact.o: warning: relocation against `http_rsb' in read-only section `.text'
   /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
   ```
   Not clear how the two diagnostic messages are related.  But, I think that in the test_HttpTransact unit test executable, we would want to omit this code in HttpTransact.cc:
   ```
   #if TS_HAS_TESTS
   void forceLinkRegressionHttpTransact();
   void
   forceLinkRegressionHttpTransactCaller()
   {
     forceLinkRegressionHttpTransact();
   }
   #endif
   ```
   We can add `-DHTTP_TRANSACT_UNIT_TEST` to `test_HttpTransact_CPPFLAGS` in `proxy/http/Makefile.am` and change the first line of the above code to:
   ```
   #if TS_HAS_TESTS && !defined(HTTP_TRANSACT_UNIT_TEST)
   ```
   But I don' t understand why we'd only see this problem on the Debian check.  Do we run the unit tests on other checks?


-- 
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-unsubscribe@trafficserver.apache.org

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