Clang is using the wrong memory model

Kai Tietz ktietz70@googlemail.com
Fri Aug 16 13:28:00 GMT 2019


Hey,

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.

Kai

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list