[MacPorts] #58493: cctools: using clang < 5.0 as default assembler generates assembly errors in some cases
MacPorts
noreply at macports.org
Tue May 21 01:10:04 UTC 2019
#58493: cctools: using clang < 5.0 as default assembler generates assembly errors
in some cases
----------------------+----------------------
Reporter: kencu | Owner: jeremyhu
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: cctools |
----------------------+----------------------
Comment (by kencu):
I'll gradually add to this list as I fill in systems for you:
{{{
$ cat testi386asm.S
.text
.align 4,0x90
.globl _choose_tmpdir
_choose_tmpdir:
sbbl $3+_vartmp, %esi
ret
.space 254
.const
.align 2
_vartmp:
.byte 47
}}}
{{{
macOS 10.9.5 13F1911
Xcode 6.2 6C131e
$ /usr/bin/clang -v
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
$ /usr/bin/clang -arch i386 testi386asm.S
ld: in section __TEXT,__text reloc 0: unsupported r_length=0 for scattered
vanilla reloc file '/var/folders/7s/6wzny8vx3h1_nt4rpw2911200000gn/T
/testi386asm-c1569b.o' for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58493#comment:26>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list