gcc Win32 build fails in js

VERIFIED WORKSFORME

Status

--
critical
VERIFIED WORKSFORME
15 years ago
14 years ago

People

(Reporter: d_king, Assigned: leaf)

Tracking

Trunk
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031030
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031030

My build of Mozilla using gcc, MinGW, cygwin on Win32 fails with :-

rm -f xpc3250.dll
/cygdrive/c/mozilla/source/mozilla/build/cygwin-wrapper g++ -march=athlon-xp -mm
mx -msse -mno-cygwin -shared -o xpc3250.dll  nsScriptError.o nsXPConnect.o xpcca
llcontext.o xpccomponents.o xpccontext.o xpcconvert.o xpcdebug.o xpcexception.o
xpcjsid.o xpcjsruntime.o xpclog.o xpcmaps.o xpcmodule.o xpcruntimesvc.o xpcstack
.o xpcstring.o xpcthreadcontext.o xpcthrower.o xpcwrappedjs.o xpcvariant.o xpcwr
appedjsclass.o xpcwrappednative.o xpcwrappednativeinfo.o xpcwrappednativejsops.o
 xpcwrappednativeproto.o xpcwrappednativescope.o   ./module.res          -Wl,--w
hole-archive ../../../../dist/lib/libjsloader_s.a  -Wl,--no-whole-archive -L../.
./../../dist/lib -lxpcom -L../../../../dist/bin -L../../../../dist/lib -lnspr4 -
lplc4 -lplds4 -L../../../../dist/lib -ljs3250   -lm
Info: resolving __ZTV14nsXPTCStubBase by linking to __imp___ZTV14nsXPTCStubBase
(auto-import)
xpcwrappedjs.o(.text$_ZN14nsXPTCStubBaseC2Ev+0x16): In function `ZNK14XPCCallCon
textcvP9JSContextEv':
c:/mozilla/source/mozilla/js/src/xpconnect/src/xpcinlines.h: variable 'vtable fo
r nsXPTCStubBase' can't be auto-imported. Please read the documentation for ld's
 --enable-auto-import for details.
make[4]: *** [xpc3250.dll] Error 1


This is similar to Bug #217009, but that patch from that bug doesn't seem to
exist on the Trunk.

Reproducible: Always

Steps to Reproduce:





This just started happening in the last few days. I've tried a build clean, a
build distclean, and even deleting the CVS "?" files, but no luck.
(Reporter)

Comment 1

15 years ago
I've just noticed that this error isn't happening on my Thunderbird or Firebird
builds. That is, xpc3250.dll is created when building those two birds.
(Reporter)

Comment 2

15 years ago
OK, after trying to sort this one out, including illogical compile parameters
like  "-Wl,--whole-archive -Wl,--no-whole-archive" I gave up and deleted
everything under mozilla/ excluding mozilla/.mozconfig.

After repulling all files and building, problem has gone away. Todays depend
build also worked fine.

Resolving WFM.
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → WORKSFORME
(Reporter)

Comment 3

15 years ago
v'ing as I had this problem again, and a fresh pull fixed the problem.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.