Closed Bug 354867 Opened 18 years ago Closed 18 years ago

Solaris linker fails with "elf error" file ../../dist/lib/libgkconcvs_s.a: elf_getarsym

Categories

(Firefox Build System :: General, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 311143

People

(Reporter: aran, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.5) Gecko/20060731 Firefox/1.5.0.5
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.5)  Firefox/1.5.0.7

The archive libgkconcvs.a contains one file, dummy.o.  This file has no symbols, which is why the linker is objecting.  Using /usr/ccs/bin/elfdump -s on the file causes a elfdump to crash and produce a core file.

I've added a dummy symbol to dummy.cpp to make the linker happy and the build is proceding.

mozconfig:
. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=$topsrcdir/build32
ac_add_options --enable-optimize=-O2
ac_add_options --enable-defaiult-toolkit=gtk2
mk_add_options MOZ_CO_PROJECT=browser


Reproducible: Always

Steps to Reproduce:
1. Configure
2. Build
3. See the ld error.

Actual Results:  
The build stopped

Expected Results:  
Finished building

gcc 4.0.1 
Solaris 10's ld

*** This bug has been marked as a duplicate of 311143 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.