flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > [solved] [fasmg] Wrong output filenames under Linux

Author
Thread Post new topic Reply to topic
GamoveR



Joined: 19 May 2019
Posts: 2
GamoveR 20 May 2019, 08:59
I noticed bug when use fasmg in 64 bits Linux.
When output full filename has length 4 + 8*i, i >= 1 (for example 'test1234.obj'), fasmg append it with '0' (or other strange symbols if there are '-i' switch placed after output filename).

Also, when the same length has input filename, fasmg emit error 'source file not found'. Probably its also append input filename with something, and try to find than file, which does not exist.

I placed fasmg in /usr/share/fasmg, and use follow command for assembling:
INCLUDE=/usr/share/fasmg/examples/x86/include/ fasmg test.asm test1234.obj

PS: My system is Linux Mint Debian Edition 3 (Cindy), kernel 4.19.0-0.bpo.1-amd64
Post 20 May 2019, 08:59
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 20 May 2019, 09:30
Thank you for the report! It's a mistake in one of the routines that I have written live on stream, apparently I was too much in a hurry. Smile

It is fixed now.
Post 20 May 2019, 09:30
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20430
Location: In your JS exploiting you and your system
revolution 20 May 2019, 10:14
Tomasz Grysztar wrote:
It is fixed now.
Are you aware that all your fasmg repo links go to the honeypot? Sad
Post 20 May 2019, 10:14
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 20 May 2019, 10:43
revolution wrote:
Tomasz Grysztar wrote:
It is fixed now.
Are you aware that all your fasmg repo links go to the honeypot? Sad
Hmm, perhaps we should downgrade the version of Fossil on the server then...
Post 20 May 2019, 10:43
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20430
Location: In your JS exploiting you and your system
revolution 20 May 2019, 11:09
Tomasz Grysztar wrote:
Hmm, perhaps we should downgrade the version of Fossil on the server then...
I'm not well versed in fossil, but I thought it was a setting.

This page doesn't help much to explain it though. It makes it look like the only options are either no links, or all links require JS.


Last edited by revolution on 01 Jun 2019, 04:30; edited 1 time in total
Post 20 May 2019, 11:09
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8357
Location: Kraków, Poland
Tomasz Grysztar 20 May 2019, 16:38
revolution wrote:
I'm not well versed in fossil, but I thought it was a setting.
Well, let me try...
Post 20 May 2019, 16:38
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20430
Location: In your JS exploiting you and your system
revolution 01 Jun 2019, 04:29
Tomasz Grysztar wrote:
revolution wrote:
I'm not well versed in fossil, but I thought it was a setting.
Well, let me try...
The site is working now. Smile
Post 01 Jun 2019, 04:29
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.