Open Bug 830472 Opened 11 years ago Updated 2 years ago

Firefox should fail more gracefully when it fails to build w/ VS2012 w/o Update 1

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 8
defect

Tracking

(Not tracked)

People

(Reporter: ehsan.akhgari, Unassigned)

Details

Attachments

(1 file)

Attached file Build log
Please see the log.  Looks like we're mixing debug and release runtime libs?  I'm using VS2012 if that matters.
Here's my mozconfig:

$ cat .mozconfig-opt
mk_add_options MOZ_MAKE_FLAGS="-s -j36"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-opt
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --enable-dmd
I took out --enable-dmd and it didn't help.  Updating VS2012 next.
Hmm, updating VS did the trick.  Brian, can we perhaps detect the old compiler version and error out in configure.in or something with a good message asking the user to upgrade?
Yup
Assignee: nobody → netzen
I'll assign myself in case someone can get to it faster.
Assignee: netzen → nobody
I'm not sure if this is a valid bug. I can build rel opt with both vs10 and vs11.
(In reply to comment #6)
> I'm not sure if this is a valid bug. I can build rel opt with both vs10 and
> vs11.

With VS11 without the update?
Summary: Failed to build Firefox opt on Windows with VS2012 → Failed to build Firefox opt on Windows with VS2012 without Update 1
Summary: Failed to build Firefox opt on Windows with VS2012 without Update 1 → Firefox should fail more gracefully when it fails to build w/ VS2012 w/o Update 1
Sounds like configure should abort if we try compiling on VS2012 without Update 1 or newer?
Yup I think so, as per Comment 3
(In reply to :Ehsan Akhgari from comment #7)
> (In reply to comment #6)
> > I'm not sure if this is a valid bug. I can build rel opt with both vs10 and
> > vs11.
> 
> With VS11 without the update?

Ah no, 11.0.51106.01 Update 1. Strange though as I never had this problem before the update either.
Were you still on the preview release perhaps?
(In reply to comment #11)
> Were you still on the preview release perhaps?

No, this was a recent problem caused by something that landed recently I assume.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: