[asterisk-bugs] [JIRA] (ASTERISK-26205) clang: BlocksRuntime does not link on Fedora 23

Corey Farrell (JIRA) noreply at issues.asterisk.org
Sun Jul 17 21:03:56 CDT 2016


Corey Farrell created ASTERISK-26205:
----------------------------------------

             Summary: clang: BlocksRuntime does not link on Fedora 23
                 Key: ASTERISK-26205
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26205
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/BuildSystem
    Affects Versions: 13.9.1, 11.22.0-rc1, SVN
            Reporter: Corey Farrell
            Severity: Minor


Fedora 23 with clang / llvm installed, also libBlocksRuntime.a from https://github.com/mackyle/blocksruntime.  Configure Asterisk with:
{{CC=clang ./configure --enable-dev-mode}}

This fails because {{-lBlocksRuntime}} does not work correctly.  For some reason on Fedora 23 you must use {{-Wl,-lBlocksRuntime}}.  Although both options pass {{-lBlocksRuntime}} to the linker, the {{-Wl,}} variant adds the parameter last.

I'll post a patch once I've had a chance to do some testing on the build result from clang.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list