Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • cmucl cmucl
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 35
    • Issues 35
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cmucl
  • cmuclcmucl
  • Issues
  • #42

Closed
Open
Created Sep 04, 2017 by Elias Pipping@epippingContributor

Unable to build recent master

I have a working 21b binary

% lisp
CMU Common Lisp 21b (21B Unicode), running on <hostname>
With core: /usr/local/lib/cmucl/lib/lisp-sse2.core
Dumped on: Sun, 2016-10-09 17:00:56+02:00 on gondor.local
See <http://www.cmucl.org/> for support information.
Loaded subsystems:
    Unicode 1.29 with Unicode version 6.2.0
    Python 1.1, target Intel x86/sse2
    CLOS based on Gerd's PCL 2010/03/19 15:19:03
* 

Compiling 21b with it (via ./bin/build.sh -C "" -o lisp) works (until it gets to the motif/X part but I'm just ignoring that). Compiling the master branch (which is at 4312fc44 at the time of this writing), meanwhile, does not.

The error is (on macOS):

target:compiler/new-assem
;; Loading #P"/Users/pipping/cmucl/darwin-2/compiler/new-assem.sse2f".


Error in function C::%%DEFCONSTANT:  Constant MAX-ALIGNMENT being redefined.
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [CONTINUE] Go ahead and change the value.
  1:            Return NIL from load of "target:compiler/new-assem".
  2:            Return NIL from load of "target:tools/comcom".
  3: [ABORT   ] Return to Top-Level.

Debug  (type H for help)

(C::%%DEFCONSTANT MAX-ALIGNMENT
                  4
                  NIL
                  #S(C::FILE-SOURCE-LOCATION
                       :FORM-NUMBERS 15
                       :PATHNAME "target:compiler/new-assem.lisp"))
Source: 
; File: target:code/macros.lisp

; File has been modified since compilation:
;   target:code/macros.lisp
; Using form offset instead of character position.
(CERROR (INTL:GETTEXT "Go ahead and change the value.")
        (INTL:GETTEXT "Constant ~S being redefined.")
        NAME)
0] 

Bisection takes me to b6317868:

commit b63178689fa12a610910d2bff0241f8cea268213
Author: Raymond Toy <toy.raymond@gmail.com>
Date:   Sun Mar 5 15:43:56 2017 -0800

    Increase max-alignment from 3 to 4.
    
    Use boot-2017-01-1.lisp to bootstrap this change  You'll still have to
    use the CLOBBER-IT restart when loading new-assem in the first
    build. Afterwards, it should be fine.

:040000 040000 5352619ed5ce2a3cea9d5591a39c3c0d61caf5cc 18f7a3ed15534ad53179fe473ae71a1678f715ba M	bin
:040000 040000 8fe86414ccfa02b492bbd2f78921ae4dcbbeed12 260a84061036411a4bdc7cac59cb82f0290c3201 M	src

Is this expected? Should I no longer be able to do a simple build (also from 21b)? Do I need to follow the more complex building instructions now?

Edited Sep 16, 2017 by Elias Pipping
Assignee
Assign to
Time tracking