------- Additional Comments From hjl at lucon dot org 2004-12-22 01:09 ------- It has nothing to do with -fomit-frame-pointer:
[EMAIL PROTECTED] gcc]$ cat foo.c extern char *array; void foo (unsigned int array_members) { unsigned int i; for (i = 0; i < array_members; i++) array[i] = i % 128; } [EMAIL PROTECTED] gcc]$ ./xgcc -B./ -g -O -c foo.c [EMAIL PROTECTED] gcc]$ readelf -w foo.o > /dev/null readelf: Error: Not enough comp units for .debug_loc section -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19124