Closed Bug 307639 Opened 19 years ago Closed 18 years ago

Solaris 10 builds need shared libfdm.a

Categories

(Core :: JavaScript Engine, defect)

1.0 Branch
Sun
Solaris
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: barbie, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.10) Gecko/20050720 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.10) Gecko/20050720 Firefox/1.0.6

Solaris 10 has no longer static system libraries for 32bit mode, which lets the
firefox 1.5b1 build fail:
/opt/SUNWspro/bin/cc -r -o jsmath.o jsmathtemp.o fdlibm/libfdm.a
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to jsmath.o
gmake[3]: *** [jsmath.o] Error 1



Reproducible: Always
Assignee: nobody → general
Component: Build Config → JavaScript Engine
Product: Firefox → Core
QA Contact: build.config → general
Version: unspecified → 1.0 Branch
Flags: testcase-
Just wondering, is this still a problem for you with Firefox 1.5 or current trunk? Maybe one of the JS peers can also comment here.
Yes, this is still the case,

1.5.0.2:

"jslong.c", line 45: warning: integer overflow detected: op "<<"
jsmath.c
Building deps for jsmath.c
/opt/SUNWspro/bin/cc -o jsmathtemp.o -c  -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DBUILD_ID=0000000000 -DEXPORT_JS_API  -DJS_USE_SAFE_ARENA   -I../../dist/include/js -I../../dist/include -I../../dist/include/nspr    -I../../dist/sdk/include -I. -I/usr/openwin/include   -KPIC -I/opt/include  -I/usr/openwin/include -fast -xdepend -xarch=v8plus -xO3 -xlibmil -xstrconst -xbuiltin=%all -mt  -DNDEBUG -DTRIMMED -xO4  -I/opt/include  -I/usr/openwin/include -DMOZILLA_VERSION=\"1.8.0.2\" -DMOZILLA_VERSION_U=1.8.0.2 -DSOLARIS=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -D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OZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1 -DNS_PRINTING=1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_LOCALE_VERSION=\"1.8\" -DMOZILLA_REGION_VERSION=\"1.8\" -DMOZILLA_SKIN_VERSION=\"1.8\"  -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT jsmath.c
/opt/SUNWspro/bin/cc -r -o jsmath.o jsmathtemp.o fdlibm/libfdm.a
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to jsmath.o
gmake[3]: *** [jsmath.o] Error 1
gmake[3]: Leaving directory `/home/barbie/incoming/mozilla/js/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/home/barbie/incoming/mozilla/js'
gmake[1]: *** [tier_2] Error 2
gmake[1]: Leaving directory `/home/barbie/incoming/mozilla'
gmake: *** [default] Error 2
zsh: 26767 exit 2     gmake
what does your .mozconfig look like?
what version of Sun Studio are you using?

I don't have such problem with Sun Studio 11 on Solaris 10/SPARC.
I'm building 32bit version.

Probably you should remove "-fast -xdepend -xarch=v8plus -xO3" from CFLAGS, CXXFLAGS.
Hi Barbie LeVile, please provide more information to this bug. Change to incomplete, need further information. 
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INCOMPLETE
Barbie, can you attach the output of "about:buildconfig"?  Thanks
You need to log in before you can comment on or make changes to this bug.