Regressions List Tracking
 help / color / mirror / Atom feed
* Re: build failure after commit eb0481bbc4ce ("objtool: Fix reloc_hash size")
       [not found] ` <fb93d107-c834-1849-2b14-1dd33c4f9955@leemhuis.info>
@ 2023-07-09 14:09   ` Michal Kubecek
  2023-07-10 17:16     ` Josh Poimboeuf
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Kubecek @ 2023-07-09 14:09 UTC (permalink / raw
  To: Linux regressions mailing list
  Cc: Josh Poimboeuf, Peter Zijlstra, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2716 bytes --]

On Sat, Jul 08, 2023 at 03:40:50PM +0200, Linux regression tracking (Thorsten Leemhuis) wrote:
> On 28.06.23 13:58, Michal Kubecek wrote:
> > 
> > this morning, mainline kernel builds started to fail on my desktop like
> > this:
> > 
> >   mike@lion:~/work/git/kernel-upstream> mkdir /srv/ram/kobj
> >   mike@lion:~/work/git/kernel-upstream> make -j24 CC=gcc-13 O=/srv/ram/kobj defconfig >/dev/null
> >   mike@lion:~/work/git/kernel-upstream> make -j24 CC=gcc-13 O=/srv/ram/kobj all >/dev/null
> >   net/ipv4/netfilter/iptable_nat.o: warning: objtool: mmap fail reloc
> >   net/netfilter/xt_mark.o: warning: objtool: mmap fail reloc
> >   net/netfilter/xt_nat.o: warning: objtool: mmap fail reloc
> >   net/netfilter/xt_LOG.o: warning: objtool: mmap fail reloc
> >   net/netfilter/xt_MASQUERADE.o: warning: objtool: mmap fail reloc
> >   net/netfilter/nf_log_syslog.o: warning: objtool: mmap fail reloc
> >   net/netfilter/xt_addrtype.o: warning: objtool: mmap fail reloc
> >   fs/efivarfs/efivarfs.o: warning: objtool: mmap fail reloc
> >   drivers/thermal/intel/x86_pkg_temp_thermal.o: warning: objtool: mmap fail reloc
> >   vmlinux.o: warning: objtool: mmap fail reloc
> >   incomplete ORC unwind tables in file: vmlinux
> >   Failed to sort kernel tables
> >   make[2]: *** [/home/mike/work/git/kernel-upstream/scripts/Makefile.vmlinux:35: vmlinux] Error 1
> >   make[2]: *** Deleting file 'vmlinux'
> >   make[1]: *** [/home/mike/work/git/kernel-upstream/Makefile:1256: vmlinux] Error 2
> >   make: *** [Makefile:226: __sub-make] Error 2
> > 
> > I bisected the failure to commit
> > 
> >   eb0481bbc4ce ("objtool: Fix reloc_hash size")
> > 
> > I also tried gcc11 and building on a normal filesystem (rather than
> > tmpfs) but the result is still the same. Different configurations (e.g.
> > allmodconfig) only show more modules with "mmap fail reloc". The machine
> > has 64 GB of RAM and both ulimit -m and ulimit -v show "unlimited".
> > Anything idea what else I should try?
> 
> Michal, thx for the report. Please correct me if I'm wrong: this as of
> now is unfixed, as your patch to fix is afaics wasn't merged yet (at
> least I can't see it even in next, but I might be missing something).

Yes, the fix has not been merged yet and current master (commit
1c7873e33645) still shows the issue.

Michal

> Hence adding it to the regression tracking now that the end of the merge
> window is near:
> 
> #regzbot ^introduced eb0481bbc4ce
> #regzbot title objtool: build failure
> #regzbot monitor:
> https://lore.kernel.org/all/20230629102051.42E8360467@lion.mk-sys.cz/
> #regzbot fix: objtool: initialize all of struct elf
> #regzbot ignore-activity

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build failure after commit eb0481bbc4ce ("objtool: Fix reloc_hash size")
  2023-07-09 14:09   ` build failure after commit eb0481bbc4ce ("objtool: Fix reloc_hash size") Michal Kubecek
@ 2023-07-10 17:16     ` Josh Poimboeuf
  2023-07-16 22:56       ` Michal Kubecek
  0 siblings, 1 reply; 3+ messages in thread
