~vdupras/duskos-discuss

2 2

v13 usermode fails to compile

Details
Message ID
<CADfQ9L_wi=qx_TQKa0nVJsEQ1qQ9q2a6xW6z-1f1r4bvHV6mSA@mail.gmail.com>
DKIM signature
pass
Download raw message
After I run make in duskos/ and generating ./dusk, I ran make in
usermode and the build failed. It says that "asm/i386.fs path not
found". And indeed that file is not in asm/ .

REPRODUCTION STEPS
git clone https://git.sr.ht/~vdupras/duskos
cd duskos
make
cd usermode
make

EXPECTED RESULT
creating a working binary of ./dusk, ./dusk-curses etc.

BUGGY BEHAVIOUR
compilation fails with this message:

cc -DARCH_i386 -DPLAT_linux -m32  execchk.c -o execchk
../dusk -e -f ../makekernel.fs < kernel-i386.fs > kernel
asm/i386.fs path not foundR00 0000016c R01 00006e58 R02 00000000 R03
00000000 R04 00000000 R05 00000000 R06 00000000 R07 01ffff00
R08 00000064 R09 00000000 R10 01fff6fc R11 00000000 R12 00000000 R13
01fffeac R14 0000df90 R15 02000001 CPSR 20000000
PS
RS 0000dfb0 0000dff4 0001286c 0000e6ac 0000e8e4 000083b4 000087d8
00000001 00000008 2f6d7361 36383369 00008888 00000000 0000bb9c
0000739c ffff945a 0020baf7 00000000 0000bc3c 0000bcac 00000000
Dumping memory to memdump.
make: *** [common.mk:22: kernel] Error 255

I also tested in v12 and the right files were generated, and
./dusk-curses and ./dusk-sdl worked correctly

I hope this email gets to you, this is my first time trying to submit
a bug report to sourcehut
Details
Message ID
<cd58f415-dcd0-4931-87a3-a1a02a3c4f8a@gmx.de>
In-Reply-To
<CADfQ9L_wi=qx_TQKa0nVJsEQ1qQ9q2a6xW6z-1f1r4bvHV6mSA@mail.gmail.com> (view parent)
DKIM signature
pass
Download raw message
Hello polifemo,


Am 18.11.2024 um 23:08 schrieb polifemo:
> After I run make in duskos/ and generating ./dusk, I ran make in
> usermode and the build failed. It says that "asm/i386.fs path not
> found". And indeed that file is not in asm/ .
>
> REPRODUCTION STEPS
> git clone https://git.sr.ht/~vdupras/duskos
> cd duskos
> make
> cd usermode
> make


In fact, you are testing current master and not v13.

Try this

git checkout v13
git clean -fdx


then build again. Works for me. Broken in commit
ee6787f496833a3ef027ee7d178a84e395e35286.



Regards,


Michael
Details
Message ID
<CADfQ9L-iBiDYu_hkinEcE6YPVKer0A511Rm3dqYiH_BT_+LP_Q@mail.gmail.com>
In-Reply-To
<cd58f415-dcd0-4931-87a3-a1a02a3c4f8a@gmx.de> (view parent)
DKIM signature
pass
Download raw message
Thanks! you were right, I was pointing to the wrong version.
I did your commands and it worked flawlessly

On Mon, Nov 18, 2024 at 5:41 PM Michael Schierl <schierlm@gmx.de> wrote:
>
> Hello polifemo,
>
>
> Am 18.11.2024 um 23:08 schrieb polifemo:
> > After I run make in duskos/ and generating ./dusk, I ran make in
> > usermode and the build failed. It says that "asm/i386.fs path not
> > found". And indeed that file is not in asm/ .
> >
> > REPRODUCTION STEPS
> > git clone https://git.sr.ht/~vdupras/duskos
> > cd duskos
> > make
> > cd usermode
> > make
>
>
> In fact, you are testing current master and not v13.
>
> Try this
>
> git checkout v13
> git clean -fdx
>
>
> then build again. Works for me. Broken in commit
> ee6787f496833a3ef027ee7d178a84e395e35286.
>
>
>
> Regards,
>
>
> Michael
>
Reply to thread Export thread (mbox)