Comments (5)
It is sufficient to start up with ccl -I saved_acl2.fx86cl64
to show that (ccl:static-cons 1 2)
fails.
from ccl.
Other observed weirdness:
? (ccl:static-cons 1 2)
(1 . 2) ;it works?
? (ccl:static-cons 1 2)
> Error: The value #<Package "X86"> is not of the expected type LIST.
> While executing: STATIC-CONS, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
;nope, it doesn't work
? (ccl:static-cons 1 2)
(1 . 2)
? (ccl:static-cons 1 2)
> Error: The value #<Unbound> is not of the expected type LIST.
> While executing: STATIC-CONS, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
from ccl.
Doing (gc)
first thing after starting up the lisp seems to avoid all of these problems, so maybe some kind of initialization bug?
from ccl.
It may be that FreeBSD's ASLR implementation (which is the default on 64-bit since 13.2) is the culprit here.
from ccl.
As of FreeBSD 13.2, I believe, ASLR (address space layout randomization; see https://www.freebsd.org/releases/14.0R/relnotes/) is on by default for 64-bit executables. Mostly CCL worked anyway, because we would relocate the saved image when we didn't get the initial IMAGE_BASE_ADDRESS that we wanted from mmap.
We were not relocating the static cons area or the head of the static cons freelist. I think I did the right thing in 23a7158 so that we handle that case now.
There's a way to opt out of the ASLR mitigation, via elfctl(1). We run that now after building the fx86cl64
binary. When ASLR is disabled, we typically don't have to relocate the lisp image.
from ccl.
Related Issues (20)
- seemingly silly strength reduction miss HOT 1
- Document cross-compilation process
- stack overflow when wild pathname on asdf:*central-registry* HOT 1
- GENTEMP isn't thread safe
- When build 3d-math package, get an error: CCL::COMPLIER-FUNCTION-OVERFLOW HOT 2
- Non-terminating character macro for #\- breaks #: reader. HOT 2
- remove obsolete %temp-cons
- long form define-method-combination problem HOT 4
- Compiler bug involving tag collision and labels function inlining HOT 1
- `ccl:macroexpand-all` stops at `locally`
- Format ~E causes an error HOT 3
- %apply-in-frame has bitrotted HOT 1
- defstruct slot initforms don't capture lexical environment HOT 1
- Name of the ccl executable
- Debian packaging HOT 1
- Invalid memory operations in the IDE
- TCP sockets stop working after a few writes, "Bad file descriptor (error #9) during write" HOT 18
- Socket reading seems to be really slow (or backed up) HOT 6
- socket-address-family never returns :internet6 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccl.