[libav-bugs] [Bug 507] suncc can not compile inline asm

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Tue May 7 16:47:54 CEST 2013


--- Comment #3 from Sean McGovern <gseanmcg at gmail.com> 2013-05-07 16:47:54 CEST ---
We discovered a way to disable the Sun/Oracle linker from marking code to
require a processor with an explicit instruction set.

>From configure: 

case $target_os in
<-- snip for brevity -->
<-- snip for brevity -->
        # When using suncc to build, the Solaris linker will mark
        # an executable with each instruction set encountered by
        # the Solaris assembler.  As our libraries contain their own
        # guards for processor-specific code, instead suppress
        # generation of the HWCAPS ELF section on Solaris x86 only.
        enabled_all suncc x86 && echo "hwcap_1 = OVERRIDE;" > mapfile &&
add_ldflags -Wl,-M,mapfile

So we only disable the markings on Solaris X86 with suncc, perhaps the scope
can be widened for suncc X86 or SPARC on any OS?

Does the existing code make sure to never attempting running VIS code on a
processor that wouldn't support it?

Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list