Comments (4)
To narrow it down a bit, -O1
is ok, -Os
fails.
from self.
So the failure being related to frames was a broad hint and, indeed, -fno-optimize-sibling-calls
helps. But the time to load the world and to do --runAutomaticTests
is significantly worse for -Os -fno-optimize-sibling-calls
than for -O1
.
from self.
I wonder how much the higher -O levels above -O1 are actually buying us.
I'm having issues getting NetBSD Sparc to run on Qemu (I don't have Sparc hardware anymore) but I'll have a look at this as soon as I get it running.
from self.
Beware that sparc needs a few tweaks, that I think I mentioned in the PR
- a local copy of
.mul
invm/src/sparc/prims/asmPrims_sparc.S
b/c v8 stub on NetBSD doesn't follow the.mul
ABI (#152) that nothing in the gcc generated code relies on, but Self does. I should probably do a PR that provides one for the very unlikely case that someone runs it on v7 and do a v8 multiplication otherwise - workaround for #149 - for which I currently use a version of libc compiled with phk malloc instead of jemalloc (
USE_JEMALLOC=no
) with an additional implementation of__je_sallocx
used bytrue_size_of_malloced_obj
invm/src/any/runtime/allocation.cpp
(it pokes in malloc internals, so no easy way to provide it out of band)
from self.
Related Issues (20)
- Building on Windows HOT 2
- Doing two "make" one-after-the-other still rebuilds part of the project HOT 3
- 'string capitalizeAll' doesn't work for numbers HOT 4
- Windows prebuilt binary / installer on site HOT 3
- Website Down HOT 1
- Linux pre-built: fails to start gui on ubuntu18.04.2 x86-64 HOT 7
- Disappointing performance on a simple loop HOT 5
- Java port (and full implementation tutorial to save the language) HOT 1
- Doesn't run on macOS Catalina 64 bit HOT 1
- Will you add Apple Silicon (M1) support? HOT 1
- Memory allocation issues on Linux
- tests runSelfSuite tries to run ui1 tests even if ui1 not present
- precompiled header rule misses build type flags HOT 3
- NetBSD/i386 crashes in Spy HOT 3
- Feature: PowerPC ELF
- Sparc: Don't use `%g7` in the JIT compiled code
- Restartable syscalls on BSDs
- Sparc: work around NetBSD bug in the v8 stub for `.mul`
- Annoying warning when compiling VM HOT 3
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 self.