Re: [List-hacking] Trampoline warning for dict.c, proto-srv.c:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

    Trampoline problem seems to be a GCC bug which was actually crippling
from gcc-3.4.x series. Was there till gcc-4.0.x, but has been fixed
recently in gcc-4.1.1 and gcc-4.1.2. Same was observed while compiling
linux kernel, for gcc older versions. A Compiler driven bug, so
nothing to worry about :).

Regards
-- 
Harshavardhana
"Software gets slower faster as Hardware gets faster"

> Hi all,
>
>   While compiling over GCC-4.1 there was new warning i observed.
>   "warning: getting trampoline in object (requires executable stack)".
>
>    well looks from GCC-4.x documentation they are quite a lot strict about
> nested functions. It might be needed to INITIALIZE_TRAMPOLINE macro for
> one of these funtions like the one used in
> 1. dict.c Line 730 auto void _copy(...,...);
> 2. proto-srv.c Line 2368 void check_and_set (..., ...);
>
> This looks very compiler driven funda of handling FAT function pointers
> which carry both code address and the static link? .. any one have
> comments?.
>
> please refer http://gcc.gnu.org/onlinedocs/gccint/Trampolines.html.
>
> Regards
>
> --
> Harshavardhana
> "Software gets slower faster as Hardware gets faster"
>
>
> _______________________________________________
> list-hacking mailing list
> list-hacking@xxxxxxxxxxxxx
> http://zresearch.com/cgi-bin/mailman/listinfo/list-hacking
>
>







[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux