You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
10.0.x: debian master builds fail make check due to undefined symbol: http_rsb #9601
The CI branch builds are demonstrating an issue with make check runs on latest master. Running some of the tests fail with undefined symbol: http_rsb. Here's a recent log:
/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:
@ywkaras On the Debian branch build, an additional --enable-hardening flag is passed when configuring the build. The regular Debian check doesn't have this so that goes okay. This seems to be related to the hardening flags.
Activity
bneradt commentedon Apr 11, 2023
@lzx404243 has volunteered to look into this. I can't seem to assign him though, probably since he's not a committer yet.
ywkaras commentedon Apr 12, 2023
I do see this warning about
http_rsb: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:
We can add
-DHTTP_TRANSACT_UNIT_TESTtotest_HttpTransact_CPPFLAGSinproxy/http/Makefile.amand change the first line of the above code to: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?
lzx404243 commentedon Apr 13, 2023
@ywkaras On the Debian branch build, an additional
--enable-hardeningflag is passed when configuring the build. The regular Debian check doesn't have this so that goes okay. This seems to be related to the hardening flags.lzx404243 commentedon Apr 13, 2023
The build last succeed on Mar 22, 2023. Looking into what changes may break this.