Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

clisp build failure: C_CODE_ALIGNMENT is wrong #14698

Closed
Benabik opened this Issue · 9 comments

5 participants

@Benabik

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.
@adamv
Owner

Does brew install --use-llvm clisp work?

@MindTooth

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

@Benabik

@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.

@jacknagel
Owner

Does it work with --env=std?

@Benabik

@jacknagel - It does!

@jacknagel
Owner

ping @mxcl superenv

@mxcl mxcl was assigned
@mxcl
Collaborator

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.

@mxcl
Collaborator

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

@mxcl mxcl closed this issue from a commit
@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.
f14b572
@mxcl mxcl closed this in f14b572
@allenhuang allenhuang referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@theirix theirix referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@snakeyroc3 snakeyroc3 referenced this issue from a commit in snakeyroc3/homebrew
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.