Closed Bug 196442 Opened 23 years ago Closed 23 years ago

MSVC build fails without GNU binutils installed

Categories

(SeaMonkey :: Build Config, defect)

x86
Windows XP
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.4alpha

People

(Reporter: fredbezies, Assigned: netscape)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030307 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030307 This bug is driving me crazy. I cannot build anymore mozilla. It breaks during configure. Build process worked until today, before the huge amount of checkins for bug 134113. Reproducible: Always Steps to Reproduce: 1.Grab a tarball 2.Apply all CVS patches 3.Try to launch build process. Actual Results: Process kills itself, saying : "configure:error: Building crypto support requires a valid version of the standalone assembler, ml.exe" Expected Results: Building mozilla ! I am using the same building environment for nearly a month, and I made everyday a working build ! Here are the option of my .mozconfig file : ac_add_options --without-system-jpeg ac_add_options --without-system-zlib ac_add_options --enable-extensions ac_add_options --enable-crypto ac_add_options --disable-debug ac_add_options --enable-optimize ac_add_options --enable-calendar ac_add_options --disable-pedantic ac_add_options --disable-installer ac_add_options --enable-strip I also have a building log. Last line is saying "checking for mmintrin.h... no", but I do have this file in include directory of my VC++ installation.
Can you attach the config.log file as well? checking for as... no It's not finding ml.exe in the current path.
Well. This is weird, but when I installed MinGW32, build process work until its "normal" end ! Modifying summary.
Summary: Cannot start building. It kills itself in the beginning. → Building doesn't start without MinGW32 even not using it for building.
That is weird as I'm fairly certain that none of the tinderbox have mingw installed. I guess I'll try uninstalling mingw locally to see what happens.
Ok, for some odd reason, |AC_PATH_PROGS| isn't automatically checking for $AS like the subsequent |AC_CHECK_PROGS| macros are so it doesn't check for ml. Hrm, digging through the macro definitions, it seems as though AC_PATH_PROG[S] does an absolute path check before accepting the variable. It turns out that the tinderboxes have cygwin's binutils installed which is why the test passed there.
Summary: Building doesn't start without MinGW32 even not using it for building. → MSVC build fails without GNU binutils installed
I just checked in the following fix: - AC_PATH_PROGS(AS, as, $CC) + AC_PATH_PROGS(AS, $AS as, $CC) Try pulling configure and rebuilding without mingw in your path.
I removed c:\MinGW from my path, and it works. This patch seems to cure the bug. Build process is going on. I am waiting to see for its "normal" end, but I think you can close this bug as fixed. Thanks.
Ok. It's working. Marking as fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.4alpha
verified
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: