While building Linux-next master for arm beagle board x15 the following build error was noticed.
mm/hugetlb.c: In function 'hugetlb_cma_reserve': mm/hugetlb.c:5580:3: error: implicit declaration of function 'for_each_mem_pfn_range'; did you mean 'for_each_mem_range'? [-Werror=implicit-function-declaration] for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^~~~~~~~~~~~~~~~~~~~~~ for_each_mem_range mm/hugetlb.c:5580:62: error: expected ';' before '{' token for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^ Few more details about build test,
CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
# CONFIG_TRANSPARENT_HUGEPAGE is not set # CONFIG_CMA is not set
Kernel config link, http://snapshots.linaro.org/openembedded/lkft/lkft/sumo/intel-core2-32/lkft/...
Build log, https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft...
-- Linaro LKFT https://lkft.linaro.org
On Mon, Apr 06, 2020 at 07:48:54PM +0530, Naresh Kamboju wrote:
While building Linux-next master for arm beagle board x15 the following build error was noticed.
Hello Naresh!
There was a number of cleanups and fixes to the original hugetlb_cma patch, and it looks like some parts were lost. I'm going to gather all changes and resubmit a new version later today. Sorry for the inconvenience.
Thanks!
mm/hugetlb.c: In function 'hugetlb_cma_reserve': mm/hugetlb.c:5580:3: error: implicit declaration of function 'for_each_mem_pfn_range'; did you mean 'for_each_mem_range'? [-Werror=implicit-function-declaration] for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^~~~~~~~~~~~~~~~~~~~~~ for_each_mem_range mm/hugetlb.c:5580:62: error: expected ';' before '{' token for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^ Few more details about build test,
CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
# CONFIG_TRANSPARENT_HUGEPAGE is not set # CONFIG_CMA is not set
Kernel config link, https://urldefense.proofpoint.com/v2/url?u=http-3A__snapshots.linaro.org_ope...
Build log, https://urldefense.proofpoint.com/v2/url?u=https-3A__ci.linaro.org_view_lkft...
-- Linaro LKFT https://urldefense.proofpoint.com/v2/url?u=https-3A__lkft.linaro.org&d=D...
On Mon, Apr 6, 2020 at 12:37 PM Roman Gushchin guro@fb.com wrote:
On Mon, Apr 06, 2020 at 07:48:54PM +0530, Naresh Kamboju wrote:
While building Linux-next master for arm beagle board x15 the following build error was noticed.
Hello Naresh!
There was a number of cleanups and fixes to the original hugetlb_cma patch, and it looks like some parts were lost. I'm going to gather all changes and resubmit a new version later today. Sorry for the inconvenience.
Hi Roman,
I'm still getting this compile issue with linux-next tag next-20200409. If the current patch set is broken, can we remove them from the linux-next for now?
Regards, Leo
Thanks!
mm/hugetlb.c: In function 'hugetlb_cma_reserve': mm/hugetlb.c:5580:3: error: implicit declaration of function 'for_each_mem_pfn_range'; did you mean 'for_each_mem_range'? [-Werror=implicit-function-declaration] for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^~~~~~~~~~~~~~~~~~~~~~ for_each_mem_range mm/hugetlb.c:5580:62: error: expected ';' before '{' token for_each_mem_pfn_range(i, nid, &start_pfn, &end_pfn, NULL) { ^ Few more details about build test,
CONFIG_HUGETLBFS=y CONFIG_HUGETLB_PAGE=y CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
# CONFIG_TRANSPARENT_HUGEPAGE is not set # CONFIG_CMA is not set
Kernel config link, https://urldefense.proofpoint.com/v2/url?u=http-3A__snapshots.linaro.org_ope...
Build log, https://urldefense.proofpoint.com/v2/url?u=https-3A__ci.linaro.org_view_lkft...
-- Linaro LKFT https://urldefense.proofpoint.com/v2/url?u=https-3A__lkft.linaro.org&d=D...
On Thu, Apr 09, 2020 at 05:06:17PM -0500, Yang Li wrote:
On Mon, Apr 6, 2020 at 12:37 PM Roman Gushchin guro@fb.com wrote:
On Mon, Apr 06, 2020 at 07:48:54PM +0530, Naresh Kamboju wrote:
While building Linux-next master for arm beagle board x15 the following build error was noticed.
Hello Naresh!
There was a number of cleanups and fixes to the original hugetlb_cma patch, and it looks like some parts were lost. I'm going to gather all changes and resubmit a new version later today. Sorry for the inconvenience.
Hi Roman,
I'm still getting this compile issue with linux-next tag next-20200409. If the current patch set is broken, can we remove them from the linux-next for now?
Hi Yang!
The correct patch is already picked by Andrew Morton, it just haven't been propagated to the linux-next tree. It should happen automatically in the next day or two.
Thanks!