Em 21-08-2013 11:21, Bruce Dubbs escreveu: > Fernando de Oliveira wrote: >> Em 21-08-2013 10:54, Bruce Dubbs escreveu: >>> Armin K. wrote: >>>> >>>> host system requirements are just minimum versions of packages needed >>>> for building temporary toolchain. Everything else in the chaper6, >>>> including kmod, is built using temporary toolchain (first few packages) >>>> and the new toolchain which should be way newer than the actual hostreqs. >>> >>> Good point Armin. I wasn't thinking about chroot. > >> Also, Bruce wrote: >> >>> What we have is: >>> >>> 6.6: gcc-4.4.3 >>> 6.7: gcc-4.5.1 >>> 6.8: gcc-4.5.2 >>> 7.0: gcc-4.6.1 >>> >>> Fernando, I believe you have these systems running. Can you confirm >>> that kmod-14 breaks with gcc-4.5.2 but is successful with gcc-4.6.1. >> >> I have upgraded gcc in some of them (have not built LFS6.6). I have now: >> >> LFS gcc >> 6.5 4.5.3 >> 6.7 4.5.3 >> 6.8 4.5.3 >> 7.0 4.6.2 >> >> Can give some useful info, anyway, I think, and will be glad to. >> >> However is it relevant, after Armin's comment? > > No, I think not, but it would be interesting to check if kmod-14 builds > (just though make) using 4.5.3 and 4.6.2
OK. Both logs, below. In all with gcc-4.5.3: {{ $ env LC_ALL=C make -j1 make --no-print-directory all-recursive Making all in . CC libkmod/libkmod.lo CC libkmod/libkmod-list.lo CC libkmod/libkmod-config.lo CC libkmod/libkmod-index.lo CC libkmod/libkmod-module.lo CC libkmod/libkmod-file.lo CC libkmod/libkmod-elf.lo libkmod/libkmod-elf.c: In function 'kmod_elf_new': libkmod/libkmod-elf.c:283:2: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration] libkmod/libkmod-elf.c:283:2: warning: nested extern declaration of '_Static_assert' [-Wnested-externs] CC libkmod/libkmod-signature.lo CC libkmod/libkmod-hash.lo CC libkmod/libkmod-array.lo CC libkmod/libkmod-util.lo CCLD libkmod/libkmod-util.la CCLD libkmod/libkmod.la CCLD libkmod/libkmod-private.la CC tools/kmod.o tools/kmod.c: In function 'kmod_help': tools/kmod.c:64:2: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration] tools/kmod.c:64:2: warning: nested extern declaration of '_Static_assert' [-Wnested-externs] CC tools/lsmod.o CC tools/rmmod.o CC tools/insmod.o CC tools/modinfo.o CC tools/modprobe.o tools/modprobe.c: In function 'show_config': tools/modprobe.c:175:2: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration] tools/modprobe.c:175:2: warning: nested extern declaration of '_Static_assert' [-Wnested-externs] CC tools/depmod.o CC tools/log.o CC tools/static-nodes.o tools/static-nodes.c: In function 'help': tools/static-nodes.c:146:2: warning: implicit declaration of function '_Static_assert' [-Wimplicit-function-declaration] tools/static-nodes.c:146:2: warning: nested extern declaration of '_Static_assert' [-Wnested-externs] CCLD tools/kmod tools/kmod.o: In function `kmod_help': /home/fernando/tmp/kmod-14/tools/kmod.c:64: undefined reference to `_Static_assert' /home/fernando/tmp/kmod-14/tools/kmod.c:64: undefined reference to `_Static_assert' /home/fernando/tmp/kmod-14/tools/kmod.c:73: undefined reference to `_Static_assert' /home/fernando/tmp/kmod-14/tools/kmod.c:73: undefined reference to `_Static_assert' tools/kmod.o: In function `handle_kmod_compat_commands': /home/fernando/tmp/kmod-14/tools/kmod.c:151: undefined reference to `_Static_assert' tools/kmod.o:/home/fernando/tmp/kmod-14/tools/kmod.c:151: more undefined references to `_Static_assert' follow collect2: ld returned 1 exit status make[2]: *** [tools/kmod] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }} With gcc-4.6.2: {{ $ env LC_ALL=C make -j1 make --no-print-directory all-recursive Making all in . CC libkmod/libkmod.lo CC libkmod/libkmod-list.lo CC libkmod/libkmod-config.lo CC libkmod/libkmod-index.lo CC libkmod/libkmod-module.lo CC libkmod/libkmod-file.lo CC libkmod/libkmod-elf.lo CC libkmod/libkmod-signature.lo CC libkmod/libkmod-hash.lo CC libkmod/libkmod-array.lo CC libkmod/libkmod-util.lo CCLD libkmod/libkmod-util.la CCLD libkmod/libkmod.la CCLD libkmod/libkmod-private.la CC tools/kmod.o CC tools/lsmod.o CC tools/rmmod.o CC tools/insmod.o CC tools/modinfo.o CC tools/modprobe.o CC tools/depmod.o CC tools/log.o CC tools/static-nodes.o CCLD tools/kmod CCLD tools/test/kmod GEN libkmod/libkmod.pc Making all in libkmod/docs make[2]: Nothing to be done for `all'. }} -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page