Ticket #106 (new defect)

Opened 2 months ago

Last modified 2 months ago

Regression tests fail for Python 2.6 on Win32

Reported by: JimKleckner Assigned to: somebody
Priority: major Milestone: 0.11
Component: Parsing Version:
Keywords: Cc:

Description

8 regression tests fail on Python 2.6 release using Visual Studio 9.0 on Windows XP.

This was run using the changeset 1291:16fc9454a2e5

ERROR: compiling (c) coercearraytoptr
ERROR: compiling (cpp) coercearraytoptr
ERROR: compiling (c) declarations
ERROR: compiling (cpp) declarations
ERROR: compiling (c) excvalcheck
ERROR: compiling (cpp) excvalcheck
ERROR: compiling (c) nogil
ERROR: compiling (cpp) nogil

coercearraytoptr.obj : error LNK2019: unresolved external symbol _spam referenced in function ___pyx_f_16coercearraytoptr_eggs
cython-devel\BUILD\compile\c\coercearraytoptr.pyd : fatal error LNK1120: 1 unresolved externals
coercearraytoptr.obj : error LNK2019: unresolved external symbol _spam referenced in function "void __cdecl __pyx_f_16coercearraytoptr_eggs(void)" (?__pyx_f_16coercearraytoptr_eggs@@YAXXZ)
cython-devel\BUILD\compile\cpp\coercearraytoptr.pyd : fatal error LNK1120: 1 unresolved externals
declarations.obj : error LNK2019: unresolved external symbol _ifnp referenced in function ___pyx_f_12declarations_f
cython-devel\BUILD\compile\c\declarations.pyd : fatal error LNK1120: 1 unresolved externals
declarations.obj : error LNK2019: unresolved external symbol _ifnp referenced in function "void __cdecl __pyx_f_12declarations_f(void)" (?__pyx_f_12declarations_f@@YAXXZ)
cython-devel\BUILD\compile\cpp\declarations.pyd : fatal error LNK1120: 1 unresolved externals
excvalcheck.obj : error LNK2019: unresolved external symbol _tomato referenced in function ___pyx_f_11excvalcheck_eggs
excvalcheck.obj : error LNK2019: unresolved external symbol _grail referenced in function ___pyx_f_11excvalcheck_eggs
excvalcheck.obj : error LNK2019: unresolved external symbol _spam referenced in function ___pyx_f_11excvalcheck_eggs
cython-devel\BUILD\compile\c\excvalcheck.pyd : fatal error LNK1120: 3 unresolved externals
excvalcheck.obj : error LNK2019: unresolved external symbol _tomato referenced in function "void __cdecl __pyx_f_11excvalcheck_eggs(void)" (?__pyx_f_11excvalcheck_eggs@@YAXXZ)
excvalcheck.obj : error LNK2019: unresolved external symbol _grail referenced in function "void __cdecl __pyx_f_11excvalcheck_eggs(void)" (?__pyx_f_11excvalcheck_eggs@@YAXXZ)
excvalcheck.obj : error LNK2019: unresolved external symbol _spam referenced in function "void __cdecl __pyx_f_11excvalcheck_eggs(void)" (?__pyx_f_11excvalcheck_eggs@@YAXXZ)
cython-devel\BUILD\compile\cpp\excvalcheck.pyd : fatal error LNK1120: 3 unresolved externals
nogil.obj : error LNK2019: unresolved external symbol _e2 referenced in function ___pyx_f_5nogil_h
nogil.obj : error LNK2019: unresolved external symbol _e1 referenced in function ___pyx_f_5nogil_h
nogil.obj : error LNK2019: unresolved external symbol _g2 referenced in function ___pyx_f_5nogil_h
cython-devel\BUILD\compile\c\nogil.pyd : fatal error LNK1120: 3 unresolved externals
nogil.obj : error LNK2019: unresolved external symbol "void * __cdecl e2(void)" (?e2@@YAPAXXZ) referenced in function "void __cdecl __pyx_f_5nogil_h(struct _object *)" (?__pyx_f_5nogil_h@@YAXPAU_object@@@Z)
nogil.obj : error LNK2019: unresolved external symbol "void __cdecl e1(void)" (?e1@@YAXXZ) referenced in function "void __cdecl __pyx_f_5nogil_h(struct _object *)" (?__pyx_f_5nogil_h@@YAXPAU_object@@@Z)
nogil.obj : error LNK2019: unresolved external symbol _g2 referenced in function "void __cdecl __pyx_f_5nogil_h(struct _object *)" (?__pyx_f_5nogil_h@@YAXPAU_object@@@Z)
cython-devel\BUILD\compile\cpp\nogil.pyd : fatal error LNK1120: 3 unresolved externals

Change History

11/01/2008 04:19:49 PM changed by JimKleckner

I guess these tests also fail with 2.5.

11/03/2008 09:40:33 AM changed by JimKleckner

Hm. It happened on my cygwin-based platform as well.

11/03/2008 09:52:57 AM changed by JimKleckner

11/03/2008 11:58:28 AM changed by JimKleckner

Lisandro has checked in this patch:

http://www.cython.org/hg/cython-devel/rev/5905f7b15cb2

for this Trac item #104

I still get these link errors with cygwin/gcc using cython-dev changeset 1296:96f15e379330:

ERROR: compiling (c) coercearraytoptr
ERROR: compiling (cpp) coercearraytoptr
ERROR: compiling (c) declarations
ERROR: compiling (cpp) declarations
ERROR: compiling (c) excvalcheck
ERROR: compiling (cpp) excvalcheck

11/08/2008 02:40:11 PM changed by robertwb

  • milestone changed from 0.10 to 0.10.1.

Lisandro's patch was for warnings, not errors. Somehow on windows we need to tell it to ignore missing symbols (that would be "found" at runtime).

11/18/2008 09:00:28 PM changed by robertwb

  • milestone changed from 0.10.1 to 0.11.