Coder Social home page Coder Social logo

Comments (12)

apjanke avatar apjanke commented on May 14, 2024

Hmm. Works for me on my 10.11.4 VM. Logs here.

My relevant section:

checking whether ln -s works... yes
checking for x86_64-apple-darwin15.4.0-gcc... /private/tmp/gcc20160411-1629-1obwe7j/gcc-5.3.0/build/./gcc/xgcc -B/private/tmp/gcc20160411-1629-1obwe7j/gcc-5.3.0/build/./gcc/ -B/usr/local/Cellar/gcc/5.3.0/x86_64-apple-darwin15.4.0/bin/ -B/usr/local/Cellar/gcc/5.3.0/x86_64-apple-darwin15.4.0/lib/ -isystem /usr/local/Cellar/gcc/5.3.0/x86_64-apple-darwin15.4.0/include -isystem /usr/local/Cellar/gcc/5.3.0/x86_64-apple-darwin15.4.0/sys-include   
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /private/tmp/gcc20160411-1629-1obwe7j/gcc-5.3.0/build/./gcc/xgcc -B/private/tmp/gcc20160411-1629-1obwe7j/gcc-5.3.0/build/./gcc/ -B/usr/local/Cellar/gcc/5.3.0/x86_64-apple-darwin15.4.0/bin/ -B/usr/local/Cellar/gcc/5.3.0/x86_64-apple-darwin15.4.0/lib/ -isystem /usr/local/Cellar/gcc/5.3.0/x86_64-apple-darwin15.4.0/include -isystem /usr/local/Cellar/gcc/5.3.0/x86_64-apple-darwin15.4.0/sys-include    accepts -g... yes

Sorry this isn't helpful; just adding a data point.

Could you add the output of brew ls to that gist?

from homebrew-core.

CodingAnarchy avatar CodingAnarchy commented on May 14, 2024

I went ahead and added the output of brew ls to the gist as requested.

from homebrew-core.

apjanke avatar apjanke commented on May 14, 2024

Thanks. I don't see anything suspicious here. (Assuming the gcc in that list is from a later install with no --without-multilib.)

I'll try to reproduce against this set of installed packages.

from homebrew-core.

CodingAnarchy avatar CodingAnarchy commented on May 14, 2024

Your assumption is correct - the gcc in that list is from a later install with no --without-multilib.

from homebrew-core.

apjanke avatar apjanke commented on May 14, 2024

How about a brew ls --full-name and a brew tap-info --installed, too? There are some formulae there that aren't in the main taps. (Sorry I didn't include this first time around. Still learning the best approach to brew diagnostics here.)

from homebrew-core.

CodingAnarchy avatar CodingAnarchy commented on May 14, 2024

I've updated the gist to include that information.

from homebrew-core.

AndrazP avatar AndrazP commented on May 14, 2024

Hi,
I get the same error output. What is the solution?

from homebrew-core.

UniqMartin avatar UniqMartin commented on May 14, 2024

@AndrazP Can you please post your logs of the failed build using brew gist-logs gcc so that we can inspect them and make sure it is indeed the same error? I'm afraid we can't provide a solution yet, as we weren't able to get to the root cause of the issue …

from homebrew-core.

AndrazP avatar AndrazP commented on May 14, 2024

My log: https://gist.github.com/119f07327aa901dd32e9dc8e2b0b47fb
I honestly can't remember how I installed the previous version of gcc, with brew or directly. But gcc was in the brew list, brew uninstall gcc didn't help.

from homebrew-core.

UniqMartin avatar UniqMartin commented on May 14, 2024

@AndrazP Judging from the output in 00.doctor.out in your Gist you've installed some earlier version of GCC without using Homebrew. Can you please try and resolve as many issues as possible that are reported by brew doctor? Particularly all those libraries from GCC and its dependencies (but other files listed there, too) have a pretty high chance of interfering with the build process. Ideally, you'll get to a stage where brew doctor no longer outputs any warnings …

Also, your build definitely fails for a different reason than the one of the original poster, so cleaning up your /usr/local (make backups if you're unsure about what is important to retain) should definitely help in your case. Removing and reinstalling GCC's dependencies (check out the output of brew deps gcc) could also help as there seem to be some files missing that should normally be there.

from homebrew-core.

UniqMartin avatar UniqMartin commented on May 14, 2024

@CodingAnarchy Can you try removing and then reinstalling libmpc? An error further up in your log indicates that there's an issue with that library. Maybe that's the reason why building GCC fails …

from homebrew-core.

CodingAnarchy avatar CodingAnarchy commented on May 14, 2024

Looks like that did the trick! Thanks!

from homebrew-core.

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.