Closed Bug 236635 Opened 20 years ago Closed 20 years ago

js compilation failure under cygwin/mingw 3.3.1

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: gabor.liptak, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040219
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040219

/cygdrive/c/mozilla/mozilla/build/cygwin-wrapper gcc -mno-cygwin -shared -
Wl,--out-implib -Wl,libjs3250.dll.a -o js3250.dll  jsapi.o jsarena.o jsarray.o j
satom.o jsbool.o jscntxt.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn
.o jsfun.o jsgc.o jshash.o jsinterp.o jslock.o jslog2.o jslong.o jsmath.o jsnum.
o jsobj.o jsopcode.o jsparse.o jsprf.o jsregexp.o jsscan.o jsscope.o jsscript.o
jsstr.o jsutil.o jsxdrapi.o prmjtime.o   js3240.res           -Wl,--whole-archiv
e fdlibm/libfdm.a -Wl,--no-whole-archive -L../../dist/lib -lnspr4 -lplc4 -lplds4
 -lm
Creating library file: libjs3250.dll.a
jsemit.o(.text+0x38d0): In function `LookupArgOrVar':
c:/mozilla/mozilla/js/src/jsemit.c:1577: undefined reference to `__js_Look
upProperty'
jsemit.o(.text+0x68bf): In function `js_EmitTree':
c:/mozilla/mozilla/js/src/jsemit.c:2588: undefined reference to `__js_Look
upProperty'
jsfun.o(.text+0xffe): In function `args_enumerate':
c:/mozilla/mozilla/js/src/jsfun.c:468: undefined reference to `__js_Lookup
Property'
jsfun.o(.text+0x1083):c:/mozilla/mozilla/js/src/jsfun.c:475: undefined ref
erence to `__js_LookupProperty'
jsfun.o(.text+0x1159):c:/mozilla/mozilla/js/src/jsfun.c:484: undefined ref
erence to `__js_LookupProperty'
jsfun.o(.text+0x19fb):c:/mozilla/mozilla/js/src/jsfun.c:741: more undefine
d references to `__js_LookupProperty' follow
collect2: ld returned 1 exit status
make[4]: *** [js3250.dll] Error 1
make[4]: Leaving directory `/cygdrive/c/mozilla/mozilla/js/src'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/c/mozilla/mozilla/js'
make[2]: *** [tier_2] Error 2
make[2]: Leaving directory `/cygdrive/c/mozilla/mozilla'
make[1]: *** [default] Error 2

$ g++ --version
g++ (GCC) 3.3.1 (cygming special)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
fails

Expected Results:  
builds
I'm still experiencing this. Anybody else can confirm?

Thanks
if you do a make clean and the make it works

I had some of the same errors.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.