Sunagatov Denis

Results 104 comments of Sunagatov Denis

The compilation is deterministic, so it is not random. All of the files in the project are type checked in topological order. Within a single package, the files are sorted...

@karl-zylinski you don't seem to be using `when` blocks so maybe this deserves to be its own separate issue?

Identified the source of the issue. * `base/runtime/core.odin:755`: Initializes the default temp allocator as a reference to `global_default_temp_allocator_data`. * `base/runtime/core_builtin.odin:52`: This variable is thread local, meaning it's accessed via the...

I'll proceed with working on solidifying the stance on the thread locals in Linux w/o libc. I think this should be the correct set of changes: 1. Adding an error...

Have you perhaps forgotten to build Odin? ``` $ git checkout master $ git pull $ ./build_odin.sh release $ odin run examples/bug -no-crt -no-thread-local -default-to-nil-allocator lorem ipsum ``` When ran...

> `lib64/ld-linux-x86-64.so.2` It is involved because you are running an executable. This. so file the dynamic loader, i. e. the thing that is launched by the kernel directly when you...

> So for testing I made the following change > [...] > This might all be totally bogus though. Yes, and I would not recommend running your executables without a...

> bfd removes the dynamic linker It removes the `.interp` section, your program might still be running through a dynamic linker. You may not be able to catch its execution...

`starti` doesn't skip execution of the dynamic linker iirc. Also yeah I got confused, I thought you were the OP haha