Clang is using the wrong memory model

Kai Tietz
Fri Aug 16 13:28:00 GMT 2019


Just my 5 cents to this.  As Corinna pointed out, is the case, that a
"small" memory model application works for you, no valid prove that
all application will work on such a model.  Another thing, which
cygwin depends heavily on is the pseudo-relocation stuff.  It is not
guaranteed that code distance between DSOs are in valid range here to
fit in a single instruction to be relocated.  So the distance allowed
for a "small model instruction" might be in some cases even less 4 GB.
For pseudo-relocation the large memory model is absolutely mandatory
for bigger application.


Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list