[lkml]   [2006]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: strncpy (maybe others) broken on Alpha
    On Fri, Apr 21, 2006 at 06:41:49AM -0500, Bob Tracy wrote:
    > I'll try upgrading from gcc-4.0 to gcc-4.1, and if/when that has no
    > effect, I'll go looking for a later binutils in Debian's "unstable"
    > tree (I've already had to go to the "testing" tree to get beyond gcc-3
    > and binutils-2.15.X). Report to follow later today.


    > Item for consideration: what kind of optimization is enabled for your
    > test case compile vs. what's being used for the kernel build? That's
    > another variable we need to sort out. For what it's worth, I do *not*
    > have CONFIG_CC_OPTIMIZE_FOR_SIZE enabled: the comment about "watch out
    > for broken compilers" was enough to scare me off while we're trying to
    > chase this down.

    Well I thought of this already and tried my test case without any flags
    but -Wall, with -O2 and -Os. Same result. I also compiled my test case
    with the options used by the kernel (which ATM isn't compiled with -Os),
    same thing.

    I've attached to this email a tarball of what I use to test the
    compiler/binutils. It's faster than recompiling the whole kernel on
    these slow machines!
    Mathieu Chouquet-Stringer
    [unhandled content-type:application/x-gzip]
     \ /
      Last update: 2006-04-21 13:59    [W:0.022 / U:6.708 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site