* [vfs:asm-exports 6/6] ERROR: "__raw_readsb" [drivers/ata/pata_pcmcia.ko] undefined!
@ 2016-01-14 2:50 kbuild test robot
2016-01-14 4:33 ` Al Viro
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2016-01-14 2:50 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git asm-exports
head: 5719a6be97e89c65e2b432b45850100c96c7419a
commit: 5719a6be97e89c65e2b432b45850100c96c7419a [6/6] arm: move exports to definitions
config: arm-viper_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 5719a6be97e89c65e2b432b45850100c96c7419a
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
>> ERROR: "__raw_readsb" [drivers/ata/pata_pcmcia.ko] undefined!
>> ERROR: "__raw_writesb" [drivers/ata/pata_pcmcia.ko] undefined!
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 17543 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [vfs:asm-exports 6/6] ERROR: "__raw_readsb" [drivers/ata/pata_pcmcia.ko] undefined!
2016-01-14 2:50 [vfs:asm-exports 6/6] ERROR: "__raw_readsb" [drivers/ata/pata_pcmcia.ko] undefined! kbuild test robot
@ 2016-01-14 4:33 ` Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2016-01-14 4:33 UTC (permalink / raw)
To: kbuild test robot; +Cc: kbuild-all, linux-kbuild, Michal Marek
On Thu, Jan 14, 2016 at 10:50:12AM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git asm-exports
> head: 5719a6be97e89c65e2b432b45850100c96c7419a
> commit: 5719a6be97e89c65e2b432b45850100c96c7419a [6/6] arm: move exports to definitions
> config: arm-viper_defconfig (attached as .config)
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 5719a6be97e89c65e2b432b45850100c96c7419a
> # save the attached .config to linux build tree
> make.cross ARCH=arm
>
> All errors (new ones prefixed by >>):
>
> >> ERROR: "__raw_readsb" [drivers/ata/pata_pcmcia.ko] undefined!
> >> ERROR: "__raw_writesb" [drivers/ata/pata_pcmcia.ko] undefined!
Arrgh... OK, I see what's going on - export in a lib-y object. For lib/*.c
we deal with that by putting such objects into obj-y; the same certainly
can be done for *.S, but I wonder if a better solution would be to have
lib-y objects scanned for __ksymtab_strings section (grepping in objdump -h
output) and treat the ones that have such as obj-y.
Comments?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-14 4:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 2:50 [vfs:asm-exports 6/6] ERROR: "__raw_readsb" [drivers/ata/pata_pcmcia.ko] undefined! kbuild test robot
2016-01-14 4:33 ` Al Viro
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.