[Nasm-bugs] [Bug 3392401] New: macho64: ld: illegal text-relocation to ...for architecture x86_64

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Mon Apr 17 23:27:12 PDT 2017


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

            Bug ID: 3392401
           Summary: macho64: ld: illegal text-relocation to ...for
                    architecture x86_64
           Product: NASM
           Version: unspecified
          Hardware: All
                OS: All
            Status: OPEN
          Severity: blocker
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: nms at otdel-1.org
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us

Created attachment 411586
  --> https://bugzilla.nasm.us/attachment.cgi?id=411586&action=edit
source, obj and logs for nasm & clang internal assembler

Full error message line

ld: illegal text-relocation to '_CommonInterruptEntry' in
/Users/nms/Projects/ubench/Build/bareBoot/X64/NOOPT_XCODE8/X64/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib/OUTPUT/DxeCpuExceptionHandlerLib.lib(ExceptionHandlerAsm.obj)
from 'AsmIdtVectorBegin' in
/Users/nms/Projects/ubench/Build/bareBoot/X64/NOOPT_XCODE8/X64/UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib/OUTPUT/DxeCpuExceptionHandlerLib.lib(ExceptionHandlerAsm.obj)
for architecture x86_64

tools info

sh-3.2$ ld -v
@(#)PROGRAM:ld  PROJECT:ld64-278.4
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h
armv6m armv7k armv7m armv7em (tvOS)
LTO support using: LLVM version 8.1.0, (clang-802.0.41)
TAPI support using: Apple TAPI version 1.33.11

sh-3.2$ nasm -v
NASM version 2.13rc20 compiled on Apr 18 2017

Attachment contains two folders with nasm & clang internal assembler files --
sources, result object file and logs. bb64.log -- build log, otool.log --
relocation info for pertinent object file, tools.log -- tools info.

-- 
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