Bug#386815: gtk+2.0: FTBFS (ppc64): sibling call optimization to `IA__gdk_display_open' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls

Loïc Minier lool at dooz.org
Thu Jun 14 20:47:32 UTC 2007


tag 386815 + pending
stop

On Thu, Jun 14, 2007, Andreas Jochens wrote:
> Yes, a patch adding the -mminimal-toc flag to CFLAGS is still necessary 
> on ppc64. I will attach an updated version of the patch which applies
> to the latest version in unstable (2.10.13-1).

 Thanks for the patch, I've applied it to the experimental tree which
 should soon move to unstable.

 Since it's failing during ld, I would have assumed I could use LDFLAGS
 instead of CFLAGS, do you think that would be a problem?

> >  Is there a corresponding binutils bug open?  Is this fixed in newer
> >  binutils?
> I am not aware of any newer binutils version which would make it 
> possible to build gtk+2.0 without the extra -mminimal-toc flag on ppc64.

 Do you agree it's a bug in binutils?  Or do you think gtk upstream
 should make IA__gdk_display_open extern on ppc64?

 (I'd like to get this fixed at the proper place to build out of the
 box; either ld should find its way, or gtk's upstream should change the
 code and/or pass a flag for ppc64.)

   Thanks,
-- 
Loïc Minier





More information about the pkg-gnome-maintainers mailing list