Hey Dan,

Glad it's not a freeipmi issue.  That is quite odd though.

Al

On Tue, 2010-08-17 at 13:04 -0700, Dan Lukes wrote:
> On 08/16/10 22:40, Albert Chu:
> >>> This should already be handled.
> 
> You are true, problem is elsewhere.
> 
> I croped the sources to just:
> -----------------------------------
> int main (int argc, char **argv) {
>    char x[684*1024];
> }
> -----------------------------------
> 
> Compiled and linked:
> 
> gcc -shared -o .libs/ipmi-sensors ipmi-sensors.c
> .libs/ipmi-sensors
> 
> And still:
> Segmentation fault: 11 (core dumped)
> 
> Problem disappear when I remove '-shared' (but then it can't be linked 
> against libargp) or when I change [684*1024] to [683*1024] or less.
> 
> Conclusion: not FreeIPMI's problem, it's problem of GCC 4.2.1
> 
> So you can forged it ...
> 
> Dan
-- 
Albert Chu
[email protected]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


_______________________________________________
Freeipmi-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to