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

tinydtls: DTLS randomly missing functions #6036

Closed
miri64 opened this issue Nov 1, 2016 · 4 comments
Closed

tinydtls: DTLS randomly missing functions #6036

miri64 opened this issue Nov 1, 2016 · 4 comments
Assignees
Labels
Area: pkg Area: External package ports Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)

Comments

@miri64
Copy link
Member

miri64 commented Nov 1, 2016

Murdock builds are randomly failing because sometimes (but not always) there seem to be a linking problem with DTLS. An example for this can be seen in the build for #6009:

dtls-echo:pttu:
Building application "dtls_echo" for "pttu" with MCU "lpc2387".

make -C /data/riotbuild/examples/dtls-echo/bin/pkg/pttu/tinydtls
/data/riotbuild/examples/dtls-echo/bin/pttu/tinydtls.a(crypto.o): In function `dtls_encrypt':
/data/riotbuild/examples/dtls-echo/bin/pkg/pttu/tinydtls/crypto.c:527: undefined reference to `rijndael_set_key_enc_only'
/data/riotbuild/examples/dtls-echo/bin/pttu/tinydtls.a(crypto.o): In function `dtls_decrypt':
/data/riotbuild/examples/dtls-echo/bin/pkg/pttu/tinydtls/crypto.c:553: undefined reference to `rijndael_set_key_enc_only'
/data/riotbuild/examples/dtls-echo/bin/pttu/tinydtls.a(ccm.o): In function `mac':
/data/riotbuild/examples/dtls-echo/bin/pkg/pttu/tinydtls/ccm.c:163: undefined reference to `rijndael_encrypt'
/data/riotbuild/examples/dtls-echo/bin/pttu/tinydtls.a(ccm.o): In function `encrypt':
/data/riotbuild/examples/dtls-echo/bin/pkg/pttu/tinydtls/ccm.c:149: undefined reference to `rijndael_encrypt'
/data/riotbuild/examples/dtls-echo/bin/pttu/tinydtls.a(ccm.o): In function `add_auth_data':
/data/riotbuild/examples/dtls-echo/bin/pkg/pttu/tinydtls/ccm.c:81: undefined reference to `rijndael_encrypt'
/data/riotbuild/examples/dtls-echo/bin/pkg/pttu/tinydtls/ccm.c:121: undefined reference to `rijndael_encrypt'
/data/riotbuild/examples/dtls-echo/bin/pkg/pttu/tinydtls/ccm.c:128: undefined reference to `rijndael_encrypt'
/data/riotbuild/examples/dtls-echo/bin/pttu/tinydtls.a(ccm.o):/data/riotbuild/examples/dtls-echo/bin/pkg/pttu/tinydtls/ccm.c:136: more undefined references to `rijndael_encrypt' follow
collect2: error: ld returned 1 exit status
/data/riotbuild/Makefile.include:262: recipe for target 'all' failed
make: *** [all] Error 1
/data/riotbuild/Makefile.buildtests:38: recipe for target 'buildtest' failed

Could not assign @rfuentess so I assigned @OlegHahm.

@miri64 miri64 added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: pkg Area: External package ports labels Nov 1, 2016
@miri64 miri64 added this to the Release 2016.10 milestone Nov 1, 2016
@OlegHahm
Copy link
Member

OlegHahm commented Nov 1, 2016

Hm, I seem to remember to have seen this problem before - but don't remember if I've ever understood the reason for that.

@rfuentess
Copy link
Contributor

yes, I had watched this issue when tested the dtls-echo with make buildtests but frankly I though was something more related to RIOT than my code.

@kYc0o
Copy link
Contributor

kYc0o commented Nov 1, 2016

As I commented on that PR, this error appears systematically on OS X, and as far as I can remember, it changes randomly.

@miri64
Copy link
Member Author

miri64 commented Nov 4, 2016

Fixed in #6053.

@miri64 miri64 closed this as completed Nov 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: pkg Area: External package ports Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

No branches or pull requests

4 participants