[DRBD-user] Section mismatch drbd 0.7.21 2.6.7.11 kernel

Florin Cazacu florinc at reecemarketing.com
Sat Sep 2 16:26:41 CEST 2006

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello,

Compilinig drbd 0.7.21 against 2.6.7.11 kernel generates these warnnigs. 
Can anyone please tell me why are these warning generated? Thank you.


WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o - Section mismatch: 
reference to .exit.text: from .smp_locks after '' (at offset 0x3b8)
WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o - Section mismatch: 
reference to .exit.text: from .smp_locks after '' (at offset 0x3bc)
WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o - Section mismatch: 
reference to .exit.text: from .smp_locks after '' (at offset 0x3c0)

The full output of make is here:


make -C drbd drbd_buildtag.c
make[1]: Entering directory `/usr/local/src/drbd-0.7.21/drbd'
make[1]: Leaving directory `/usr/local/src/drbd-0.7.21/drbd'
make[1]: Entering directory `/usr/local/src/drbd-0.7.21/user'
gcc -c -Wall -I../drbd   -c -o ../drbd/drbd_buildtag.o 
../drbd/drbd_buildtag.c
gcc -o drbdsetup drbdsetup.o ../drbd/drbd_buildtag.o
gcc -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o 
drbdadm_adjust.o ../drbd/drbd_buildtag.o
make[1]: Leaving directory `/usr/local/src/drbd-0.7.21/user'
make[1]: Entering directory `/usr/local/src/drbd-0.7.21/scripts'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/drbd-0.7.21/scripts'
make[1]: Entering directory `/usr/local/src/drbd-0.7.21/documentation'
To (re)make the documentation: make doc
make[1]: Leaving directory `/usr/local/src/drbd-0.7.21/documentation'
make[1]: Entering directory `/usr/local/src/drbd-0.7.21/drbd'

    Calling toplevel makefile of kernel source tree, which I believe is in
    KDIR=/lib/modules/2.6.17.11/build

test -f ../scripts/adjust_drbd_config_h.sh && \
 KDIR=/lib/modules/2.6.17.11/build /bin/sh 
../scripts/adjust_drbd_config_h.sh

  Using unmodified drbd_config.h

make -C /lib/modules/2.6.17.11/build 
SUBDIRS=/usr/local/src/drbd-0.7.21/drbd  modules
make[2]: Entering directory `/usr/src/linux-2.6.17.11'
  LD [M]  /usr/local/src/drbd-0.7.21/drbd/drbd.o
  Building modules, stage 2.
  MODPOST
WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o - Section mismatch: 
reference to .exit.text: from .smp_locks after '' (at offset 0x3b8)
WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o - Section mismatch: 
reference to .exit.text: from .smp_locks after '' (at offset 0x3bc)
WARNING: /usr/local/src/drbd-0.7.21/drbd/drbd.o - Section mismatch: 
reference to .exit.text: from .smp_locks after '' (at offset 0x3c0)
  LD [M]  /usr/local/src/drbd-0.7.21/drbd/drbd.ko
make[2]: Leaving directory `/usr/src/linux-2.6.17.11'
mv .drbd_kernelrelease.new .drbd_kernelrelease
Memorizing module configuration ... done.
make[1]: Leaving directory `/usr/local/src/drbd-0.7.21/drbd'



More information about the drbd-user mailing list