Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel weirdness
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message

Joined: 27 Apr 2006
Posts: 8

PostPosted: Mon Sep 18, 2017 8:29 pm    Post subject: genkernel weirdness Reply with quote


I have a Gentoo system I update every couple of weeks without any glitches... Or at least what I thought till few weeks ago :cry:
I use a ~amd64 and normally use the following sequence to update the system:

emerge -vaND world (not completely sure, system is down right now)
revdep-rebuild (never really spot anything)

And, in case new kernel sources have been installed, I fire up genkernel

select kernel set <latest kernel version>
cp /etc/genkernel.conf/genkernel-`uname -r` /usr/src/linux/.config (again, actual cmdline might be different)
genkernel all && emerge @module_rebuild && grub-config /path/to/grub.cfg (using nconfig to fly through the configuration and check my main parameters)

Now, this process may not be optimal one, but it has worked for the last six years, going through multiple big
KDE updates, grub2, etc...

But,since few weeks, genkernel is not able to generate the initramfs - the process stops when genkernel tries to build the dmraid binary (see below). I have tried to downgrade the kernel to 4.12.x, genkernel to 3.4.x, without success. I'm now stuck with an unusable system since Nvidia had been upgraded to the latest version but I can't get any kernel (including initramfs) with the same module version... Any hint how to solve this? I could not really find anything on the forum nearly similar to my issue.



