Comments (2)
I've been working on 2.0 ABI support for the last week or so, and have added a simple fix for this, but you might do something better. For instnce, I was wondering if it might make sense to check for both the expected prefix (depending on how base was compiled) and if that fails for the other possible prefix. If we find the class using the wrong prefix, we could abort with an error message because we know we are somehow linked with code which was compiled for the wrong ABI. I didn't do that because I don't know if it would really be useful (perhaps the linker or the runtime would have detected errors before gnustep-base ever gets a chance).
from libs-base.
I think your "simple fix" is just the right one – libobjc2 doesn't support binaries mixing modules compiled with pre-2.0 and 2.0 ABIs (__objc_load()
will abort when it detects that).
Many thanks!
from libs-base.
Related Issues (20)
- NSISO8601DateFormatter generates noncompliant strings HOT 1
- Speedup CI by using prebuild debian packages HOT 3
- -[NSTask launch] fails to close all file descriptors in child HOT 5
- Update Dependencies in Texinfo HOT 1
- Notes for next Release (1.30.0) HOT 4
- -[NSArray filteredArrayUsingPredicate:] should ignore NSNull values HOT 4
- [autogsdoc] cumulative issues
- NSBundle loads resources from the wrong version HOT 18
- awakeFromNib is implemented on NSObject (category in AppKit) and not on NSView HOT 1
- Avahi code doesn't compile HOT 2
- Failing tests on Alpine Linux HOT 25
- -[NSNotificationCenter addObserverForName:object:queue:usingBlock:] has a leak HOT 1
- Writing file atomically vs. not leads to different permissions HOT 8
- libasan detects leaks HOT 5
- NSJSONSerialization returns nil for certain strings with Unicode sequences HOT 2
- The second NSOperation added to an NSOperationQueue sometimes doesn't run until first operation is finished HOT 1
- Spurious NSURL test failures on Windows x64 MSVC HOT 7
- Exception when initializing NSLocale with dash-separated identifier HOT 2
- Deadlock and Increasing Memory Leak in NSURLConnection/test02 on Windows on ARM64 HOT 2
- Deadlock in NSUserDefaults 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 libs-base.