This repository has been archived by the owner. It is now read-only.

Gnu Prolog failed to build on 10.8.3 and Xcode 4.6.1 #18488

dwaite opened this Issue Mar 15, 2013 · 6 comments


None yet
3 participants

dwaite commented Mar 15, 2013

Suspected expansion of issue #12536

Fails with segmentation violation based on environment

for HOMEBREW_CC when unset, or with values llvm or clang, get a segmentation fault.

for HOMEBREW_CC=gcc, compile succeeds

Included, a run with HOMEBREW_CC unset:


adamv commented Mar 15, 2013

MacPorts seems to force gcc:

Not much we can do here other than suggest use of gcc?


jacknagel commented Mar 16, 2013

This should be tested with --env=std also, and possibly from source outside of Homebrew completely, and then reported upstream if it persists.


adamv commented May 2, 2013

Tagging with "homebrewed-gcc"; eventually we want to allow use of GCC 4.{6,7,8,whatever} from Homebrew for things that only compile w/ GCC.


adamv commented Aug 5, 2013

Builds for me on Lion with:

$ brew --config
HEAD: de9ff43b8103e3e19ec13f03e16db19b8761f6f8
HOMEBREW_PREFIX: /Users/vandenbe/brew
HOMEBREW_CELLAR: /Users/vandenbe/brew/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.6.3
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.6.5 => /usr/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /Users/vandenbe/brew/Cellar/python/2.7.5/bin/python => /Users/vandenbe/brew/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

Can anyone reproduce this with Mountain Lion?


adamv commented Aug 5, 2013

Please brew update and try again; we've made many fixes to superenv since this was opened, including fixes to select the proper compiler in various circumstances. If it still happens, provide updated build failure output.

@adamv adamv closed this Aug 5, 2013

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.