Closed Bug 390113 Opened 14 years ago Closed 14 years ago

mozilla should not be compiled with -fast on Solaris

Categories

(Firefox Build System :: General, defect)

All
OpenSolaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Details

Attachments

(1 file)

According to
http://developers.sun.com/sunstudio/documentation/ss11/mr/man1/cc.1.html

          The -fast option is unsuitable for programs that are
          intended to run on a different target than the compila-
          tion machine.

But currently it is used in building sqlite3, cairo, libpixman.
So if I compile Firefox on UltraSPARC IIIi, I got
$file libxul.so
libxul.so:    ELF 32-bit MSB dynamic lib SPARC32PLUS Version 1, V8+ Required, UltraSPARC3 Extensions Required, dynamically linked, not stripped

I think it won't run on a machine without UltraSPARC3 Extensions
Attached patch patchSplinter Review
use -xO5 instead
Assignee: nobody → ginn.chen
Status: NEW → ASSIGNED
Attachment #274441 - Flags: review?
Attachment #274441 - Flags: review? → review?(benjamin)
Attachment #274441 - Flags: review?(benjamin) → review+
Whiteboard: [wanted-1.9]
Checking in db/sqlite3/src/Makefile.in;
/cvsroot/mozilla/db/sqlite3/src/Makefile.in,v  <--  Makefile.in
new revision: 1.27; previous revision: 1.26
done
Checking in gfx/cairo/cairo/src/Makefile.in;
/cvsroot/mozilla/gfx/cairo/cairo/src/Makefile.in,v  <--  Makefile.in
new revision: 1.44; previous revision: 1.43
done
Checking in gfx/cairo/libpixman/src/Makefile.in;
/cvsroot/mozilla/gfx/cairo/libpixman/src/Makefile.in,v  <--  Makefile.in
new revision: 1.28; previous revision: 1.27
done
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.