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

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Mon Feb 25 09:33:47 CST 2019


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

Joshua C. Colp updated ASTERISK-28293:
--------------------------------------

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

Is this a new source checkout, or are you using an existing one? Does "make distclean" alter things? Are you reusing an existing configuration?

> 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