Coder Social home page Coder Social logo

Comments (9)

ladislas avatar ladislas commented on July 27, 2024 1

@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.

larsimmisch avatar larsimmisch commented on July 27, 2024

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.

larsimmisch avatar larsimmisch commented on July 27, 2024

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.

larsimmisch avatar larsimmisch commented on July 27, 2024

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.

ladislas avatar ladislas commented on July 27, 2024

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.

DouglasUrner avatar DouglasUrner commented on July 27, 2024

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.

DouglasUrner avatar DouglasUrner commented on July 27, 2024

This is how I modified the avr-gcc formula to use the older ISL:

  1. brew tap homebrew/versions
  2. brew edit avr-gcc
  3. Change the two instances of 'isl' to 'isl012'
  4. brew reinstall avr-gcc

from homebrew-avr.

FrancescoBorzi avatar FrancescoBorzi commented on July 27, 2024

I have the same problem using gcc 4.9 or 5.2, but with gcc 5.3 is fine

from homebrew-avr.

adrianawise avatar adrianawise commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.