[asterisk-bugs] [JIRA] (ASTERISK-28293) New Build ast_expr2fz.o Will Not Link

Benjamin Keith Ford (JIRA) noreply at issues.asterisk.org
Tue Mar 12 14:06:47 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Keith Ford updated ASTERISK-28293:
-------------------------------------------

    Assignee: Michel R. Vaillancourt  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

That's great that 16 is working for you, but very strange that 13 is not. If we are going to dig into this further, we would require further assistance from you, if you're willing, like trying to reproduce this on another machine with same environment if possible.

> New Build ast_expr2fz.o Will Not Link 
> --------------------------------------
>
>                 Key: ASTERISK-28293
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28293
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/General
>    Affects Versions: 13.24.1
>         Environment: CentOS7
>            Reporter: Michel R. Vaillancourt
>            Assignee: Michel R. Vaillancourt
>
> # make clean
> # ./configure --libdir=/usr/lib64 --with-pjproject-bundled CFLAGS=-fPIC LDFLAGS=-fPIC
> ...
> configure: Package configured for:
> configure: OS type  : linux-gnu
> configure: Host CPU : x86_64
> configure: build-cpu:vendor:os: x86_64 : pc : linux-gnu :
> configure: host-cpu:vendor:os: x86_64 : pc : linux-gnu :
> # make all 
> ... 
>   [LD] check_expr.o ast_expr2.o ast_expr2f.o strcompat.o threadstorage.o clicompat.o -> check_expr
>    [CC] ast_expr2f.c -> ast_expr2fz.o
>    [CC] ast_expr2.c -> ast_expr2z.o
>    [LD] ast_expr2fz.o ast_expr2z.o  -> check_expr2
> /usr/bin/ld: ast_expr2fz.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: ast_expr2z.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: error: ld returned 1 exit status
> make[1]: *** [check_expr2] Error 1
> make: *** [utils] Error 2



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



More information about the asterisk-bugs mailing list