Even a simple program like this fails in the esm version of nasm

```
    DEFAULT REL
    SECTION .text

global _start
_start:
    mov rax, 60
    mov rdi, 0
    syscall
```

as test.nasm


```
$ nasm -f elf64 test.nasm
$ ld test.o -o test
$ ./test
```
this works on 
```
$ apt-cache policy nasm
nasm:
  Installed: 2.16.01-1build1
  Candidate: 2.16.01-1build1
  Version table:
 *** 2.16.01-1build1 500
        500 http://in.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status
     2.15.05-1 500
        500 http://security.ubuntu.com/ubuntu jammy/universe amd64 Packages
```
but fails on 
```
$ apt-cache policy nasm
nasm:
  Installed: 2.16.01-1ubuntu0.1~esm1
  Candidate: 2.16.01-1ubuntu0.1~esm1
  Version table:
 *** 2.16.01-1ubuntu0.1~esm1 100
        100 /var/lib/dpkg/status
     2.16.01-1build1 500
        500 http://in.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
     2.15.05-1 500
        500 http://security.ubuntu.com/ubuntu jammy/universe amd64 Packages
```

as

```
$ nasm -f elf64 test.nasm
test.nasm:1: error: parser: instruction expected
test.nasm:2: error: parser: instruction expected
test.nasm:4: error: parser: instruction expected
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151861

Title:
  nasm (2.16.01-1ubuntu0.1~esm1) causing build failures of edk2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nasm/+bug/2151861/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to