Closed Bug 514100 Opened 16 years ago Closed 9 years ago

Link error when building electrolysis on Ubuntu 8.04

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jgriffin, Unassigned)

Details

When attempting to build electrolysis on Ubuntu 8.04 (which has gcc 4.2.4), I get this link error: XRemoteClient_standalone.o:(.data.rel.ro._ZTI13XRemoteClient[typeinfo for XRemoteClient]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info' XRemoteClient_standalone.o:(.data.rel.ro._ZTI14nsRemoteClient[typeinfo for nsRemoteClient]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info' /usr/bin/ld: mozilla-xremote-client: hidden symbol `vtable for __cxxabiv1::__class_type_info' isn't defined /usr/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[4]: *** [mozilla-xremote-client] Error 1 make[3]: *** [libs_tier_toolkit] Error 2 make[2]: *** [tier_toolkit] Error 2 make[1]: *** [default] Error 2 make: *** [build] Error 2 I can build mozilla-central OK. The mozconfig file I'm using is: mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj-elec-dbg mk_add_options MOZ_MAKE_FLAGS="-s -j4" mk_add_options MOZ_DEBUG_SYMBOLS=1 export MOZ_DEBUG_SYMBOLS=1 #ac_add_options --enable-debugger-info-modules=yes ac_add_options --enable-debug ac_add_options --disable-optimize ac_add_options --enable-application=browser #ac_add_options --enable-tests ac_add_options --disable-necko-wifi
This sounds like a visibility error with the compiler, although that's unusual. You can try this hack: http://benjamin.smedbergs.us/blog/2006-03-28/gcc-and-visibility-one-step-forward-hit-a-brick-wall/
Oh, and I'm pretty sure this has nothing to do with Electrolysis.
Component: IPC → Build Config
QA Contact: ipc → build-config
Bug against an ancient toolchain we no longer support.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.