[Bug 245069] nasm emits wrong ELF brand
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 26 11:09:31 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245069
Bug ID: 245069
Summary: nasm emits wrong ELF brand
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: unitrunker at gmail.com
$ nasm -f elf64 hello.asm
$ ld hello.o -o hello
$ ./hello
ELF binary type "0" not known.
This can be fixed with brandelf:
$ brandelf -t freebsd hello
$ ./hello
Hello world!
However, the brandelf step should not be necessary.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list