Re: test10-pre1 problems on 4-way SuperServer8050

From: Cort Dougan (
Date: Thu Oct 12 2000 - 14:01:42 EST

} Hi,
} > How? If you compile with egcs-2.91.66 without frame pointers on ix86 then
} > __builtin_return_address() yields garbage. Does anybody have a generic
} > solution to this problem, other than "compile with frame pointers"? Or is
} > it fixed in newer versions of gcc?
} Are you sure? I just I tried it 2.91.66 and it works. With
} -fomit-frame-pointer only __builtin_return_address(0) works, but that is
} true for any version.

I've found, with several versions of gcc, that leaf functions will give
bad results (sometimes resulting in a bad access fault) with calls to
__builtin_return_address(0). The workaround in the kernel and RTLinux is
making a call do your function isn't a leaf.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:23 EST