From: Josh Poimboeuf @ 2023-07-10 17:16 UTC (permalink / raw
  To: Michal Kubecek
  Cc: Linux regressions mailing list, Peter Zijlstra, linux-kernel

On Sun, Jul 09, 2023 at 05:09:29PM +0300, Michal Kubecek wrote:
> On Sat, Jul 08, 2023 at 03:40:50PM +0200, Linux regression tracking (Thorsten Leemhuis) wrote:
> > On 28.06.23 13:58, Michal Kubecek wrote:
> > > 
> > > this morning, mainline kernel builds started to fail on my desktop like
> > > this:
> > > 
> > >   mike@lion:~/work/git/kernel-upstream> mkdir /srv/ram/kobj
> > >   mike@lion:~/work/git/kernel-upstream> make -j24 CC=gcc-13 O=/srv/ram/kobj defconfig >/dev/null
> > >   mike@lion:~/work/git/kernel-upstream> make -j24 CC=gcc-13 O=/srv/ram/kobj all >/dev/null
> > >   net/ipv4/netfilter/iptable_nat.o: warning: objtool: mmap fail reloc
> > >   net/netfilter/xt_mark.o: warning: objtool: mmap fail reloc
> > >   net/netfilter/xt_nat.o: warning: objtool: mmap fail reloc
> > >   net/netfilter/xt_LOG.o: warning: objtool: mmap fail reloc
> > >   net/netfilter/xt_MASQUERADE.o: warning: objtool: mmap fail reloc
> > >   net/netfilter/nf_log_syslog.o: warning: objtool: mmap fail reloc
> > >   net/netfilter/xt_addrtype.o: warning: objtool: mmap fail reloc
> > >   fs/efivarfs/efivarfs.o: warning: objtool: mmap fail reloc
> > >   drivers/thermal/intel/x86_pkg_temp_thermal.o: warning: objtool: mmap fail reloc
> > >   vmlinux.o: warning: objtool: mmap fail reloc
> > >   incomplete ORC unwind tables in file: vmlinux
> > >   Failed to sort kernel tables
> > >   make[2]: *** [/home/mike/work/git/kernel-upstream/scripts/Makefile.vmlinux:35: vmlinux] Error 1
> > >   make[2]: *** Deleting file 'vmlinux'
> > >   make[1]: *** [/home/mike/work/git/kernel-upstream/Makefile:1256: vmlinux] Error 2
> > >   make: *** [Makefile:226: __sub-make] Error 2
> > > 
> > > I bisected the failure to commit
> > > 
> > >   eb0481bbc4ce ("objtool: Fix reloc_hash size")
> > > 
> > > I also tried gcc11 and building on a normal filesystem (rather than
> > > tmpfs) but the result is still the same. Different configurations (e.g.
> > > allmodconfig) only show more modules with "mmap fail reloc". The machine
> > > has 64 GB of RAM and both ulimit -m and ulimit -v show "unlimited".
> > > Anything idea what else I should try?
> > 
> > Michal, thx for the report. Please correct me if I'm wrong: this as of
> > now is unfixed, as your patch to fix is afaics wasn't merged yet (at
> > least I can't see it even in next, but I might be missing something).
> 
> Yes, the fix has not been merged yet and current master (commit
> 1c7873e33645) still shows the issue.

Should be fixed in the tip tree with the following patch:

https://lkml.kernel.org/lkml/168897683429.404.6801969953192508868.tip-bot2@tip-bot2


> 
> Michal
> 
> > Hence adding it to the regression tracking now that the end of the merge
> > window is near:
> > 
> > #regzbot ^introduced eb0481bbc4ce
> > #regzbot title objtool: build failure
> > #regzbot monitor:
> > https://lore.kernel.org/all/20230629102051.42E8360467@lion.mk-sys.cz/
> > #regzbot fix: objtool: initialize all of struct elf
> > #regzbot ignore-activity



-- 
Josh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build failure after commit eb0481bbc4ce ("objtool: Fix reloc_hash size")
  2023-07-10 17:16     ` Josh Poimboeuf
@ 2023-07-16 22:56       ` Michal Kubecek
  0 siblings, 0 replies; 3+ messages in thread
From: Michal Kubecek @ 2023-07-16 22:56 UTC (permalink / raw
  To: Josh Poimboeuf
  Cc: Linux regressions mailing list, Peter Zijlstra, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2981 bytes --]

On Mon, Jul 10, 2023 at 10:16:28AM -0700, Josh Poimboeuf wrote:
> On Sun, Jul 09, 2023 at 05:09:29PM +0300, Michal Kubecek wrote:
> > On Sat, Jul 08, 2023 at 03:40:50PM +0200, Linux regression tracking (Thorsten Leemhuis) wrote:
> > > On 28.06.23 13:58, Michal Kubecek wrote:
> > > > 
> > > > this morning, mainline kernel builds started to fail on my desktop like
> > > > this:
> > > > 
> > > >   mike@lion:~/work/git/kernel-upstream> mkdir /srv/ram/kobj
> > > >   mike@lion:~/work/git/kernel-upstream> make -j24 CC=gcc-13 O=/srv/ram/kobj defconfig >/dev/null
> > > >   mike@lion:~/work/git/kernel-upstream> make -j24 CC=gcc-13 O=/srv/ram/kobj all >/dev/null
> > > >   net/ipv4/netfilter/iptable_nat.o: warning: objtool: mmap fail reloc
> > > >   net/netfilter/xt_mark.o: warning: objtool: mmap fail reloc
> > > >   net/netfilter/xt_nat.o: warning: objtool: mmap fail reloc
> > > >   net/netfilter/xt_LOG.o: warning: objtool: mmap fail reloc
> > > >   net/netfilter/xt_MASQUERADE.o: warning: objtool: mmap fail reloc
> > > >   net/netfilter/nf_log_syslog.o: warning: objtool: mmap fail reloc
> > > >   net/netfilter/xt_addrtype.o: warning: objtool: mmap fail reloc
> > > >   fs/efivarfs/efivarfs.o: warning: objtool: mmap fail reloc
> > > >   drivers/thermal/intel/x86_pkg_temp_thermal.o: warning: objtool: mmap fail reloc
> > > >   vmlinux.o: warning: objtool: mmap fail reloc
> > > >   incomplete ORC unwind tables in file: vmlinux
> > > >   Failed to sort kernel tables
> > > >   make[2]: *** [/home/mike/work/git/kernel-upstream/scripts/Makefile.vmlinux:35: vmlinux] Error 1
> > > >   make[2]: *** Deleting file 'vmlinux'
> > > >   make[1]: *** [/home/mike/work/git/kernel-upstream/Makefile:1256: vmlinux] Error 2
> > > >   make: *** [Makefile:226: __sub-make] Error 2
> > > > 
> > > > I bisected the failure to commit
> > > > 
> > > >   eb0481bbc4ce ("objtool: Fix reloc_hash size")
> > > > 
> > > > I also tried gcc11 and building on a normal filesystem (rather than
> > > > tmpfs) but the result is still the same. Different configurations (e.g.
> > > > allmodconfig) only show more modules with "mmap fail reloc". The machine
> > > > has 64 GB of RAM and both ulimit -m and ulimit -v show "unlimited".
> > > > Anything idea what else I should try?
> > > 
> > > Michal, thx for the report. Please correct me if I'm wrong: this as of
> > > now is unfixed, as your patch to fix is afaics wasn't merged yet (at
> > > least I can't see it even in next, but I might be missing something).
> > 
> > Yes, the fix has not been merged yet and current master (commit
> > 1c7873e33645) still shows the issue.
> 
> Should be fixed in the tip tree with the following patch:
> 
> https://lkml.kernel.org/lkml/168897683429.404.6801969953192508868.tip-bot2@tip-bot2

The fix reached mainline now as

  9f71fbcde282 ("objtool: initialize all of struct elf")

and is present in 6.5-rc2 so that it no longer exhibits the issue.

Michal

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-16 22:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230628115825.ahqejf5y4hgxhyqj@lion.mk-sys.cz>
     [not found] ` <fb93d107-c834-1849-2b14-1dd33c4f9955@leemhuis.info>
2023-07-09 14:09   ` build failure after commit eb0481bbc4ce ("objtool: Fix reloc_hash size") Michal Kubecek
2023-07-10 17:16     ` Josh Poimboeuf
2023-07-16 22:56       ` Michal Kubecek

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 read-only IMAP folder(s) and NNTP newsgroup(s).