18:07:01
Colleen
ok, everything stubbed out
18:07:01
karlosz
ok, everything stubbed out
18:07:17
Colleen
now its complaininhg about not being able to relocate something in arm64-assem.S
18:07:17
karlosz
now its complaininhg about not being able to relocate something in arm64-assem.S
18:07:26
Colleen
going to enable gcc-tls and see what happens
18:07:26
karlosz
going to enable gcc-tls and see what happens
18:08:13
Colleen
actually, could you explain what is going on with the nsp stuff?
18:08:13
karlosz
actually, could you explain what is going on with the nsp stuff?
18:08:28
Colleen
so when the runtime gets built as src/runtime/sbcl, that's not something the switch can execute yet, right?
18:08:28
karlosz
so when the runtime gets built as src/runtime/sbcl, that's not something the switch can execute yet, right?
18:08:38
Colleen
you need to turn that into an nsp?
18:08:38
karlosz
you need to turn that into an nsp?
18:09:08
Colleen
so src/runtime/sbcl is the elf. what does the nsp do?
18:09:08
karlosz
so src/runtime/sbcl is the elf. what does the nsp do?
18:09:40
shinmera
The NSP includes the "filesystem" with the data the program needs, the switch runtime and other shared libraries, the actual executable, an application manifest for the metadata and permissions, and a graphic for the app menu.
18:10:07
shinmera
it's probably also signed in some way.
18:10:10
Colleen
so its a sandbox with everything in the place it expects
18:10:10
karlosz
so its a sandbox with everything in the place it expects
18:11:01
shinmera
the bundling is what the nxdeploy makefile is responsible for.
18:12:19
Colleen
argh the assembler syntax is different
18:12:19
karlosz
argh the assembler syntax is different
18:13:05
Colleen
seems like a mingw thing?
18:13:05
karlosz
seems like a mingw thing?
18:13:20
shinmera
mingw shouldn't be involved at all
18:13:59
Colleen
i mean the clang assembler for nx ius different
18:13:59
karlosz
i mean the clang assembler for nx ius different
18:14:12
Colleen
it barfs on .type directives
18:14:12
karlosz
it barfs on .type directives
18:14:17
Colleen
how quickly can i comment these out...
18:14:17
karlosz
how quickly can i comment these out...
18:20:36
Colleen
i don't know how to use sed, so i asked chatgpt to give me some commands to comment out.type and .size directives
18:20:36
karlosz
i don't know how to use sed, so i asked chatgpt to give me some commands to comment out.type and .size directives
18:23:13
Colleen
wooo, shrinkwrap binary made
18:23:13
karlosz
wooo, shrinkwrap binary made
18:23:17
Colleen
now to try t run it....
18:23:17
karlosz
now to try t run it....
18:24:36
Colleen
MakeNso INPUT='../sbcl/src/runtime/sbcl', OUTPUT='code/main' The alignment for section lisp.core exceeds 4 KB. (0xlisp.core)
18:24:36
karlosz
MakeNso INPUT='../sbcl/src/runtime/sbcl', OUTPUT='code/main' The alignment for section lisp.core exceeds 4 KB. (0xlisp.core)
18:24:50
Colleen
when running make sbcl to get the nsp
18:24:50
karlosz
when running make sbcl to get the nsp
18:25:19
Colleen
might be a page size issue...
18:25:19
karlosz
might be a page size issue...
Friday, 26th of May 2023, 5:47:34 UTC