Closed
Description
I did this
make -C tests -sj
to build the test suite and tests using a parallel build
It currently fails on master, see partial error output below. I bisected the offending commit to this:
commit cb7ed5a
If I don't use -j
and use use just make
in the tests
directory, it seems to build just fine.
If I revert the above mention commit, it also makes the build work again.
/usr/bin/ld: unit1305.o: warning: relocation against `unitfail' in read-only section `.text'
/usr/bin/ld: unit1304.o: warning: relocation against `unitfail' in read-only section `.text'
/usr/bin/ld: unit1302.o: warning: relocation against `unitfail' in read-only section `.text'
/usr/bin/ld: unit1300.o: warning: relocation against `unitfail' in read-only section `.text'
/usr/bin/ld: unit1303.o: warning: relocation against `unitfail' in read-only section `.text'
/usr/bin/ld: unit1305.o: in function `test':
/home/dast/src/curl/tests/unit/unit1305.c:114: undefined reference to `unitfail'
/usr/bin/ld: /home/dast/src/curl/tests/unit/unit1305.c:114: undefined reference to `unitfail'
/usr/bin/ld: /home/dast/src/curl/tests/unit/unit1305.c:122: undefined reference to `unitfail'
/usr/bin/ld: /home/dast/src/curl/tests/unit/unit1305.c:122: undefined reference to `unitfail'
/usr/bin/ld: /home/dast/src/curl/tests/unit/unit1305.c:127: undefined reference to `unitfail'
/usr/bin/ld: unit1305.o:/home/dast/src/curl/tests/unit/unit1305.c:127: more undefined references to `unitfail' follow
/usr/bin/ld: unit1330.o: warning: relocation against `unitfail' in read-only section `.text'
/usr/bin/ld: unit1323.o: warning: relocation against `unitfail' in read-only section `.text'
/usr/bin/ld: unit1304.o: in function `test':
/home/dast/src/curl/tests/unit/unit1304.c:50: undefined reference to `unitfail'
/usr/bin/ld: /home/dast/src/curl/tests/unit/unit1304.c:50: undefined reference to `unitfail'