Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309087 - PPC64: gcc linking error with multiple TOCs for www-plugins/gnash
Summary: PPC64: gcc linking error with multiple TOCs for www-plugins/gnash
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-12 00:35 UTC by Andreas Thalhammer
Modified: 2010-03-17 21:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge attempt (emerge.log,732.46 KB, text/plain)
2010-03-12 00:37 UTC, Andreas Thalhammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Thalhammer 2010-03-12 00:35:32 UTC
www-plugins/gnash-0.8.6 doesn't compile on PPC64 arch due to the same linking errors I also got with the KDE apps KMail and KStars. (See bug #308903)

I get errors like:
/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/../../../../powerpc64-unknown-linux-gnu/bin/ld: .libs/NetConnection_as.o(.text+0x374): sibling call optimization to `gnash::as_value::~as_value()' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `gnash::as_value::~as_value()' extern

Before someone tells me: yes, I know, ppc64 is not one of the ACCEPT_KEYWORDS of www-plugins/gnash. I still gave it a shot and this is what I got.

I cannot patch this on my own as I don't know where to start, but adding the flags -mminimal-toc or -fno-optimize-sibling-calls could resolv the problem and give a working flash plugin for PPC64. So it will be at least worth a try.
Comment 1 Andreas Thalhammer 2010-03-12 00:37:25 UTC
Created attachment 223239 [details]
output of emerge attempt

If I could only add the -mminimal-toc flag for once and see what I get...
I need help because my programming skills are limited. Sorry.
Comment 2 Andreas Thalhammer 2010-03-12 14:22:24 UTC
My heart aches today. As I turned on my Power Mac G5 this morning -- the Late 2005 model with PCIe and one Dual-Core 2.0 GHz PowerPC 970 CPU -- I heared a load "bang" and that was it. It was a sudden death... (My guess is the power supply is broken.)

Sorry, I cannot continue with feedback on this bug. You may change the status to WONTFIX if you like, do as you see fit.

Thanks,
Andreas.
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2010-03-17 21:56:06 UTC
Thanks for the report. Sorry to hear about your Mac, hope you get it working again. For now, there's not much to do here, but if you are at some later time able to confirm that gnash builds and works when -mminimal-toc is added to the compiler flags, please re-open this bug.