Gforth failed to build on 10.7.5 #16278

Closed
malleusinferni opened this Issue Nov 28, 2012 · 4 comments

Comments

Projects
None yet
3 participants
Contributor

malleusinferni commented Nov 28, 2012

I seem to be getting a bus error during the bootstrap stage. This is with the latest Xcode (and command line tools) and after dumping everything in /usr/local and trying a clean install.

% brew install gforth
==> Downloading http://www.complang.tuwien.ac.at/forth/gforth/gforth-0.7.0.tar.g
Already downloaded: /Library/Caches/Homebrew/gforth-0.7.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gforth/0.7.0
==> make
./preforth: line 31: 90889 Bus error: 10           $ENGINE --die-on-signal -i kernl32l.fi $path1 $path2 exboot.fs startup.fs "$@"
make[3]: *** [kernl16b.fi-] Error 138
make[2]: *** [gforth-ll] Error 2
make[1]: *** [optgforth] Error 2
make: *** [gforth] Error 2

Here's the log from my previous attempt. I used --env=std, but I see the same results without it.

Is anyone able to reproduce this on another system, especially another version of OS X?

EDIT: Welp, I tried it again to compare output down to the letter, and it worked (with --env=std) this time. I'm baffled.

Contributor

adamv commented Nov 28, 2012

brew: superenv removed: -m32 could be culprit

Contributor

adamv commented Nov 28, 2012

MacPorts is forcing a configure switch in 64-bit mode: https://trac.macports.org/browser/trunk/dports/lang/gforth/Portfile#L39

We should test this.

skrach commented Dec 3, 2012

I tried to install gforth on 10.8.2 and it fails on my machine as well:

Without --env=std:

brew install gforth
==> Downloading http://www.complang.tuwien.ac.at/forth/gforth/gforth-0.7.0.tar.g
Already downloaded: /Library/Caches/Homebrew/gforth-0.7.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gforth/0.7.0
==> make
./preforth: line 31: 96806 Bus error: 10           $ENGINE --die-on-signal -i kernl32l.fi $path1 $path2 exboot.fs startup.fs "$@"
make[3]: *** [kernl16b.fi-] Error 138
make[2]: *** [gforth-ll] Error 2
make[1]: *** [optgforth] Error 2
make: *** [gforth] Error 2

With --env=std:

brew install --env=std gforth
==> Downloading http://www.complang.tuwien.ac.at/forth/gforth/gforth-0.7.0.tar.g
Already downloaded: /Library/Caches/Homebrew/gforth-0.7.0.tar.gz
==> ./configure --prefix=/usr/local/Cellar/gforth/0.7.0
==> make
Backtrace:
$ABB24 throw 
$CD598 c(abort") 
$CDA60 compile-wrapper-function1 
make: *** [build-libcc-named] Error 1
Contributor

adamv commented Jan 5, 2013

Probably fixed in 2c5c4ee.

adamv closed this Jan 5, 2013

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.