В Fri, 04 Apr 2014 08:37:20 +0200 Vladimir 'φ-coder/phcoder' Serbinenko <phco...@gmail.com> пишет:
> As for eliminating libgcc dependency I created branch phcoder/no-libgcc. I'm afraid it results in too much churn that will be unmanageable module-cmos.o `test -f 'lib/ieee1275/cmos.c' || echo '../../grub-core/'`lib/ieee1275/cmos.c [ 140s] ../../grub-core/lib/relocator.c:655:2: error: implicit declaration of function 'memset' [-Werror=implicit-function-declaration] [ 140s] memset (counter, 0, (1 + (1 << DIGITSORT_BITS)) * sizeof (counter[0])); [ 140s] ^ [ 140s] ../../grub-core/lib/relocator.c:655:2: error: nested extern declaration of 'memset' [-Werror=nested-externs] It is impossible to include compiler-rt.h from misc.h due to circular dependencies and it is near to impossible to find all places where compiler-rt.h has to be included (at least I do not have an idea). Someone will need to build test it for sparc, mips, arm (two flavors) and powerpc (three flavors). > For ppc only ucmpdi2 was needed actually.
signature.asc
Description: PGP signature
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel