Comment 3 for bug 1707887

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

More debug shows that it will acquire the following status from the libhugetlbfs-2.20/Makefile

CC64 = $(CC)
ELF64 = aarch64elf
TMPLIB64 = lib64
CUSTOM_LDSCRIPTS = no

And in libhugetlbfs-2.20/test/Makefile the linkhuge_rw will be built since:

ifdef ELF64
ifeq ($(CUSTOM_LDSCRIPTS),yes)
TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \
        $(HUGELINK_TESTS:%=xBDT.%)
else
TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_RW_TESTS)
endif

From here it will pass the ELF64 check, but go to the else as the CUSTOM_LDSCRIPTS is "no".
This explains why it's not being built for amd64