[Fontconfig-bugs] [Bug 102986] mkostemp weak linking on macOS Sierra causes a crash if library is run on 10.11 or older

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 26 03:32:50 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102986

--- Comment #5 from Akira TAGOH <akira at tagoh.org> ---
> I'm not really talking about cross-compiling. The current behavior ia the
> equivalent of running a windows 10 executable on windows 8.1 and getting a
> crash. That should be (and AFAIK _is_) an exceedingly rare occurrence.

That example makes no sense. they have the proper runtime to get things
working. in that sense, you should have libraries at the runtime which contains
mkostemp.

See what linux distributions does. they usually have packages per releases, in
some cases except when ABI/API isn't changed.

also mkostemp is preferrable more than mkstemp for security reason. I don't
know how macports works though, if providing binaries per releases is
difficult, you could maintain that patch there.

Anyway, according to what you said, it worked when they had mkostempin the
library. they broke the compatibility. then you know something which requires
missing pieces will also miss the compatibility unless rebuilding. that is my
position on this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170926/06cb81ea/attachment.html>


More information about the Fontconfig-bugs mailing list