Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 112704

Summary: VISIBILITY_FLAGS causes problems for PPC while compiling FireFox 1.5 (SeaMonkey too)
Product: Gentoo Linux Reporter: J.O. Aho <bugs-gentoo>
Component: Current packagesAssignee: Jory A. Pratt <geekypenguin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description J.O. Aho 2005-11-16 07:35:20 UTC
As the variables VISIBILITY_FLAGS and WRAP_SYSTEM_INCLUDES in Makefile are set,
causes the build of Firefox 1.5 (SeaMonkey too) to fail on PowerPC with
undefined reference to functions in Glibc.

Reproducible: Always
Steps to Reproduce:
1. emerge =mozilla-firefox-1.5_rc1-r1

Actual Results:  
Fails on PowerPC with undefined reference to functions in Glibc.

Expected Results:  
FireFox 1.5rc1 would have been built and working.

To make a successfull build of FireFox 1.5 and SeaMonek (not in the portage yet
as I can understand), you need to change the 

VISIBILITY_FLAGS='-I$(DIST)/include/system_wrappers -include
$(topsrcdir)/config/gcc_hidden.h'
WRAP_SYSTEM_INCLUDES=1

to

VISIBILITY_FLAGS='-fvisibility=hidden'
WRAP_SYSTEM_INCLUDES=

In the main Makefile before the configuration is done.
Comment 1 Jory A. Pratt 2005-11-23 10:08:55 UTC
emerge info is missing. Please add it to the bug report.
Comment 2 Jory A. Pratt 2005-11-23 19:50:23 UTC
I have changed out visibility patch that corrects this issues.