[asterisk-bugs] [JIRA] (ASTERISK-25354) Unable to compile any version

Private Name (JIRA) noreply at issues.asterisk.org
Mon Aug 31 13:13:33 CDT 2015


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

Private Name commented on ASTERISK-25354:
-----------------------------------------

This may be related to the issue
with Kernel
4.1.5-200.fc22.x86_64
I get this every few minutes
[617468.580902] asterisk[1288114]: segfault at 0 ip           (null) sp 00007f845d8ba510 error 14 in asterisk[400000+2ca000]
There is no codec g729 loaded, pure asterisk GIT-11-59636e8M
My theory is that in FC 22, the compiler actually catches something, hence it fails to compile. in FC 20, it works, but it crashes. I will upload a backtrace as soon as I get one.


> Unable to compile any version
> -----------------------------
>
>                 Key: ASTERISK-25354
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25354
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Features
>    Affects Versions: 11.19.0
>         Environment: Fedora Core 22
>            Reporter: Private Name
>            Assignee: Unassigned
>
> I get a buhch of errors when compiling. Same errors in version 12 and 1.8
> The errors come in different components.
> I download Asterisk like this:
> svn co http://svn.digium.com/svn/asterisk/branches/11 asterisk
>  gcc --version
> gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
> cat /etc/issue
> Fedora release 22 (Twenty Two)
> Kernel \r on an \m (\l)
> After downloading I see>
> Checked out external at revision 469.
> Checked out revision 1207.
> Checked out revision 434725.
> features.c: In function 'feature_interpret':
> features.c:3729:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    ast_copy_flags(&features, &(config->features_caller), AST_FLAGS_ALL);
>                                                      ^
> features.c:3733:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    ast_copy_flags(&features, &(config->features_callee), AST_FLAGS_ALL);
>                                                      ^
> features.c:3725:19: note: 'features' was declared here
>   struct ast_flags features;
>                    ^
> cc1: all warnings being treated as errors
> /usr/src/asterisk/Makefile.rules:103: recipe for target 'features.o' failed
> make[1]: *** [features.o] Error 1
> Makefile:387: recipe for target 'main' failed
> make: *** [main] Error 2
> CC="gcc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
> make[1]: Entering directory '/usr/src/asterisk/menuselect'
> make[1]: 'makeopts' is up to date.
> make[1]: Leaving directory '/usr/src/asterisk/menuselect'
>    [CCi] features.i -> features.o
> features.c: In function 'feature_interpret':
> features.c:3729:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    ast_copy_flags(&features, &(config->features_caller), AST_FLAGS_ALL);
>                                                      ^
> features.c:3733:53: error: 'features.flags' may be used uninitialized in this function [-Werror=maybe-uninitialized]
>    ast_copy_flags(&features, &(config->features_callee), AST_FLAGS_ALL);
>                                                      ^
> features.c:3725:19: note: 'features' was declared here
>   struct ast_flags features;
>                    ^
> cc1: all warnings being treated as errors
> /usr/src/asterisk/Makefile.rules:103: recipe for target 'features.o' failed
> make[1]: *** [features.o] Error 1
> Makefile:387: recipe for target 'main' failed
> make: *** [main] Error 2



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



More information about the asterisk-bugs mailing list