Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

Document the minimum GCC / LD supported version #89

Closed
japaric opened this issue Aug 18, 2018 · 5 comments
Closed

Document the minimum GCC / LD supported version #89

japaric opened this issue Aug 18, 2018 · 5 comments

Comments

@japaric
Copy link
Member

japaric commented Aug 18, 2018

As we found out in #84 our linker script is not supported by GCC 4.8 / binutils 2.24. We should document the minimum version that we support.

I know that binutils 2.31 works.

@mullr
Copy link

mullr commented Aug 22, 2018

2.27, the one currently in ubuntu 18.04, appears not to work. (gives the same error as #92)

@mvirkkunen
Copy link

Also broken on GCC 6.3.1 which is the current version of gcc-arm-none-eabi in the official Ubuntu repositories. Same error as #92. I switched to LLD for the time being.

@adamgreig
Copy link
Member

Using the official ARM toolchain releases, I found the error on 2016q3 (5.4.1) and it worked on 2016q4 (6.2.1) and thereafter. Not sure why the Ubuntu 6.3.1 release doesn't work. Possibly ARM had some patches not yet committed upstream for the 6-series build.

It seems like any GCC 7 or later should work.

I think our recommendation should be to just install the latest official ARM release (or use the default LLD of course).

@therealprof
Copy link
Contributor

@adamgreig Funny you should mention this. I also had various troubles in the past specifically with 2016q3... I would definitely second that we recommend using the latest ARM release, that'll reduce the amount of uncertainty considerably.

@japaric
Copy link
Member Author

japaric commented Aug 30, 2018

No longer needed because this crate no longer depends on arm-none-eabi-gcc. 🎉

@japaric japaric closed this as completed Aug 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants