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

George Joseph (JIRA) noreply at issues.asterisk.org
Mon Jul 18 07:29:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231462#comment-231462 ] 

George Joseph commented on ASTERISK-26205:
------------------------------------------

We had an IRC discussion about this and I confirmed the same issue on Fedora 24 and Ubuntu 16.


> 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: SVN, 11.22.0-rc1, 13.9.1
>            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