Closed Bug 217312 Opened 22 years ago Closed 22 years ago

Mozilla doesnt start because of relocation errors after being build with Sun CC 5.5 (Forte 8) on Solaris/sparc

Categories

(SeaMonkey :: Build Config, defect)

Sun
Solaris
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: r.e.j.degroot, Assigned: leaf)

Details

User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3b) Gecko/20030305 Build Identifier: ftp://ftp.mozilla.org/pub/mozilla/releases/mozilla1.4/src/ When buiding mozila-1.4 release on Sun Solaris 9 08/03 with Forte 8 (all patches applied to both the OS and the compiler) the build will not start up. It will report relocation errors for libraries which are stored in the dist/bin/components directory. Reproducible: Always Steps to Reproduce: 1. Build mozilla-1.4 on Sun Solaris 9 (08/03) with Forte 8 and all patches applied 2. Start mozilla from mozilla/dist/bin Actual Results: A variety of relocation errors: $ ./mozilla ld.so.1: ./mozilla-bin: fatal: relocation error: file /home/jogchem/mozilla/dist/bin/components/libimglib2.so: symbol : referenced symbol not found Killed $ ./mozilla-bin ld.so.1: ./mozilla-bin: fatal: relocation error: file ./mozilla-bin: symbol PL_strncpy: referenced symbol not found Killed Expected Results: A problemless startup of the mozilla browser. When the libraries which generate the relocation errors are moved to a crle-configured library directory the problems seem disappear. However i ll have to move practically all files in mozilla/dist/bin/components there as it will simply give relocation errors on a different library when i move for example 'libimglib2.so'.
This is a problem with your build flags/LD_RUN_PATH path setup and/or your LD_LIBRARY_PATH setup. It works just fine with Forte compilers.
Mozilla used to build fine for me too, i build 1.2 to 1.4 fine with Forte7. The problems started when i switched to Forte8.
Ok, i'll double check tomorrow. I'm sure i'm compiling with F8 too, though if that's the case then the problem is surely a compiler issue and not mozilla's fault ?
OS: SunOS → Solaris
Sorry it took so long. I built with SOS8 (Studio 8) - i'm assuming that's what you mean by Forte 8 http://wwws.sun.com/software/sundev - and it works perfectly.
Mass reassign of Build/Config bugs to Leaf.
Assignee: mozbugs-build → leaf
So nobody sees a problem anymore? pi
Definetly working fine. Here's my about:buildconfig from a build yesterday: about:buildconfig Build platform target sparc-sun-solaris2.9 Build tools Compiler Version Compiler flags cc Sun C 5.5 Patch 112760-01 2003/05/18 -I/share/cprbld/users/scratch/mitch/mozilla -xstrconst -xbuiltin=%all -mt CC Sun C++ 5.5 Patch 113817-01 2003/05/18 -xbuiltin=%all -mt Configure arguments --enable-optimize=-g --with-gtk --with-static-gtk --without-system-zlib --without-system-jpeg --without-system-png --without-system-mng --enable-crypto --enable-ldap-experimental --enable-js-ultrasparc --enable-mathml --enable-calendar --disable-tests --disable-static --enable-extensions --disable-debug --disable-logging --disable-nls
Well, then let's close this bug. pi
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.