Bug 9667

Summary: powerpc/platforms/cell/spufs/: multiple definition of `notify_spus_active'
Product: Platform Specific/Hardware Reporter: Adrian Bunk (bunk)
Component: PPC-64Assignee: Jeremy Kerr (jk)
Status: CLOSED CODE_FIX    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Current -git (e697789d) Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 9243    
Attachments: .config used

Description Adrian Bunk 2007-12-31 10:52:33 UTC
Commit aed3a8c9bb1a8623a618232087c5ff62718e3b9a causes the following build error:

<--  snip -->

...
  LD      arch/powerpc/platforms/cell/built-in.o
arch/powerpc/platforms/cell/spufs/built-in.o: In function `.notify_spus_active':
(.text+0xa25c): multiple definition of `.notify_spus_active'
arch/powerpc/platforms/cell/spu_syscalls.o:(.text+0x0): first defined here
arch/powerpc/platforms/cell/spufs/built-in.o: In function `notify_spus_active':
(.opd+0x1038): multiple definition of `notify_spus_active'
arch/powerpc/platforms/cell/spu_syscalls.o:(.opd+0x0): first defined here
make[3]: *** [arch/powerpc/platforms/cell/built-in.o] Error 1

<--  snip  -->
Comment 1 Adrian Bunk 2007-12-31 10:53:16 UTC
Created attachment 14240 [details]
.config used
Comment 2 Jeremy Kerr 2008-01-01 20:41:53 UTC
Patch coming in via paulus' tree:

http://patchwork.ozlabs.org/linuxppc/patch?id=15882
Comment 3 Rafael J. Wysocki 2008-01-02 04:27:38 UTC
Fixed by:

commit a5a971129cc6155e26315fd28a450505ccc35fd8
Author: Paul Mackerras <paulus@samba.org>
Date:   Wed Jan 2 15:56:30 2008 +1100

    [POWERPC] Fix build failure on Cell when CONFIG_SPU_FS=y

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a5a971129cc6155e26315fd28a450505ccc35fd8