flat assembler
Message board for the users of flat assembler.
Index
> Unix > fasm-1.67.23 Segmentation fault (core dumped) on FreeBSD 6.2 |
Author |
|
LocoDelAssembly 03 Feb 2008, 03:20
Read http://board.flatassembler.net/topic.php?t=7812
Was fixed in version 1.67.24, FreeBSD ports are very outdated if it only offers to you a version released on 2007-09-08, the last one is 1.67.26 and was released on 2008-01-27 |
|||
03 Feb 2008, 03:20 |
|
codsna 04 Feb 2008, 06:24
Many thanks, LocoDelAssembly
I have fetch new version fasm-1.67.26.tgz chmod +x fasm ./fasm and got ELF binary type "0" not known. ./fasm: Exec format error. Binary file not executable. Do I need to brandelf to "LINUX" or not ? |
|||
04 Feb 2008, 06:24 |
|
LocoDelAssembly 04 Feb 2008, 15:18
Unfortunatelly you need to brand to either FreeBSD or Linux (if you have linux ABI emulation installed) http://board.flatassembler.net/topic.php?p=48143#48143
Linux itself is just happy executing ELFs branded as SYSV, but FreeBSD does not. BTW, why don't you downloaded the Unix version and linked it against libc? ( gcc -m32 -march=i386 fasm.o -o fasm ) PS: The first paragraph of this post was referring to how to make run your binaries made by fasm on FreeBSD, if you want to use the Linux package of fasm then you have to brand to Linux because it comes branded as SYSV (like any ELF produced by fasm). |
|||
04 Feb 2008, 15:18 |
|
lehox 05 Feb 2008, 04:09
The same on FreeBSD 6.3
|
|||
05 Feb 2008, 04:09 |
|
LocoDelAssembly 05 Feb 2008, 04:24
Are you guys getting the libc version? If the FreeBSD's portage is providing the Linux version then tell to the maintainers that they are providing the wrong package.
The correct package for unices other than Linux is http://flatassembler.net/fasm-1.67.26.tar.gz (flat assembler 1.67.26 for Unix/libc), not http://flatassembler.net/fasm-1.67.26.tgz (flat assembler 1.67.26 for Linux) |
|||
05 Feb 2008, 04:24 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.