mips32r2_common: Update thread_arch for compatibility with newer toolchains#10009
mips32r2_common: Update thread_arch for compatibility with newer toolchains#10009jnohlgard wants to merge 3 commits intoRIOT-OS:masterfrom
Conversation
|
On ubuntu 16.04 it fixes the first issue with the new mips toolchain but I have the new following one with I will try with the updated docker image as I do not have the issue on |
|
I get that error too on my machine, but not in the docker image. |
|
It's strange because the objcopy version is the same… |
|
@cladmi did you test with the new Docker image? |
|
I tried and I think I did not have issues, I should verify tomorrow on the other laptop. However I also still need to test an error path that triggers If the code works but we still get the It's however in my priority list to have a working docker image. |
|
|
||
| /* For backwards compatibility with mips-mti-elf toolchain release 2016.05-03 */ | ||
| #if !defined(_MIPS_HAL_NOMIPS16) | ||
| #define _MIPS_HAL_NOMIPS16 __attribute__((nomips16)) |
There was a problem hiding this comment.
Maybe put in the header commit message that it is defined in mips/hal.h
|
It compiles for all three mips boards with the RIOT-OS/riotdocker#47 docker image I did not have time to test today, will be on thursday. |
|
The difference I have between the ubuntu 16.04 and the docker container is the If I try running with the non |
|
But it also fails with |
|
There is a reference here but not helping much http://forum.pinguino.cc/showthread.php?tid=3267 |
|
It was also already mentioned by @aabadie in RIOT-OS/Release-Specs#44 (comment) |
eb6beec to
5f88385
Compare
|
Rebased, added code comment about why we need the macro in the older toolchains. |
|
I suppose this was superseded by #11986 and can now be closed? |
Contribution description
This should fix the build issue described in RIOT-OS/riotdocker#47
Testing procedure
Install a new version of the mips-mti-elf toolchain, or use the proposed Docker image in RIOT-OS/riotdocker#47
Run some test applications on actual hardware (e.g. pic32-clicker or pic32-wifire)
Issues/PRs references
RIOT-OS/riotdocker#47