Closed Bug 155342 Opened 22 years ago Closed 22 years ago

wrong usage of gnu-ld under solaris

Categories

(SeaMonkey :: Build Config, defect)

Sun
SunOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 91224

People

(Reporter: ensonic, Assigned: netscape)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.9) Gecko/20020314
BuildID:    

the file listed below still have faulty linker options
1.) please use 'ld --help'; there you'll see :
  -M, --print-map             Print map file on standard output
  -Map FILE                   Write a map file
  -Bsymbolic                  Bind global references locally


./directory/c-sdk/build.mk
change eventually (I don't know what -Blocal should be)
#DLLEXPORTS_PREFIX=-Blocal -M
DLLEXPORTS_PREFIX=--retain-symbols-file 


./security/nss/lib/freebl/Makefile
change 
#DSO_LDOPTS += -shared -Wl,-B,symbolic,-z,defs,-z,now,-z,text,-M,mapfile.Solaris
DSO_LDOPTS += -shared -Wl,-Bsymbolic,-z,defs,-z,now,-z,text,-M

and change
#MKSHLIB += -B symbolic -z defs -z now -z text -M mapfile.Solaris
MKSHLIB += -Bsymbolic -z defs -z now -z text -M


./security/coreconf/SunOS5.mk
change :
#    MKSHLIB += -M $(MAPFILE)
    MKSHLIB += -M


Reproducible: Always
Steps to Reproduce:
1. configure and make

Actual Results:  complains about invalid linker options

Expected Results:  compile and link without keeping me busy for days (I have
submitted this already several times)

info : >ld --version
GNU ld 2.9.1
Summary: wrong usage of gnu-ld unser solaris → wrong usage of gnu-ld under solaris

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