Skip to content

错误了 有没有人编译成功 分享一下过程 #48

@wode2016501

Description

@wode2016501

MODPOST vmlinux.o
WARNING: EXPORT symbol "gsi_write_channel_scratch" [vmlinux] version generation failed, symbol will not be versioned.
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
ld: warning: -z norelro ignored
ld: drivers/platform/msm/gsi/gsi.o: relocation R_AARCH64_ABS32 against __crc_gsi_write_channel_scratch' can not be used when making a shared object ld: DWARF error: invalid or unhandled FORM value: 0x23 security/selinux/avc.o: in function avc_disable':
avc.c:(.text+0x14fc): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o ld: DWARF error: invalid or unhandled FORM value: 0x23 security/selinux/hooks.o: in function selinux_set_mnt_opts':
hooks.c:(.text+0x3fc): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o hooks.c:(.text+0x484): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o
hooks.c:(.text+0x6e4): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o hooks.c:(.text+0x780): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o
hooks.c:(.text+0x7f8): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o hooks.c:(.text+0x820): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o
security/selinux/hooks.o: in function may_context_mount_sb_relabel': hooks.c:(.text+0x9e4): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o
hooks.c:(.text+0xa0c): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o security/selinux/hooks.o: in function may_context_mount_inode_relabel':
hooks.c:(.text+0xa50): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol selinux_state' defined in .bss.rtic section in security/selinux/hooks.o hooks.c:(.text+0xa74): 从输出所省略的额外重寻址溢出 ld: ld: DWARF error: invalid or unhandled FORM value: 0x23 security/apparmor/lsm.o: in function param_get_mode':
lsm.c:(.text+0xcc): undefined reference to stpcpy' ld: security/apparmor/lsm.o: in function param_get_audit':
lsm.c:(.text+0x27c): undefined reference to stpcpy' ld: ld: DWARF error: invalid or unhandled FORM value: 0x23 drivers/tty/tty_io.o: in function show_cons_active':
tty_io.c:(.text+0x4e7c): undefined reference to `stpcpy'
ld: DWARF error: invalid or unhandled FORM value: 0x23
drivers/platform/msm/gsi/gsi.o:(.data+0x0): 危险的重寻址: unsupported relocation
drivers/platform/msm/gsi/gsi.o:(.data+0x28): 危险的重寻址: unsupported relocation
drivers/platform/msm/gsi/gsi.o:(.data+0x50): 危险的重寻址:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions