Comments (22)
Ouput for mutex_order:
main(): This is RIOT! (Version: 2017.01-devel-hedon-2016.10-branch)
Mutex order test
Please refer to the README.md for more informationT3 (prio 6): locking mutex now
T4 (prio 4): locking mutex now
T5 (prio 0): locking mutex now
T6 (prio 2): locking mutex now
T7 (prio 1): locking mutex now
T3 (prio 6): unlocking mutex now
T5 (prio 0): unlocking mutex now
T7 (prio 1): unlocking mutex now
T6 (prio 2): unlocking mutex now
T4 (prio 4): unlocking mutex nowTest END, check the order of priorities above
from release-specs.
Compile error for cpp11_condition_variable, cpp11_mutex and cpp11_thread:
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
Any idea? SOLVED!
from release-specs.
Compile error for cpp11_condition_variable, cpp11_mutex and cpp11_thread:
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libstdc++.so when searching for -lstdc++
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libstdc++.a when searching for -lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit statusAny idea?
You need to install that library for 32-bit. But I don't really remember how it is called in Ubuntu (or Arch). @josephnoir can you help?
About mutex_order
I think the locking order isn't that important, but the unlocking order is (since that is where the priority comes into play). Judging from the order of the priorities in that test's main.c
the order of the priorities on locking in your output make more sense than the ones in the README. @OlegHahm @kaspar030 what do you think?
from release-specs.
You need to install that library for 32-bit. But I don't really remember how it is called in Ubuntu (or Arch). @josephnoir can you help?
@miri64 , thanks for your suggestion. This is the error after I installed libstdc++-4.9-dev for the i386 architecture.
But I had to install lib32stdc++-4.9-dev for the amd64 architecture.
Multiarch is hilarious. :P
from release-specs.
The README of this test is definitely wrong. I prepare a fix.
from release-specs.
@A-Paul I can't reproduce the failed od
test (I have pexpect==4.0.1
installed, older versions were always a bit iffy). Did you install from ubuntu repository or using pip? If the first is the case, please use the pip version.
from release-specs.
Regarding c++ problems, I have a similar error:
arm-none-eabi-g++ \
-DRIOT_FILE_RELATIVE=\"tests/cpp11_condition_variable/main.cpp\" \
-DRIOT_FILE_NOPATH=\"main.cpp\" \
-Werror -mcpu=cortex-m3 -mlittle-endian -mthumb -mfloat-abi=soft -mno-thumb-interwork -ffunction-sections -fdata-sections -fno-builtin -fshort-enums -ggdb -g3 -Os -fno-delete-null-pointer-checks -Werror=strict-prototypes -Werror=old-style-definition -fno-common -Wall -include '/home/oleg/git/RIOT/tests/cpp11_condition_variable/bin/cc2538dk/riotbuild/riotbuild.h' -std=c++11 -isystem /usr/arm-none-eabi/include/nano -isystem /usr/arm-none-eabi/include -I/home/oleg/git/RIOT/core/include -I/home/oleg/git/RIOT/drivers/include -I/home/oleg/git/RIOT/sys/include -I/home/oleg/git/RIOT/cpu/cc2538/include -I/home/oleg/git/RIOT/boards/cc2538dk/include -I/home/oleg/git/RIOT/cpu/cortexm_common/include -I/home/oleg/git/RIOT/sys/libc/include -I/home/oleg/git/RIOT/sys/cpp11-compat/include -MD -MP -c -o /home/oleg/git/RIOT/tests/cpp11_condition_variable/bin/cc2538dk/cpp11_condition_variable/main.o /home/oleg/git/RIOT/tests/cpp11_condition_variable/main.cpp
In file included from /usr/arm-none-eabi/include/c++/6.2.0/ext/string_conversions.h:41:0,
from /usr/arm-none-eabi/include/c++/6.2.0/bits/basic_string.h:5402,
from /usr/arm-none-eabi/include/c++/6.2.0/string:52,
from /home/oleg/git/RIOT/tests/cpp11_condition_variable/main.cpp:21:
/usr/arm-none-eabi/include/c++/6.2.0/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^
However:
`# ls -lah /usr/arm-none-eabi/include/c++/6.2.0/stdlib.h
-rw-r--r-- 1 root root 2.2K Aug 31 19:52 /usr/arm-none-eabi/include/c++/6.2.0/stdlib.h
from release-specs.
Shouldn't this rather go to #26? These here are native tests ;-)
from release-specs.
Yepp.
from release-specs.
@A-Paul You solved your C++ problem, right?
@OlegHahm I can compile the cpp11_condition_variable test without issues for the samr21-xpro using compiler version 5.4.1. However, my stdlib.h file has a different location:
$ find . -name "stdlib.h"
arm-none-eabi/include/c++/5.4.1/tr1/stdlib.h
arm-none-eabi/include/machine/stdlib.h
arm-none-eabi/include/stdlib.h
Where did you get the 6.2.0 version?
from release-specs.
@josephnoir, let's continue in #28.
from release-specs.
Hi @josephnoir, thanks for stopping by...
@A-Paul You solved your C++ problem, right?
Yes. Turns out I didn't have a problem, I have been the problem. :-)
from release-specs.
@A-Paul I hope #27 (comment) did not get lost in the other comments ;-)
from release-specs.
Did you install from ubuntu repository or using pip?
Neither. Debian jessie (python-pexpect 3.2-1). But I declare you as trustworthy and take this statement:
@A-Paul I can't reproduce the failed od test
to set the test to success.
from release-specs.
You should be able to install pexpect 4 with pip (python-pip in debian repository ;-))
from release-specs.
xtimer_drift : FAILED stops after ~30-90 seconds (two different PCs)
confirmed.
from release-specs.
@A-Paul I hope #27 (comment) did not get lost in the other comments ;-)
from release-specs.
@A-Paul I hope #27 (comment) did not get lost in the other comments ;-)
Those two don't seem to be related :P
from release-specs.
@OlegHahm output and README.md correlate now. The python script isn't very helpful now. But that's not an error and can be improved later.
from release-specs.
Discussing PR not in the PR is not very fruitful ;-).
from release-specs.
@miri64 my fault. I thought it is already merged and just wanted to give feedback.
I've left a comment in the PR now. But the main issue is resolved.
from release-specs.
superseded by #30.
from release-specs.
Related Issues (20)
- Rust: describe that crate versions should be bent away from git
- Release 2022.07 - RC1 HOT 16
- Release 2022.07 - RC2 HOT 4
- Release 2022.07 - RC3 HOT 7
- Release 2022.07 - RC4 HOT 25
- Release 2022.10 - RC1 HOT 7
- Release 2022.10 - RC2 HOT 9
- Release 2022.10 - RC3 HOT 18
- Release 2023.01 - RC1 HOT 3
- Release 2023.01 - RC2 HOT 2
- Release 2023.01 - RC3 HOT 14
- 08 - Task 11: Building zephyr on atsamr21_xpro not possible HOT 4
- Release 2023.04 - RC1 HOT 12
- [RFC] Restructure/update Release Specs HOT 2
- Release 2023.04 - RC2 HOT 5
- Release 2023.04 - RC3 HOT 3
- Release 2023.07 - RC5 HOT 15
- Release 2023.10 - RC1 HOT 11
- Release 2023.10 - RC2 HOT 5
- Release 2023.10 - RC3 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from release-specs.