| Summary: | ASTERISK-03655: [patch] Makefile change to allow compiling using gcc4 | ||
| Reporter: | goatmilk (goatmilk) | Labels: | |
| Date Opened: | 2005-03-08 18:31:27.000-0600 | Date Closed: | 2011-06-07 14:12:00 |
| Priority: | Trivial | Regression? | No |
| Status: | Closed/Complete | Components: | Core/General |
| Versions: | Frequency of Occurrence | ||
| Related Issues: | |||
| Environment: | Attachments: | ( 0) zaptelgcc4.patch.txt | |
| Description: | the current Makefile has a CFLAG of -O4, which breaks the kernel __init and __exit macros. This patch allows the -O4 only on non-gcc4 compiling. The problem results in undefined symbols for all module entry/exit functions. Note: -O3 breaks as well. There is also an -O2, which I believe will suffice. ****** ADDITIONAL INFORMATION ****** disclaimed | ||
| Comments: | By: Brian West (bkw918) 2005-03-09 01:47:21.000-0600 Lets address this when GCC4 is released. This my be a gcc4 bug or a workaround is needed. Thanks, /b | ||