Comments (9)
@adrianawise we do not support avr-gcc 7 yet and isl has been removed from the formula a long time ago.
are you sure your comment is related to avr?
from homebrew-avr.
I can reproduce this after a brew update; brew upgrade; brew cleanup
. I'll take a look at it and maybe update gcc while I am at it.
from homebrew-avr.
Sigh. gcc 5.1 is problematic; I can't get it to compile, it crashes in gen-avr-mmcu-specs
.
See https://www.mail-archive.com/[email protected]/msg454439.html and also, related, http://savannah.nongnu.org/bugs/?44869
from homebrew-avr.
I have given gcc 5.1 another serious try and I could get it to cross-compile for AVR - but it was not of much use - I couldn't use that avr-gcc
to compile my test programs.
There is a pretty prominent warning about gcc 5.1 and AVR-LibC in https://gcc.gnu.org/gcc-5/changes.html:
If the compiler is used together with AVR-LibC, this requires at least GCC 5.2 and a version of AVR-
LibC which implements feature #44574.
And, to answer @ladislas question: I don't think we need --with-isl
. It enables some clever loop optimizations, so we want it eventually, but for the time being, we should just get the recipes back in working order.
from homebrew-avr.
thanks @larsimmisch for trying this out! I guess we'll have to wait for gcc 5.2
then ;)
I agree that ISL is not really needed right now. I'm not an expert, but as far as I understand, it is only useful for very complexe applications that need a lot of optimization. So it might not be really useful for avr...
from homebrew-avr.
For whatever it might be worth, this problem still exists (wrong version of libisl). It would be nice to have slightly clearer instructions on how to use the older version.
from homebrew-avr.
This is how I modified the avr-gcc formula to use the older ISL:
brew tap homebrew/versions
brew edit avr-gcc
- Change the two instances of 'isl' to 'isl012'
brew reinstall avr-gcc
from homebrew-avr.
I have the same problem using gcc 4.9 or 5.2, but with gcc 5.3 is fine
from homebrew-avr.
After I upgraded to gcc 7.1.0, I was still getting the following error:
dyld: Library not loaded: /usr/local/lib/libisl.10.dylib
I just replaced every instance of libisl.10.dylib with libisl.15.dylib, which is the version installed for MacOS Sierra 10.12.5, in the binary files:
/usr/local/Cellar/gfortran/4.8.2/gfortran/libexec/gcc/x86_64-apple-darwin13.0.0/4.8.2/f951
/usr/local/lib/libcloog-isl.4.dylib
This fixed the build for lapack-3.7.1 for me on a MacOS Sierra 10.12.5. I had already built blas-3.7.1. After this, lapackpp-2.5.4 gave me no trouble.
from homebrew-avr.
Related Issues (20)
- Linking with stl HOT 8
- cc1: internal compiler error: Illegal instruction: 4 HOT 3
- Default `avr-gcc` version HOT 4
- avr-gcc@9 Cannot flash on macOS Monterrey HOT 3
- Dutifully reporting error I have no understanding of HOT 2
- Support for newer MCUs HOT 4
- Push avr168pb patch to avr-libc HOT 5
- Catalina bottles not being built HOT 6
- macOS 13 HOT 3
- avr-gcc@11 fails to build HOT 10
- Error installing in MacOS 12.6
- avr-gdb fails to build on Ventura due to missing makeinfo
- Fails to find gmp during building HOT 1
- avr-gcc@12 make BOOT_LDFLAGS HOT 3
- Support for tinyAVR 1-series, megaAVR 0-series and AVR-Dx series MCUs HOT 1
- simavr1.6 Makefile bug checking for avr-gcc installation HOT 4
- Abort trap: 6 signal terminated program cc1 HOT 3
- Installation of avr-gcc@5 fails. HOT 1
- Install fails due to deps HOT 1
- Installation fails due to C++ error (?) HOT 6
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 homebrew-avr.