flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Unix > Link Error With Fasm 1.67 on FreeBSD 6

Author
Thread Post new topic Reply to topic
daver



Joined: 26 Oct 2005
Posts: 11
Link Error With Fasm 1.67 on FreeBSD 6
Hi

Not sure if this is a problem with my setup or not, but latest Fasm ( 1.67 dated 30 June ) gives me a link error when I try to link it.

Here is the complete error message I get :

$ gcc -v -o fasm fasm.o
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.4 [FreeBSD] 20050518
/usr/bin/ld -V -dynamic-linker /libexec/ld-elf.so.1 -o fasm /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib fasm.o -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
GNU ld version 2.15 [FreeBSD] 2004-05-23
Supported emulations:
elf_i386_fbsd
/usr/bin/ld: final link failed: Bad value

Incedentaly Fasm assembles itself just fine, but still emits same error at link time.

Cheers

Dave
Post 01 Jul 2006, 01:13
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6303
Location: Kraków, Poland
Thanks for the report - when implementing a new feature for ELF64, I broke the ELF32. Fixed in 1.67.2.
Post 01 Jul 2006, 12:09
View user's profile Send private message Visit poster's website Reply with quote
daver



Joined: 26 Oct 2005
Posts: 11
Hi

Thanks Thomasz, that certainly did fix it Very Happy .

Cheers

Dave
Post 01 Jul 2006, 13:35
View user's profile Send private message Reply with quote
codsna



Joined: 08 Aug 2007
Posts: 10
please see

this is just for amd64 my build on freebsd 6.2

http://board.flatassembler.net/topic.php?t=7477
Post 16 Aug 2007, 06:42
View user's profile Send private message 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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.