grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)


From: Andrey Borzenkov
Subject: Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)
Date: Fri, 4 Apr 2014 21:08:37 +0400

В Fri, 04 Apr 2014 08:37:20 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:

> 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.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]