Re: [PATCH] x86/stackprotector: fix build failure with CONFIG_STACKPROTECTOR=n

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

 



Just to report this, bisection tomorrow unless someone figures it out in the
meantime...

This is 64-bit, allmodconfig, clang:

clang --version
Ubuntu clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

This guy:

Ubuntu clang version 18.1.3 (1ubuntu1)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

on the other box builds fine.

tip/master:

commit bc6bc2e1d7fa7e950c5ffb1ddf19bbaf15ad8863 (HEAD, refs/remotes/tip/master)
Merge: f00b8d0b903a 72dafb567760
Author: Ingo Molnar <mingo@xxxxxxxxxx>
Date:   Mon Mar 10 21:57:15 2025 +0100

    Merge branch into tip/master: 'x86/sev'
    
     # New commits in x86/sev:
        72dafb567760 ("x86/sev: Add missing RIP_REL_REF() invocations during sme_enable()")
    
    Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>


vmlinux.o: warning: objtool: set_ftrace_ops_ro+0x30: relocation to !ENDBR: .text+0x180475
Absolute reference to symbol '__ref_stack_chk_guard' not permitted in .head.text
make[3]: *** [arch/x86/Makefile.postlink:28: vmlinux] Error 1
make[2]: *** [scripts/Makefile.vmlinux:77: vmlinux] Error 2
make[2]: *** Deleting file 'vmlinux'
make[1]: *** [/home/amd/kernel/linux/Makefile:1234: vmlinux] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:251: __sub-make] Error 2

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux