[lkml]   [2004]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[2.4] build error with latest BK

    Hi all,

    Just pulled latest bk of 2.4 and it appears to be broken. The recent
    rwsem race fixes seem to be the culprit (see|
    ChangeSet@-1d). Reversing it fixes the problem.

    gcc -D__KERNEL__ -I/usr/local/src/linux-2.4/include -Wall -Wstrict-
    prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-
    frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon -
    nostdinc -iwithprefix include -DKBUILD_BASENAME=rwsem -DEXPORT_SYMTAB -c
    rwsem.c: In function `__rwsem_do_wake':
    rwsem.c:67: warning: implicit declaration of function `put_task_struct'
    rwsem.c: In function `rwsem_down_failed_common':
    rwsem.c:131: error: `mem_map' undeclared (first use in this function)
    rwsem.c:131: error: (Each undeclared identifier is reported only once
    rwsem.c:131: error: for each function it appears in.)
    make[2]: *** [rwsem.o] Error 1
    make[2]: Leaving directory `/usr/local/src/linux-2.4/lib'
    make[1]: *** [first_rule] Error 2
    make[1]: Leaving directory `/usr/local/src/linux-2.4/lib'
    make: *** [_dir_lib] Error 2

    x86 target, gcc 3.3.2 (or 2.95.4 prerelease). Ping me if you need .config
    or anything else.

    [nuno@calvin] /usr/local/src/linux-2.4$ patch -Rp1 < fix-rwsem-race
    patching file lib/rwsem-spinlock.c
    patching file lib/rwsem.c
    [nuno@calvin] /usr/local/src/linux-2.4$ cd lib
    [nuno@calvin] ..src/linux-2.4/lib$ gcc -D__KERNEL__ -I/usr/local/src/
    linux-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-
    strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-
    boundary=2 -march=athlon -nostdinc -iwithprefix include -
    [nuno@calvin] ..src/linux-2.4/lib$ echo $?


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:03    [W:0.025 / U:31.136 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site