* [PATCH for 6.3] MIPS: Define RUNTIME_DISCARD_EXIT in LD script
@ 2023-04-08 20:33 Jiaxun Yang
2023-04-21 21:10 ` Jiaxun Yang
2023-04-21 22:01 ` Thomas Bogendoerfer
0 siblings, 2 replies; 3+ messages in thread
From: Jiaxun Yang @ 2023-04-08 20:33 UTC (permalink / raw)
To: linux-mips; +Cc: tsbogend, Jiaxun Yang, kernelci.org bot
MIPS's exit sections are discarded at runtime as well.
Fixes link error:
`.exit.text' referenced in section `__jump_table' of fs/fuse/inode.o:
defined in discarded section `.exit.text' of fs/fuse/inode.o
Fixes: 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv")
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
arch/mips/kernel/vmlinux.lds.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index 52cbde60edf5..9ff55cb80a64 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -15,6 +15,8 @@
#define EMITS_PT_NOTE
#endif
+#define RUNTIME_DISCARD_EXIT
+
#include <asm-generic/vmlinux.lds.h>
#undef mips
--
2.39.2 (Apple Git-143)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH for 6.3] MIPS: Define RUNTIME_DISCARD_EXIT in LD script
2023-04-08 20:33 [PATCH for 6.3] MIPS: Define RUNTIME_DISCARD_EXIT in LD script Jiaxun Yang
@ 2023-04-21 21:10 ` Jiaxun Yang
2023-04-21 22:01 ` Thomas Bogendoerfer
1 sibling, 0 replies; 3+ messages in thread
From: Jiaxun Yang @ 2023-04-21 21:10 UTC (permalink / raw)
To: Thomas Bogendoerfer; +Cc: kernelci.org bot, linux-mips@vger.kernel.org
> 2023年4月8日 21:33,Jiaxun Yang <jiaxun.yang@flygoat.com> 写道:
>
> MIPS's exit sections are discarded at runtime as well.
>
> Fixes link error:
> `.exit.text' referenced in section `__jump_table' of fs/fuse/inode.o:
> defined in discarded section `.exit.text' of fs/fuse/inode.o
>
> Fixes: 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv")
> Reported-by: "kernelci.org bot" <bot@kernelci.org>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Hi Thomas,
Also ping on this patch which is blocking KernelCI’s build for a while [1].
You can check build logs here [2].
Really don’t want to leave this as a 6.3 build regression.
Thanks
Jiaxun
[1]: https://linux.kernelci.org/build/id/6442f2ccfbc366d1592e8739/
[2]: https://storage.kernelci.org/mainline/master/v6.3-rc7-180-gc337b23f32c87/mips/32r2el_defconfig+debug/gcc-10/logs/kernel.log
> ---
> arch/mips/kernel/vmlinux.lds.S | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
> index 52cbde60edf5..9ff55cb80a64 100644
> --- a/arch/mips/kernel/vmlinux.lds.S
> +++ b/arch/mips/kernel/vmlinux.lds.S
> @@ -15,6 +15,8 @@
> #define EMITS_PT_NOTE
> #endif
>
> +#define RUNTIME_DISCARD_EXIT
> +
> #include <asm-generic/vmlinux.lds.h>
>
> #undef mips
> --
> 2.39.2 (Apple Git-143)
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH for 6.3] MIPS: Define RUNTIME_DISCARD_EXIT in LD script
2023-04-08 20:33 [PATCH for 6.3] MIPS: Define RUNTIME_DISCARD_EXIT in LD script Jiaxun Yang
2023-04-21 21:10 ` Jiaxun Yang
@ 2023-04-21 22:01 ` Thomas Bogendoerfer
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2023-04-21 22:01 UTC (permalink / raw)
To: Jiaxun Yang; +Cc: linux-mips, kernelci.org bot
On Sat, Apr 08, 2023 at 09:33:48PM +0100, Jiaxun Yang wrote:
> MIPS's exit sections are discarded at runtime as well.
>
> Fixes link error:
> `.exit.text' referenced in section `__jump_table' of fs/fuse/inode.o:
> defined in discarded section `.exit.text' of fs/fuse/inode.o
>
> Fixes: 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv")
> Reported-by: "kernelci.org bot" <bot@kernelci.org>
> Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> arch/mips/kernel/vmlinux.lds.S | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
> index 52cbde60edf5..9ff55cb80a64 100644
> --- a/arch/mips/kernel/vmlinux.lds.S
> +++ b/arch/mips/kernel/vmlinux.lds.S
> @@ -15,6 +15,8 @@
> #define EMITS_PT_NOTE
> #endif
>
> +#define RUNTIME_DISCARD_EXIT
> +
> #include <asm-generic/vmlinux.lds.h>
>
> #undef mips
> --
> 2.39.2 (Apple Git-143)
applied to mips-fixes.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-04-21 23:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-08 20:33 [PATCH for 6.3] MIPS: Define RUNTIME_DISCARD_EXIT in LD script Jiaxun Yang
2023-04-21 21:10 ` Jiaxun Yang
2023-04-21 22:01 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).