Closed
Bug 192975
Opened 23 years ago
Closed 23 years ago
Configure does not test supplied compiler options for validity
Categories
(SeaMonkey :: Build Config, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.4beta
People
(Reporter: tenthumbs, Assigned: netscape)
Details
Attachments
(1 file)
|
869 bytes,
patch
|
bryner
:
review+
|
Details | Diff | Splinter Review |
I was experimenting with a highly optimized build this morning so I said
./configure --disable-mailnews --disable-debug --disable-ldap \
--enable-optimize="-Wall -W -O3 -minline-all-string-ops -fomit-frame-pointer"
Configure happily did its thing without incident but make immediately failed
because -minline-all-string-ops is incorrect. It should be -minline-all-stringops.
Mozilla should test that the user's options actually work.
Comment 1•23 years ago
|
||
> -fomit-frame-pointer
"Don't Do That". Mozilla won't run. Last I checked, the build docs said that
pretty clearly... (not relevant to the actual bug here; just letting you know).
> "Don't Do That"
This is one of the few times I actually know something.
The build docs are wrong. Xptcall used to depend on having valid frame pointers.
Bug 140412 fixed that for Linux. Bug 181464 is about porting the new code to
other platforms. The OS/2 people are also thinking of using the new code.
Once I fixed the typo mozilla really does work.
| Assignee | ||
Comment 3•23 years ago
|
||
So when do we get a medal for saving the users from themselves?
-fomit-frame-pointer is still not generally recommended as not all platforms
have had their xptcall glue rewritten to avoid the use of fp. From the sounds
of it, only it only works on recent (1.1+) builds on linux/x86.
Priority: -- → P4
Target Milestone: --- → mozilla1.4beta
> So when do we get a medal for saving the users from themselves?
I'm not a big fan of hand holding but mozilla uses autoconf and every
other autoconf package tests the compiler + options early on.
Admittedly, that's using CFLAGS but mozilla has chosen to add an
additional option for optimizing so I think that mozilla should be
consistent with the typical, and probably expected, autoconf behavior.
> -fomit-frame-pointer is still not generally recommended as not all
> platforms ...
Certainly true. I should have been more specific that I know it works
only for x86 Linux.
In any event, this is just a diversion from the point here.
| Assignee | ||
Comment 5•23 years ago
|
||
| Assignee | ||
Updated•23 years ago
|
Attachment #118886 -
Flags: review?(bryner)
Updated•23 years ago
|
Attachment #118886 -
Flags: review?(bryner) → review+
| Assignee | ||
Comment 6•23 years ago
|
||
Patch has been checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•