} 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 [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: test10-pre1 problems on 4-way SuperServer8050 Tigran Aivazian
- Re: test10-pre1 problems on 4-way SuperServer8050 Rik van Riel
- Re: test10-pre1 problems on 4-way SuperServer8050 Linus Torvalds
- Re: test10-pre1 problems on 4-way SuperServer8050 Tigran Aivazian
- Re: test10-pre1 problems on 4-way SuperServer8050 Matti Aarnio
- Re: test10-pre1 problems on 4-way SuperServer8050 Tigran Aivazian
- Re: test10-pre1 problems on 4-way SuperServer8050 Markus
- Re: test10-pre1 problems on 4-way SuperServer8050 Tigran Aivazian
- Re: test10-pre1 problems on 4-way SuperServer8050 Keith Owens
- Re: test10-pre1 problems on 4-way SuperServer8050 Roman Zippel
- Re: test10-pre1 problems on 4-way SuperServer8050 Cort Dougan
- Re: test10-pre1 problems on 4-way SuperServer8050 Tigran Aivazian
- Re: test10-pre1 problems on 4-way SuperServer8050 Keith Owens
- Re: test10-pre1 problems on 4-way SuperServer8050 Panu Matilainen
- [fixed (well, it works)]Re: test10-pre1 problems on 4-way... Tigran Aivazian
- Re: [fixed (well, it works)]Re: test10-pre1 problems on 4... Tigran Aivazian
- eepro100 problem [was: Re: test10-pre1 problems on 4-way ... Andrey Savochkin
- Re: test10-pre1 problems on 4-way SuperServer8050 Rik van Riel
- Re: test10-pre1 problems on 4-way SuperServer8050 Richard Guenther
- Re: test10-pre1 problems on 4-way SuperServer8050 Rik van Riel
- Re: test10-pre1 problems on 4-way SuperServer8050 Richard Guenther