On Sun, 13 Jul 2008 18:01:12 +0400 (MSD)
Dmitry Morozovsky <[EMAIL PROTECTED]> wrote:

> On Sun, 13 Jul 2008, Peter Jeremy wrote:
> 
> PJ> On 2008-Jul-04 13:01:11 +0400, Dmitry Morozovsky <[EMAIL PROTECTED]>
> PJ> wrote:
> PJ> >It seems we step on a bug in gcc in RELENG_7/i386
> PJ> >
> PJ> >It is triggered at least by profiling program which uses
> PJ> >getopt(3):
> PJ> 
> PJ> I think it's actually in the profiling initialisation code.  If
> PJ> you try to run sample code under gdb, you can see that .mcount()
> PJ> is not preserving %ecx, though main() assumes it does.
> 
> I see.  However, I'm afraid we need knowledge of some gcc guru to
> bring the fix in.
> 

This is a known bug in 7.x and has apparently been fixed in -CURRENT. 
See http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/119709 for more
details.

-- 
Bruce Cran


Attachment: signature.asc
Description: PGP signature

Reply via email to