Re: Unaligned accesses when loading modules

2025-01-16 Thread Maciej W. Rozycki
On Thu, 16 Jan 2025, Jan Beulich wrote: > >> When you say "broken", can you please explain what it is that is _broken_? > >> Things have changed, yes, but the produced ELF is - afaict - still within > >> spec. The "partial fix" as you call it wasn't really a fix, but a band-aid > >> for some broke

Re: Unaligned accesses when loading modules

2025-01-16 Thread Jan Beulich
On 16.01.2025 16:29, Mikulas Patocka wrote: > > > On Thu, 16 Jan 2025, Jan Beulich wrote: > >> On 15.01.2025 19:02, Mikulas Patocka wrote: >>> On Tue, 14 Jan 2025, Sami Tolvanen wrote: On Tue, Jan 14, 2025 at 6:07 PM Mikulas Patocka wrote: > On PA-RISC, with the kernel 6.12.9, I

Re: Unaligned accesses when loading modules

2025-01-16 Thread Mikulas Patocka
On Thu, 16 Jan 2025, Jan Beulich wrote: > On 15.01.2025 19:02, Mikulas Patocka wrote: > > On Tue, 14 Jan 2025, Sami Tolvanen wrote: > >> On Tue, Jan 14, 2025 at 6:07 PM Mikulas Patocka > >> wrote: > >>> On PA-RISC, with the kernel 6.12.9, I get unaligned pointer warnings when > >>> a module is

Re: Unaligned accesses when loading modules

2025-01-15 Thread Jan Beulich
On 15.01.2025 19:02, Mikulas Patocka wrote: > On Tue, 14 Jan 2025, Sami Tolvanen wrote: >> On Tue, Jan 14, 2025 at 6:07 PM Mikulas Patocka wrote: >>> On PA-RISC, with the kernel 6.12.9, I get unaligned pointer warnings when >>> a module is loaded. The warnings are caused by the fact that the >>> .

Re: Unaligned accesses when loading modules

2025-01-15 Thread Mikulas Patocka
On Tue, 14 Jan 2025, Sami Tolvanen wrote: > Hi Mikulas, > > On Tue, Jan 14, 2025 at 6:07 PM Mikulas Patocka wrote: > > > > Hi > > > > On PA-RISC, with the kernel 6.12.9, I get unaligned pointer warnings when > > a module is loaded. The warnings are caused by the fact that the > > .gnu.linkonce

Re: Unaligned accesses when loading modules

2025-01-14 Thread Sami Tolvanen
Hi Mikulas, On Tue, Jan 14, 2025 at 6:07 PM Mikulas Patocka wrote: > > Hi > > On PA-RISC, with the kernel 6.12.9, I get unaligned pointer warnings when > a module is loaded. The warnings are caused by the fact that the > .gnu.linkonce.this_module section is not aligned to the appropriate > bounda

Unaligned accesses when loading modules

2025-01-14 Thread Mikulas Patocka
Hi On PA-RISC, with the kernel 6.12.9, I get unaligned pointer warnings when a module is loaded. The warnings are caused by the fact that the .gnu.linkonce.this_module section is not aligned to the appropriate boundary. If I dump the module content with "objdump -h configs.ko", I get this. Not