Closed Bug 189678 Opened 22 years ago Closed 22 years ago

Building on Solaris assumes SUN linker not GNU implying errors while building

Categories

(SeaMonkey :: Build Config, defect)

Other
Other
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 91224

People

(Reporter: ks, Assigned: netscape)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020829
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020829

The makefiles assumes without testing, that when building on Solaris, Sun's
linker is to be used. The following files need to be corrected, if one wants to
build on Solarsis using GNU tools:

Remove the ',' between -B and symbolic in ./security/nss/lib/freebl/Makefile
  - simply remove the ',' do not replace with a ' '
and remove '-M,mapfile.Solaris' - not the one without the ','

Comment out line 'MKSHLIB += -M $(MAPFILE)' in
./security/coreconf/SunOS5.mk

In ./directory/c-sdk/build.mk comment out the lines:
DLLEXPORTS_PREFIX=-Blocal -M
USE_DLL_EXPORTS_FILE        = 1


Reproducible: Always

Steps to Reproduce:
1. compile on Solaris 2.8, using GCC 2.95.x and GNU linker


Actual Results:  
Build fails due to wrong parameters for the GNU ld.

Expected Results:  
Builded sucessfully

Hope the above is okay, else send an email!

*** This bug has been marked as a duplicate of 91224 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.