[Nasm-bugs] [Bug 3392780] New: error: expression is not simple or relocatable from %pragma macho subsections_via_symbols

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed Sep 1 16:25:20 PDT 2021


https://bugzilla.nasm.us/show_bug.cgi?id=3392780

            Bug ID: 3392780
           Summary: error: expression is not simple or relocatable from
                    %pragma macho subsections_via_symbols
           Product: NASM
           Version: 2.15.xx
          Hardware: All
                OS: Mac OS
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: afish at apple.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

Created attachment 411826
  --> https://bugzilla.nasm.us/attachment.cgi?id=411826&action=edit
repo script

When using nasm to make a mach-O I have one file from TianoCore that fails via
"error: expression is not simple or relocatable" if subsections_via_symbols is
turned on. 

$ cat b.sh
nasm -v
nasm -f macho32 -o Thunk16.works.obj Thunk16.works.iii
nasm -f macho32 -o Thunk16.obj Thunk16.iii
$ ./b.sh
NASM version 2.15.05 compiled on Aug 28 2020
Thunk16.iii:55: error: expression is not simple or relocatable

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.


More information about the Nasm-bugs mailing list