Bug 9667 - powerpc/platforms/cell/spufs/: multiple definition of `notify_spus_active'
Summary: powerpc/platforms/cell/spufs/: multiple definition of `notify_spus_active'
Status: CLOSED CODE_FIX
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: PPC-64 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jeremy Kerr
URL:
Keywords:
Depends on:
Blocks: 9243
  Show dependency tree
 
Reported: 2007-12-31 10:52 UTC by Adrian Bunk
Modified: 2008-01-02 04:27 UTC (History)
0 users

See Also:
Kernel Version: Current -git (e697789d)
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
.config used (44.33 KB, text/plain)
2007-12-31 10:53 UTC, Adrian Bunk
Details

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

Note You need to log in before you can comment on or make changes to this bug.