Is this a bug in libffi testsuite on solaris2.8?
Zack Weinberg
zack@codesourcery.com
Thu Oct 30 22:31:00 GMT 2003
Bradley Lucier <lucier@math.purdue.edu> writes:
> My systems administrators told me they are getting the following in in
> /var/adm/messages on the sparc-sun-solaris2.8 box I use to bootstrap
> and regression-test mainline every night:
>
> Oct 30 04:58:37 banach.math.purdue.edu genunix: [ID 533030
> kern.notice] NOTICE: unwindtest.exe[7957] attempt to execute code on
> stack by uid <xxx>
>
> and I happen to be the lucky owner of uid <xxx>. The unwindtest.cc
> tests pass on libffi, but is this a bug in the testsuite, a bogus
> warning, or something else?
Looking at libffi/src/sparc/ffi.c (ffi_prep_closure, in particular)
leads me to believe that libffi intentionally places code on the stack
and executes it. This is unfortunate but may be unavoidable.
zw
More information about the Gcc
mailing list