|Summary:||ASTERISK-03655: [patch] Makefile change to allow compiling using gcc4|
|Date Opened:||2005-03-08 18:31:27.000-0600||Date Closed:||2011-06-07 14:12:00|
|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 ******
|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.