https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78887

            Bug ID: 78887
           Summary: [7 Regression] Failure to build aarch64 allmodconfig
                    Linux kernel 4.9
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ktkachov at gcc dot gnu.org
  Target Milestone: ---

Building an allmodconfig 4.9 kernel for arm64 fails with current trunk (make
ARCH=arm64 allmodconfig)

The error is:
FATAL: arch/arm64/crypto/sha1-ce: sizeof(struct cpu_device_id)=2 is not a
modulo of the size of section __mod_cpu__<identifier>_device_table=1.
Fix definition of struct cpu_device_id in mod_devicetable.h
make[1]: *** [arch/arm64/crypto/sha1-ce.o] Error 1

Some kind of assert is triggering in one of the kernel build scripts.
The build succeeds with GCC 6.

Looks like the compiler renamed some asan-related symbols from:
 '_GLOBAL__sub_D_65535_0_sha1_ce_glue.c' to 
'_GLOBAL__sub_D_65535_0___odr_asan.__mod_cpu__cpu_feature_match_SHA1_device_table'

Not sure if this is a duplicate of 78513

Reply via email to