* DMRAID: Adding support (compiling binaries)...
* lvm: >> Using cache
* dmraid: >> No patches found in /usr/share/genkernel/patches/dmraid/1.0.0.rc16-3 ...
* dmraid: >> Configuring...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for ranlib... ranlib
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for struct stat.st_rdev... yes
checking whether to enable debugging... no
checking whether to enable malloc debugging... no
checking whether to disable native metadata logging... yes
checking whether to disable testing with mapped devices... yes
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for library containing getmntent... none required
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for getmntent... (cached) yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for rmdir... yes
checking for uname... yes
checking for strchr... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for dlopen in -ldl... yes
checking for pthread_mutex_lock in -lpthread... yes
checking for dm_event_handler_create in -ldevmapper-event... yes
checking for dm_task_set_name in -ldevmapper... yes
checking libdevmapper.h usability... yes
checking libdevmapper.h presence... yes
checking for libdevmapper.h... yes
checking libdevmapper-event.h usability... yes
checking libdevmapper-event.h presence... yes
checking for libdevmapper-event.h... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating lib/version.h
config.status: creating man/Makefile
config.status: creating tools/Makefile
config.status: creating tools/version.h
config.status: creating Makefile
config.status: creating make.tmpl
config.status: creating include/config.h
* dmraid: >> Compiling...
COMMAND: nice -n10 make -j9 -j1 CC="gcc" LD="ld" AS="as" 
which: no ctags in (/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/sbin:/usr/sbin)
make -C lib
make[1]: Entering directory '/var/tmp/genkernel/1813.793.3899.20778/dmraid/1.0.0.rc16-3/dmraid/lib'
/bin/mkdir -p events/; \
set -e; \
FILE=`echo events/libdmraid-events-isw.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o events/libdmraid-events-isw.d events/libdmraid-events-isw.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" events/libdmraid-events-isw.d; \
[ -s events/libdmraid-events-isw.d ] || rm -f events/libdmraid-events-isw.d
/bin/mkdir -p format/partition/; \
set -e; \
FILE=`echo format/partition/dos.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/partition/dos.d format/partition/dos.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/partition/dos.d; \
[ -s format/partition/dos.d ] || rm -f format/partition/dos.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1_dump.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1_dump.d format/ddf/ddf1_dump.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_dump.d; \
[ -s format/ddf/ddf1_dump.d ] || rm -f format/ddf/ddf1_dump.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1_cvt.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1_cvt.d format/ddf/ddf1_cvt.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_cvt.d; \
[ -s format/ddf/ddf1_cvt.d ] || rm -f format/ddf/ddf1_cvt.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1_crc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1_crc.d format/ddf/ddf1_crc.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_crc.d; \
[ -s format/ddf/ddf1_crc.d ] || rm -f format/ddf/ddf1_crc.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1_lib.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1_lib.d format/ddf/ddf1_lib.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_lib.d; \
[ -s format/ddf/ddf1_lib.d ] || rm -f format/ddf/ddf1_lib.d
/bin/mkdir -p format/ddf/; \
set -e; \
FILE=`echo format/ddf/ddf1.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ddf/ddf1.d format/ddf/ddf1.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1.d; \
[ -s format/ddf/ddf1.d ] || rm -f format/ddf/ddf1.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/via.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/via.d format/ataraid/via.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/via.d; \
[ -s format/ataraid/via.d ] || rm -f format/ataraid/via.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/sil.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/sil.d format/ataraid/sil.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/sil.d; \
[ -s format/ataraid/sil.d ] || rm -f format/ataraid/sil.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/pdc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/pdc.d format/ataraid/pdc.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/pdc.d; \
[ -s format/ataraid/pdc.d ] || rm -f format/ataraid/pdc.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/nv.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/nv.d format/ataraid/nv.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/nv.d; \
[ -s format/ataraid/nv.d ] || rm -f format/ataraid/nv.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/lsi.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/lsi.d format/ataraid/lsi.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/lsi.d; \
[ -s format/ataraid/lsi.d ] || rm -f format/ataraid/lsi.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/jm.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/jm.d format/ataraid/jm.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/jm.d; \
[ -s format/ataraid/jm.d ] || rm -f format/ataraid/jm.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/isw.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/isw.d format/ataraid/isw.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/isw.d; \
[ -s format/ataraid/isw.d ] || rm -f format/ataraid/isw.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/hpt45x.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/hpt45x.d format/ataraid/hpt45x.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/hpt45x.d; \
[ -s format/ataraid/hpt45x.d ] || rm -f format/ataraid/hpt45x.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/hpt37x.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/hpt37x.d format/ataraid/hpt37x.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/hpt37x.d; \
[ -s format/ataraid/hpt37x.d ] || rm -f format/ataraid/hpt37x.d
/bin/mkdir -p format/ataraid/; \
set -e; \
FILE=`echo format/ataraid/asr.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/ataraid/asr.d format/ataraid/asr.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/asr.d; \
[ -s format/ataraid/asr.d ] || rm -f format/ataraid/asr.d
/bin/mkdir -p mm/; \
set -e; \
FILE=`echo mm/dbg_malloc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o mm/dbg_malloc.d mm/dbg_malloc.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" mm/dbg_malloc.d; \
[ -s mm/dbg_malloc.d ] || rm -f mm/dbg_malloc.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/workaround.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/workaround.d misc/workaround.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/workaround.d; \
[ -s misc/workaround.d ] || rm -f misc/workaround.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/misc.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/misc.d misc/misc.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/misc.d; \
[ -s misc/misc.d ] || rm -f misc/misc.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/lib_context.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/lib_context.d misc/lib_context.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/lib_context.d; \
[ -s misc/lib_context.d ] || rm -f misc/lib_context.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/init.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/init.d misc/init.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/init.d; \
[ -s misc/init.d ] || rm -f misc/init.d
/bin/mkdir -p misc/; \
set -e; \
FILE=`echo misc/file.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o misc/file.d misc/file.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/file.d; \
[ -s misc/file.d ] || rm -f misc/file.d
/bin/mkdir -p metadata/; \
set -e; \
FILE=`echo metadata/reconfig.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o metadata/reconfig.d metadata/reconfig.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/reconfig.d; \
[ -s metadata/reconfig.d ] || rm -f metadata/reconfig.d
/bin/mkdir -p metadata/; \
set -e; \
FILE=`echo metadata/metadata.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o metadata/metadata.d metadata/metadata.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/metadata.d; \
[ -s metadata/metadata.d ] || rm -f metadata/metadata.d
/bin/mkdir -p metadata/; \
set -e; \
FILE=`echo metadata/log_ops.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o metadata/log_ops.d metadata/log_ops.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/log_ops.d; \
[ -s metadata/log_ops.d ] || rm -f metadata/log_ops.d
/bin/mkdir -p log/; \
set -e; \
FILE=`echo log/log.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o log/log.d log/log.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" log/log.d; \
[ -s log/log.d ] || rm -f log/log.d
/bin/mkdir -p locking/; \
set -e; \
FILE=`echo locking/locking.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o locking/locking.d locking/locking.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" locking/locking.d; \
[ -s locking/locking.d ] || rm -f locking/locking.d
/bin/mkdir -p format/; \
set -e; \
FILE=`echo format/format.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o format/format.d format/format.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/format.d; \
[ -s format/format.d ] || rm -f format/format.d
/bin/mkdir -p display/; \
set -e; \
FILE=`echo display/display.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o display/display.d display/display.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" display/display.d; \
[ -s display/display.d ] || rm -f display/display.d
/bin/mkdir -p device/; \
set -e; \
FILE=`echo device/scsi.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o device/scsi.d device/scsi.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/scsi.d; \
[ -s device/scsi.d ] || rm -f device/scsi.d
/bin/mkdir -p device/; \
set -e; \
FILE=`echo device/scan.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o device/scan.d device/scan.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/scan.d; \
[ -s device/scan.d ] || rm -f device/scan.d
/bin/mkdir -p device/; \
set -e; \
FILE=`echo device/partition.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o device/partition.d device/partition.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/partition.d; \
[ -s device/partition.d ] || rm -f device/partition.d
/bin/mkdir -p device/; \
set -e; \
FILE=`echo device/ata.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o device/ata.d device/ata.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/ata.d; \
[ -s device/ata.d ] || rm -f device/ata.d
/bin/mkdir -p activate/; \
set -e; \
FILE=`echo activate/devmapper.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o activate/devmapper.d activate/devmapper.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" activate/devmapper.d; \
[ -s activate/devmapper.d ] || rm -f activate/devmapper.d
/bin/mkdir -p activate/; \
set -e; \
FILE=`echo activate/activate.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o activate/activate.d activate/activate.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" activate/activate.d; \
[ -s activate/activate.d ] || rm -f activate/activate.d
gcc -o activate/activate.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 activate/activate.c
activate/activate.c: In function ‘activate_subset’:
activate/activate.c:953:24: warning: unused variable ‘fmt’ [-Wunused-variable]
  struct dmraid_format *fmt = get_format(rs);
activate/activate.c: In function ‘deactivate_superset’:
activate/activate.c:1048:24: warning: unused variable ‘fmt’ [-Wunused-variable]
  struct dmraid_format *fmt = get_format(rs);
gcc -o activate/devmapper.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 activate/devmapper.c
gcc -o device/ata.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 device/ata.c
gcc -o device/partition.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 device/partition.c
gcc -o device/scan.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 device/scan.c
gcc -o device/scsi.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 device/scsi.c
gcc -o display/display.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 display/display.c
gcc -o format/format.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/format.c
gcc -o locking/locking.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 locking/locking.c
gcc -o log/log.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 log/log.c
gcc -o metadata/log_ops.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 metadata/log_ops.c
gcc -o metadata/metadata.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 metadata/metadata.c
metadata/metadata.c:1463:1: warning: ‘rebuild_config_raidset’ defined but not used [-Wunused-function]
 rebuild_config_raidset(struct lib_context *lc, struct raid_set *rs)
metadata/metadata.c:765:1: warning: ‘discover_raid_devices_spares’ defined but not used [-Wunused-function]
 discover_raid_devices_spares(struct lib_context *lc, const char *format)
gcc -o metadata/reconfig.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 metadata/reconfig.c
metadata/reconfig.c: In function ‘handle_dev’:
metadata/reconfig.c:460:15: warning: comparison between ‘enum change_type’ and ‘enum type’ [-Wenum-compare]
   if (h->type == rs->type)
metadata/reconfig.c:462:23: warning: comparison between ‘enum change_type’ and ‘enum type’ [-Wenum-compare]
  } while ((++h)->type != t_undef);
gcc -o misc/file.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/file.c
gcc -o misc/init.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/init.c
gcc -o misc/lib_context.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/lib_context.c
gcc -o misc/misc.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/misc.c
gcc -o misc/workaround.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 misc/workaround.c
gcc -o mm/dbg_malloc.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 mm/dbg_malloc.c
gcc -o format/ataraid/asr.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/asr.c
format/ataraid/asr.c: In function ‘check_rd’:
format/ataraid/asr.c:1036:18: warning: comparison between ‘enum type’ and ‘enum status’ [-Wenum-compare]
  return rd->type != s_broken;
gcc -o format/ataraid/hpt37x.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/hpt37x.c
gcc -o format/ataraid/hpt45x.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/hpt45x.c
gcc -o format/ataraid/isw.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/isw.c
format/ataraid/isw.c: In function ‘get_rs_status’:
format/ataraid/isw.c:1114:19: warning: variable ‘disk’ set but not used [-Wunused-but-set-variable]
  struct isw_disk *disk;
gcc -o format/ataraid/jm.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/jm.c
gcc -o format/ataraid/lsi.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/lsi.c
gcc -o format/ataraid/nv.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/nv.c
gcc -o format/ataraid/pdc.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/pdc.c
gcc -o format/ataraid/sil.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/sil.c
gcc -o format/ataraid/via.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ataraid/via.c
gcc -o format/ddf/ddf1.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1.c
format/ddf/ddf1.c: In function ‘check_rd’:
format/ddf/ddf1.c:891:18: warning: comparison between ‘enum type’ and ‘enum status’ [-Wenum-compare]
  return rd->type != s_broken;
gcc -o format/ddf/ddf1_lib.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1_lib.c
gcc -o format/ddf/ddf1_crc.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1_crc.c
gcc -o format/ddf/ddf1_cvt.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1_cvt.c
gcc -o format/ddf/ddf1_dump.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/ddf/ddf1_dump.c
gcc -o format/partition/dos.o -c -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 format/partition/dos.c
rm -f libdmraid.a
ar r libdmraid.a activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o
ar: creating libdmraid.a
ranlib libdmraid.a
make[1]: Leaving directory '/var/tmp/genkernel/1813.793.3899.20778/dmraid/1.0.0.rc16-3/dmraid/lib'
make -C tools
make[1]: Entering directory '/var/tmp/genkernel/1813.793.3899.20778/dmraid/1.0.0.rc16-3/dmraid/tools'
/bin/mkdir -p ./; \
set -e; \
FILE=`echo dmevent_tool.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o dmevent_tool.d dmevent_tool.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmevent_tool.d; \
[ -s dmevent_tool.d ] || rm -f dmevent_tool.d
/bin/mkdir -p ./; \
set -e; \
FILE=`echo toollib.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o toollib.d toollib.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" toollib.d; \
[ -s toollib.d ] || rm -f toollib.d
/bin/mkdir -p ./; \
set -e; \
FILE=`echo commands.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o commands.d commands.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" commands.d; \
[ -s commands.d ] || rm -f commands.d
/bin/mkdir -p ./; \
set -e; \
FILE=`echo dmraid.d | /bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \
DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /bin/sed -e 's/\\//\\\\\\//g'`; \
gcc -MM -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include  -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 -o dmraid.d dmraid.c; \
/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmraid.d; \
[ -s dmraid.d ] || rm -f dmraid.d
gcc -o dmraid.o -c -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 dmraid.c
gcc -o commands.o -c -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 commands.c
gcc -o toollib.o -c -I -I. -I../include -I../lib -include ../include/config.h -I/var/tmp/genkernel/1813.793.3899.20778/lvm/include -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -O2 toollib.c
gcc -o dmraid dmraid.o commands.o toollib.o -L/var/tmp/genkernel/1813.793.3899.20778/lvm/lib -static -L../lib -ldmraid -ldevmapper
/var/tmp/genkernel/1813.793.3899.20778/lvm/lib/libdevmapper.a(libdm-string.o): In function `dm_size_to_string':
libdm-string.c:(.text+0x1481): undefined reference to `nearbyintl'
libdm-string.c:(.text+0x149e): undefined reference to `floorl'
/var/tmp/genkernel/1813.793.3899.20778/lvm/lib/libdevmapper.a(pool.o): In function `dm_pool_create':
pool.c:(.text+0xc4): undefined reference to `pthread_mutex_lock'
pool.c:(.text+0xe3): undefined reference to `pthread_mutex_unlock'
/var/tmp/genkernel/1813.793.3899.20778/lvm/lib/libdevmapper.a(pool.o): In function `dm_pool_destroy':
pool.c:(.text+0x146): undefined reference to `pthread_mutex_lock'
pool.c:(.text+0x15e): undefined reference to `pthread_mutex_unlock'
/var/tmp/genkernel/1813.793.3899.20778/lvm/lib/libdevmapper.a(pool.o): In function `dm_pools_check_leaks':
pool.c:(.text+0x9f2): undefined reference to `pthread_mutex_lock'
pool.c:(.text+0xa0e): undefined reference to `pthread_mutex_unlock'
pool.c:(.text+0xabd): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info.part.4':
(.text+0x1692): undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info_bases':
(.text+0x1717): undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info_table_bases':
(.text+0x17eb): undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__deregister_frame_info_bases':
(.text+0x188e): undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__deregister_frame_info_bases':
(.text+0x1916): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE':
(.text+0x19e8): undefined reference to `pthread_mutex_lock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE':
(.text+0x1a32): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE':
(.text+0x1b2b): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info.part.4':
(.text+0x16b1): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info_bases':
(.text+0x1736): undefined reference to `pthread_mutex_unlock'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libgcc_eh.a(unwind-dw2-fde-dip.o): In function `__register_frame_info_table_bases':
(.text+0x180a): undefined reference to `pthread_mutex_unlock'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:71: dmraid] Error 1
make[1]: Leaving directory '/var/tmp/genkernel/1813.793.3899.20778/dmraid/1.0.0.rc16-3/dmraid/tools'
make: *** [make.tmpl:120: tools] Error 2
* Gentoo Linux Genkernel; Version
* Running with options: --clean all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific from /usr/share/genkernel/arch/x86_64/ ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..
* Clearing cache dir contents from /var/cache/genkernel

* ERROR: Failed to compile the "" target...
Back to top
View user's profile Send private message

Joined: 23 Dec 2013
Posts: 314
Location: Brisbane, Australia

PostPosted: Tue Sep 19, 2017 11:17 am    Post subject: Reply with quote

Boot with the working kernel.

Try this sequence of commands:
emerge --sync
emerge --oneshot =sys-apps/portage-2.3.8
perl-cleaner all
emerge --depclean

emerge --update --deep --with-bdeps=y --newuse --backtrack=300 --changed-deps=y --keep-going=y @world -va

Fix all conflicts, errors, use flags, etc.

Then again:
emerge --update --deep --with-bdeps=y --newuse --backtrack=300 --changed-deps=y --keep-going=y @world -va

emerge --depclean

When done and all is OK:
emerge -av =sys-kernel/genkernel-  =sys-kernel/gentoo-sources-4.12.12

DO NOT USE your existing .config file.

genkernel --menuconfig all

Set your PC's specific options such as graphic card, etc. and exit to compile your new kernel and initramfs.

When done, do whatever necessary for your bootloader to recognize your new kernel and initramfs and reboot.
Back to top
View user's profile Send private message

Joined: 05 Jul 2003
Posts: 44892
Location: 56N 3W

PostPosted: Tue Sep 19, 2017 11:42 am    Post subject: Reply with quote


dmraid is old and a bad idea. It was only ever useful for installing linux on a dual boot (with Windows) fakeraid system.
Its a lot of work to migrate to another raid solution though, even if dropping fakeraid is an option for you now.

Try genkernel-next. That's a bit of a straw to clutch at, since it appears from your log that some library functions are missing
/var/tmp/genkernel/1813.793.3899.20778/lvm/lib/libdevmapper.a(libdm-string.o): In function `dm_size_to_string':
libdm-string.c:(.text+0x1481): undefined reference to `nearbyintl'
libdm-string.c:(.text+0x149e): undefined reference to `floorl'

emerge -1av dmraid
works for me with gcc-7.2 and the gold linker. I really didn't expect that.

Longer shot. When you moved from gcc-4.x to a later gcc, did you rebuild all your C++ an the news item (2015-10-22 GCC 5 Defaults to the New C++11 ABI) instructs?
Missing that will give you all sorts of linker errors and you do have linker errors.


Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum