gluster-devel
[Top][All Lists]
Advanced

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

[Gluster-devel] Trampoline warning for dict.c, proto-srv.c:


From: Harshavardhana
Subject: [Gluster-devel] Trampoline warning for dict.c, proto-srv.c:
Date: Fri, 9 Mar 2007 18:29:49 +0530 (IST)
User-agent: SquirrelMail/1.4.4

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"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]