Looks like this emsdk-filed issue: https://github.com/emscripten-core/emsdk/issues/405
On Wed, Dec 18, 2019 at 3:45 PM 'Sam Clegg' via emscripten-discuss < [email protected]> wrote: > I think you are correct, looks like a bug in fstatfs. I can't see any > tests for that syscall so it not surprising. Would you mind opening a bug? > > On Tue, Dec 10, 2019 at 1:21 AM stéphane conversy <[email protected]> > wrote: > >> Hi, trying to port fontconfig, I get 'ReferenceError: ___syscall is not >> defined', possibly when calling fstats64: >> >> >> function ___syscall269(which, varargs) {SYSCALLS.varargs = varargs; >> try { >> // fstatfs64 >> var stream = SYSCALLS.getStreamFromFD(), size = SYSCALLS.get(), buf >> = SYSCALLS.get(); >> return ___syscall([268, 0, size, buf], 0); >> } catch (e) { >> if (typeof FS === 'undefined' || !(e instanceof FS.ErrnoError)) >> abort(e); >> return -e.errno; >> } >> >> >> I could not find any reference to this problem, did I miss something? >> >> Cheers, >> >> Stéphane >> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/emscripten-discuss/6535fc23-686a-4c4e-9892-bb662a481ff9%40googlegroups.com >> <https://groups.google.com/d/msgid/emscripten-discuss/6535fc23-686a-4c4e-9892-bb662a481ff9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2-fGLG0HMbjmc38d7%2B%3DRDo2A1Lc6-d35D9k3FZVmNodVg%40mail.gmail.com > <https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2-fGLG0HMbjmc38d7%2B%3DRDo2A1Lc6-d35D9k3FZVmNodVg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpS%3D%2B55DrfyObPw_vaJa9VgQsTjd8iJrMMYLZfckuP43Bw%40mail.gmail.com.
