[asterisk-bugs] [JIRA] (ASTERISK-27858) Cannot build static with chan_mgcp

Pablo Catalina (JIRA) noreply at issues.asterisk.org
Wed May 16 05:03:55 CDT 2018


Pablo Catalina created ASTERISK-27858:
-----------------------------------------

             Summary: Cannot build static with chan_mgcp
                 Key: ASTERISK-27858
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27858
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_mgcp
    Affects Versions: 15.4.0
         Environment: Debian Jessie (armel)
            Reporter: Pablo Catalina


Compiling asterisk on armel (debian jessie) with LOW MEM and STATIC enabled:

{code}
   [CC] chan_mgcp.c -> chan_mgcp.o
   [LD] chan_mgcp.o -> chan_mgcp.so
/usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabi/4.9/../../../arm-linux-gnueabi/libc.a(dl-tsd.o)(.text+0x18): R_ARM_TLS_LE32 relocation not permitted in shared object
/usr/lib/gcc/arm-linux-gnueabi/4.9/../../../arm-linux-gnueabi/libc.a(dl-tsd.o): In function `_dl_initial_error_catch_tsd':
(.text+0x18): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
/root/asterisk-15.4.0/Makefile.rules:176: recipe for target 'chan_mgcp.so' failed
make[1]: *** [chan_mgcp.so] Error 1
Makefile:386: recipe for target 'channels' failed
make: *** [channels] Error 2
{code}





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



More information about the asterisk-bugs mailing list