Comments (12)
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.
I went ahead and added the output of brew ls
to the gist as requested.
from homebrew-core.
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.
Your assumption is correct - the gcc
in that list is from a later install with no --without-multilib
.
from homebrew-core.
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.
I've updated the gist to include that information.
from homebrew-core.
Hi,
I get the same error output. What is the solution?
from homebrew-core.
@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.
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.
@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.
@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.
Looks like that did the trick! Thanks!
from homebrew-core.
Related Issues (20)
- postgis-3.so: Undefined symbol "__sys_aio_readv@FBSDprivate_1.0" HOT 3
- node@16 has breaking changes with icu4c HOT 5
- python3 and rapidjson don't seem to be working HOT 1
- clang error HOT 1
- .NET 8 Runtime Bad Signature for formula "dotnet" HOT 2
- mikmod plays at extreme speed HOT 3
- Protobuf-c does not produce usable output HOT 2
- aws-cdk depends on node, but isn't compatible with current node 21 HOT 2
- Please add icu4c@73 to the list of icu4c tap versions HOT 1
- binutils: Include libiberty in the build HOT 2
- glasskube webbundle is missing HOT 4
- mpv: no audio playing .mkv files when ffmpeg upgraded to 7.0 HOT 4
- Atlantis version command is showing inadequate output
- brew services start sing-box couldn't start, the cmd in services plist lack of '--directory string' which used for set working directory HOT 7
- qt5 [email protected] issue building qt@5 from source HOT 7
- virt-manager --connect
- Linux - MPV is missing Wayland dependency HOT 7
- Python: setuptools-scm creates failed vendor build HOT 3
- library not found for -lzstd HOT 4
- pip check: openvino 2024.0.0 requires openvino-telementry, which is not installed HOT 1
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-core.