Bug 2190 - recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `IA__gtk_window_present' extern
Summary: recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `IA__gtk...
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2188
  Show dependency treegraph
 
Reported: 2006-01-21 21:03 UTC by Andrew Cagney
Modified: 2006-01-21 22:38 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-01-21 21:03:01 UTC
While building on RHEL-4 ppc64 (at least I think that's how it's configured):

/usr/bin/ld: .libs/gtkaboutdialog.o(.text+0x4524): sibling call optimization to
`IA__gtk_window_present' does not allow automatic multiple TOCs; recompile with
-mminimal-toc or -fno-optimize-sibling-calls, or make `IA__gtk_window_present'
extern
/usr/bin/ld: final link failed: Bad value
Comment 1 Andrew Cagney 2006-01-21 22:38:07 UTC
* Sat Jan 21 2006 Andrew Cagney <cagney@redhat.com> 0.0.1.2006.01.13-0.EL4.9
- Replace macros gccp, and gccs with frysk_gcc_prefix and
  frysk_gcc_suffix.  Update EXPORT function to use.
- In EXPORT, for ppc64, append -mminimal-toc to all all compiler
  environment variables.
- Add macros build_frysk, and build_antlr.  Use instead of
  architecture test.

built on RHEL-4; works?