Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86246 > unrolled thread

Bug#1099302: linux-source: People still can avoid multiple definitions symbol on loader.

Started byCorcodel Marian <corcodel.marian@gmail.com>
First post2025-03-02 00:20 +0100
Last post2025-03-02 01:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1099302: linux-source: People still can avoid multiple definitions symbol on loader. Corcodel Marian <corcodel.marian@gmail.com> - 2025-03-02 00:20 +0100
    Bug#1099302: People still can avoid multiple ...cont Marian Corcodel <corcodel.marian@gmail.com> - 2025-03-02 01:20 +0100

#86246 — Bug#1099302: linux-source: People still can avoid multiple definitions symbol on loader.

FromCorcodel Marian <corcodel.marian@gmail.com>
Date2025-03-02 00:20 +0100
SubjectBug#1099302: linux-source: People still can avoid multiple definitions symbol on loader.
Message-ID<KlEhH-2WhG-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: linux-source
Severity: normal
Tags: patch
X-Debbugs-Cc: corcodel.marian@gmail.com

Hi
Bellow i explain simple method used only for research purpose used as
countermeasure in order to run MODULE_DEVICE_TABLE macro whithout .ko file,
just fixing stringfy problems ,like:

ld: drivers/usb/host/ehci-pci.o:(.rodata+0x0): multiple definition of
`__mod_pci__pci_ids_device_table';
drivers/tty/serial/8250/8250_mid.o:(.rodata+0x0): first defined here
ld: drivers/usb/host/ohci-pci.o:(.rodata+0x0): multiple definition of
`__mod_pci__pci_ids_device_table';
drivers/tty/serial/8250/8250_mid.o:(.rodata+0x0): first defined here


-- System Information:
Debian Release: 12.9
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.5+ (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-source depends on:
pn  linux-source-6.1  <none>

linux-source recommends no packages.

linux-source suggests no packages.

[toc] | [next] | [standalone]


#86266 — Bug#1099302: People still can avoid multiple ...cont

FromMarian Corcodel <corcodel.marian@gmail.com>
Date2025-03-02 01:20 +0100
SubjectBug#1099302: People still can avoid multiple ...cont
Message-ID<KlFdM-2WXt-19@gated-at.bofh.it>
In reply to#86246
People can build a list in format .txt in kernel with reserved names used around
MODULE_DEVICE_TABLE, relative to names used by pci_id to avoid
duplicates, repeat ,loader
program is good make good job against this situation, seems random
number generator have
some issuess, or just voluntary just remove pci_id from kernel and let
developersto chose his name, and result double guards agains stringfy
problems.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web