Comments (15)
Hi @kaji331, can you please do a brew gist-logs gmp
and report the output here? Thanks!
from linuxbrew-core.
I am sorry. I am an beginner, so I don't know how to get the report of brew gist-logs...
发件人: Bob W. Hogg [email protected]
发送时间: 2016年5月23日 9:20
收件人: Linuxbrew/homebrew-core
抄送: kaji331; Mention
主题: Re: [Linuxbrew/homebrew-core] brew install gcc, errors in RHEL6 with centos6 repository (#306)
Hi @kaji331https://github.com/kaji331, can you please do a brew gist-logs gcc and report the output here? Thanks!
―
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com//issues/306#issuecomment-220869343
from linuxbrew-core.
I am sorry. I am an beginner, so I don't know how to get the report of brew gist-logs...
No worries!
I just meant to run "brew gist-logs gmp" in your terminal and paste the URL it displays here.
from linuxbrew-core.
@rwhogg https://gist.github.com/4e97978be044a5aeaff07aa5d1fa6247
from linuxbrew-core.
GCC-compiled programs appear to be segfaulting: ./configure: line 5829: 16716 Segmentation fault (core dumped) ./a.out
.
Does GCC work at all for you?
Can you try compiling this program in two different ways and see what happens when you run it?
#include <stdio.h>
int main(int argc, char** argv)
{
printf("Hi");
}
First way: gcc file.c
Second way: gcc -Os -w -pipe -march=native -isystem/home/cancer/.linuxbrew/include file.c
from linuxbrew-core.
@rwhogg Maybe my gcc is ok. Both of two methods showed nothing and generated an a.out file. If I execute a.out, the zsh showed:
Hi%
Thanks for your help 👍
from linuxbrew-core.
No problem. Unfortunately, I don't have any further ideas about how to fix this. My apologies.
from linuxbrew-core.
patchelf
is failing.
==> Pouring gmp-6.1.0.x86_64_linux.bottle.tar.gz
/home/cancer/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
Error: Failure while executing: /home/cancer/.linuxbrew/Cellar/patchelf/0.9/bin/patchelf --set-rpath /home/cancer/.linuxbrew/lib
Please report
which -a patchelf
brew test patchelf
patchelf --version
ldd `which patchelf`
brew reinstall patchelf
which -a patchelf
brew test patchelf
patchelf --version
ldd `which patchelf`
from linuxbrew-core.
I'm expecting the exact same issue when building everything from source on SL6 (I don't have the patchelf issue as I'm forcing installation from source).
Do you have an idea?
Best,
Jerome
from linuxbrew-core.
@kaji331 patchelf
has recently been updated with a statically linked bottle that should resolve your issue. brew update && brew reinstall patchelf && brew install gcc
from linuxbrew-core.
@jrevillard Please report the error message that you're seeing and brew gist-logs FORMULA
where FORMULA
is the formula or dependency that failed to install.
from linuxbrew-core.
@sjackman here it is: https://gist.github.com/anonymous/3172b3646e876c0df9aee10751f1a5c4
(as you can see I use my own repo but it's up to date with your today changes)
Best,
Jerome
from linuxbrew-core.
The relevant error is
configure:5820: /usr/bin/gcc -Os -w -pipe -march=native -isystem/cvmfs/neugrid.egi.eu/software/x86_64/test/linuxbrew/include conftest.c >&5
configure:5823: $? = 0
configure:5828: ./a.out || ./b.out || ./a.exe || ./a_out.exe || ./conftest
./configure: line 5829: 11740 Segmentation fault (core dumped) ./a.out
https://gist.github.com/anonymous/3172b3646e876c0df9aee10751f1a5c4#file-config-log-L73-L76
Not a good situation. Is there a reason that you're compiling gmp
from source rather than installing the precompiled binary bottle? Try
unset HOMEBREW_BUILD_FROM_SOURCE
brew install gmp
from linuxbrew-core.
When did this segfault issue first occur? I wonder what changed.
from linuxbrew-core.
I'm compiling everything from source to see if it solve this other issue I just reported here: Linuxbrew/brew#66
I don't know exactly when it started. The last time I tried to compile from source was more than a year ago....
from linuxbrew-core.
Related Issues (20)
- Homebrew on Linux should use bottles if a symlink from /home/linuxbrew/.linuxbrew exists HOT 1
- libva 2.12.0 upgrade issue HOT 1
- `pkg-config` searches standard Linuxbrew installation path even when installed in a non-standard path HOT 1
- Neovim 0.5 install failure HOT 1
- zip manifest HTTP-404 error while install Maven HOT 1
- Auth issue with fish formula fails to get manifest from GH HOT 1
- awscli dependencies conflicts HOT 1
- clang-format: Failed to download resource clang-format_bottle_manifest HOT 8
- sudo <any_command> not working due to symlink? HOT 18
- gdu not merged HOT 1
- python-launcher: Failed to download resource "python-launcher_bottle_manifest" HOT 5
- Older local version when install Texlive HOT 4
- List of linuxbrew-core formulae that need to be backported to homebrew-core HOT 10
- Failure upgrading gcc 11.1.0_1 -> 11.2.0 HOT 1
- node: /usr/lib/x86_64-linux-gnu/libstdc++so.6: version `GLIBCXX_3.4.29' not found (required by node) HOT 5
- Bottle shfmt HOT 2
- qt installation error HOT 1
- :warning: Bottle request for docker [failed](https://github.com/Homebrew/linuxbrew-core/actions/runs/1100688862).
- Failed to build formula `highlight` on Ubuntu 16.04 LTS HOT 4
- scrcpy and ffmpeg install got error: failed to download resource "gobject-introspection--tutorial" 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 linuxbrew-core.