Summary: | ASTERISK-24932: Asterisk 13.x does not build with GCC 5.0 | ||
Reporter: | Jeffrey C. Ollie (jcollie) | Labels: | |
Date Opened: | 2015-04-01 16:37:53 | Date Closed: | 2015-04-06 15:36:12 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Core/BuildSystem |
Versions: | 13.1.1 13.3.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Fedora Rawhide | Attachments: | ( 0) build_errors.txt ( 1) errors2.txt ( 2) gcc5.rc1.patch ( 3) gcc5.rc2.patch |
Description: | Fedora recently switched to GCC 5.0 (to be released in Fedora 23). Asterisk 13.x does not build with GCC 5.0.
RH bug: https://bugzilla.redhat.com/show_bug.cgi?id=1195304 Build log of 13.3.0: https://kojipkgs.fedoraproject.org//work/tasks/4722/9394722/build.log Tried building with 13.1.1 but had same problem. | ||
Comments: | By: Scott Griepentrog (sgriepentrog) 2015-04-01 17:51:43.316-0500 Confirmed and attached build errors on Fedora 22 alpha system. By: George Joseph (gjoseph) 2015-04-02 14:10:31.225-0500 The big issue was the C99 inline sematics although there are a few little new errors. There's a hack in main/dsp.c that I still need to fix so really I just want to know if this compiles OK. By: George Joseph (gjoseph) 2015-04-02 14:11:01.142-0500 Can you test the patch? By: Scott Griepentrog (sgriepentrog) 2015-04-02 14:19:21.327-0500 -With patch, still getting errors2.txt- After rechecking, there are no errors. Operator error. By: George Joseph (gjoseph) 2015-04-02 17:00:59.467-0500 Updated patch with better dsp.c fix. By: Jeffrey C. Ollie (jcollie) 2015-04-06 15:14:16.377-0500 With the rc2 patch the Fedora packages a building again. http://koji.fedoraproject.org/koji/taskinfo?taskID=9423249 |