local symbols in discarded section
Quoted 9 lines
Tony> undefined reference to `local symbols in discarded
section .exit.text'Tony> message. Is this related to the warning about using
an old linker?Not likely. It sounds like a driver is failing to use
__exit_p()(seelinux/init.h).
The offending driver is i460-agp.c. Patch attached.
-Tony
===== drivers/char/agp/i460-agp.c 1.26 vs edited =====
drivers/char/agp/i460-agp.c +1 -1
@@ -608,7 +608,7 @@ .name = "agpgart-intel-i460", .id_table = agp_intel_i460_pci_table, .probe = agp_intel_i460_probe, - .remove = agp_intel_i460_remove, + .remove = __exit_p(agp_intel_i460_remove), };static int __init agp_intel_i460_init (void )
David Mosberger
AppliedQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Tony
Tony> undefined reference to `local symbols in discarded
Quoted 1 line
Quoted 1 line
section .exit.text'
Tony> message. Is this related to the warning about using
Quoted 4 lines
Quoted 4 lines
an old linker?
Not likely. It sounds like a driver is failing to use
__exit_p()(seelinux/init.h).
Tony> The offending driver is i460-agp.c. Patch attached.
Applied, thanks.
--david