clisp build failure: C_CODE_ALIGNMENT is wrong #14698

Closed
Benabik opened this Issue Sep 4, 2012 · 9 comments

Comments

Projects
None yet
5 participants
Contributor

Benabik commented Sep 4, 2012

clisp refuses to build. Full log is here, but it seems to provide advice on how to fix it... I don't have the time right now to try to fix the formula.

./lisp.run -B . -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 2MW -lp  -x '(and (load "init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)'
C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x10b63c7ef.
Add -falign-functions=4 to CFLAGS in the Makefile.
Contributor

adamv commented Sep 4, 2012

Does brew install --use-llvm clisp work?

Contributor

MindTooth commented Sep 4, 2012

Been talked about before #10370. Care to check if the flags works with the new env updates?

Contributor

Benabik commented Sep 4, 2012

@adamv - No it still fails, apparently identically, with --use-llvm

@MindTooth - It looks like the remove_from_cflags patch was already merged, and I'm using the most recent formulae.

Contributor

jacknagel commented Sep 4, 2012

Does it work with --env=std?

Contributor

Benabik commented Sep 4, 2012

@jacknagel - It does!

Contributor

jacknagel commented Sep 6, 2012

ping @mxcl superenv

mxcl was assigned Sep 13, 2012

Member

mxcl commented Sep 13, 2012

I have confirmed that if you prevent superenv massaging the args passed to cc, the build works. Mysterious. It doesn't appear to remove anything essential (IMO). I will figure out the exact issue.

Member

mxcl commented Oct 1, 2012

Yeah, works fine if we remove -Os from supercc. Fix coming.

mxcl closed this in f14b572 Oct 1, 2012

@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012

@mxcl mxcl Clisp doesn't like -Os; Fixes #14698
superenv isn't flexible here yet, and I'd rather wait and see what else is needed before making it flexible in this way.
5029a33

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.