Linuxbrew-core: Problem installing gcc

Created on 12 Apr 2017  路  4Comments  路  Source: Homebrew/linuxbrew-core

Please always follow these steps:

  • [x] Confirmed this is a problem with Linuxbrew and not Homebrew. Problems that affect both Homebrew and Linuxbrew must be reported in the appropriate Homebrew repository https://github.com/Homebrew
  • [x] Confirmed this is a problem with only one, specific formula and not Linuxbrew/brew? If it's a general Linuxbrew/brew problem please file this issue at https://github.com/Linuxbrew/brew/issues/new
  • [x] Ran brew update and retried your prior step?
  • [x] Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • [x] Ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?

https://gist.github.com/vkyt/f801d2aa7380990328f318611914d9b3

Did a fresh install of linuxbrew and followed by brew install gcc.

gcc seems to have been installed but the output shows:

Inconsistency detected by ld.so: get-dynamic-info.h: 134: elf_get_dynamic_info: Assertion `info[15] == ((void *)0)' failed!

env | grep LD_ is empty for me

bug outdated superenv

All 4 comments

can you try removing glibc and installing it again with --env=std?

brew remove --ignore-dependencies glibc
brew install --env=std glibc

and see if that helps?

It worked! Thanks so much.

Thanks, @vkyt! We'll fix that soonish :)

I pushed a747c27aa5 which adds env :std to glibc.rb

Was this page helpful?
0 / 5 - 0 ratings