Call for testing: Improved Firefox port.

Danny Rawlins d.rawlins at datafast.net.au
Tue Mar 4 09:10:12 UTC 2008


Alan wrote:
> Couldn't build the new port:
>
> c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -O2 -march=i686 -fomit-frame-pointer -pipe -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -march=i686 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden -fvisibility=hidden -fPIC -shared -Wl,-z,defs -Wl,-h,libxpcom_core.so -o 
> libxpcom_core.so  pldhash.o nsCOMPtr.o nsComponentManagerUtils.o nsDebug.o 
> nsID.o nsIInterfaceRequestorUtils.o nsINIParser.o nsMemory.o nsTraceRefcnt.o 
> nsWeakReference.o nsGREGlue.o nsVersionComparator.o nsTHashtable.o nsTArray.o 
> nsGenericFactory.o nsXPComInit.o 
> nsStringAPI.o       -Wl,--whole-archive ../../dist/lib/libxpcomds_s.a ../../dist/lib/libxpcomio_s.a ../../dist/lib/libxpcomcomponents_s.a ../../dist/lib/libxpcomthreads_s.a ../../dist/lib/libxpcomproxy_s.a ../../dist/lib/libxpcombase_s.a ../../dist/lib/libxptcall.a ../../dist/lib/libxptinfo.a ../../dist/lib/libxpt.a ../../dist/lib/libxptcmd.a ../../dist/lib/libstring_s.a  -Wl,--no-whole-archive  -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -ldl -lm
> /usr/bin/ld: ../../dist/lib/libxptinfo.a(xptiMisc.o)(.text+0x141): 
> unresolvable R_386_GOTOFF relocation against symbol `PR_LocalTimeParameters'
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> make[3]: *** [libxpcom_core.so] Error 1
> make[3]: Leaving directory `/usr/ports/work/firefox/src/mozilla/xpcom/build'
> make[2]: *** [libs] Error 2
> make[2]: Leaving directory `/usr/ports/work/firefox/src/mozilla/xpcom'
> make[1]: *** [tier_2] Error 2
> make[1]: Leaving directory `/usr/ports/work/firefox/src/mozilla'
> make: *** [default] Error 2
> =======> ERROR: Building '/usr/ports/pkgs/firefox#2.0.0.12-2.pkg.tar.gz' 
> failed.
>
>
> Google suggests:
>
> http://linuxfromscratch.org/pipermail/blfs-support/2006-November/061480.html
>   
Hmm I'd say try  "-fvisibility=hidden" in CXXFLAGS

 http://gcc.gnu.org/wiki/Visibility
> _______________________________________________
> CRUX mailing list
> CRUX at lists.crux.nu
> http://lists.crux.nu/mailman/listinfo/crux
>
>
>   




More information about the CRUX mailing list