Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests fail on powerpc because ld prints extra unexpected warnings #254

Open
infinity0 opened this issue Jul 30, 2017 · 0 comments
Open

tests fail on powerpc because ld prints extra unexpected warnings #254

infinity0 opened this issue Jul 30, 2017 · 0 comments
Labels

Comments

@infinity0
Copy link
Contributor

see e.g. https://buildd.debian.org/status/fetch.php?pkg=ocamlbuild&arch=powerpc&ver=0.11.0-1&stamp=1501347054&raw=0 :

�[m�[0;31m�[1m[FAILED]�[0m �[1mModularPlugin2      �[0;33mFailure with not matching message:
/usr/bin/ld: bss-plt forced due to /tmp/camlstartupb94de0.o
!=

.
�[m�[0;31m�[1m[FAILED]�[0m �[1mModularPlugin3      �[0;33mFailure with not matching message:
Warning: tag "toto" does not expect a parameter, but is used with parameter "-g"
/usr/bin/ld: bss-plt forced due to /tmp/camlstartupc32af9.o
!=
Warning: tag "toto" does not expect a parameter, but is used with parameter "-g"
.
�[m�[0;32m�[1m[PASSED]�[0m �[1mPluginCompilation1  �[0;36mcheck that the plugin is not compiled when -no-plugin is passed.
�[m�[0;32m�[1m[PASSED]�[0m �[1mPluginCompilation2  �[0;36mcheck that the plugin is compiled when -just-plugin is passed.
�[m�[0;31m�[1m[FAILED]�[0m �[1mPluginCompilation3  �[0;33mFailure with not matching message:
/usr/bin/ld: bss-plt forced due to /tmp/camlstartupf1498f.o
!=

.

In fact the underlying issue is due to ocaml itself, but these extra warnings don't seem to affect ocaml's own testsuite which passes despite the warnings.

Googling the error message suggests this may be a potential security weakness as the alternative to bss-plt is called "secure-plt" [1] [2]. I don't know if you care about it though since powerpc is not really a common platform.

I can file this over on the ocaml mantis BT tracker too if that would be more appropriate. In the meantime I will see if I can have ocamlbuild on Debian powerpc ignore these extra warnings in the same way that ocaml's own testsuite does.

@whitequark whitequark added the bug label Jul 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants