Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2004 16:18:36 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        "Juan Tumani" <jtumani55@hotmail.com>, des@des.no, freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD 5.2 v/s FreeBSD 4.9 MFLOPS performance (gcc3.3.3v/sgcc2.9.5)
Message-ID:  <200402170018.i1H0IaWd088314@apollo.backplane.com>
References:  <BAY12-F541stYkcOj3i00018525@hotmail.com> <200402162358.i1GNwkkm088106@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
    One last note... if you guys are trying to compile flops.c with the 
    GCC2.95 port it is probably being linked against FreeBSD-5's lib/csu's
    crt1.o, which does not have the stack alignment.

    Original 4.9-compiled binaries will have been linked against 4.9's
    crt1.o, which DOES have the stack alignment.

    Modifying kern_exec.c is not the right solution, I don't think.
    Adding some basic alignment back into crt1.o (like 4.9 has) would be
    a reasonable solution.

    In DragonFly I kept 4.9's alignment code in lib/csu's crt1.c, and I
    will be keeping it in there even when we wholely switch to gcc3 at
    some future date.  It doesn't hurt anything and I don't like 'assuming'
    that GCC will always be used for C compiling.

						-Matt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402170018.i1H0IaWd088314>