[Python-bugs-list] [ python-Bugs-717455 ] cygwin build failing

SourceForge.net noreply@sourceforge.net
Tue, 08 Apr 2003 21:10:57 -0700


Bugs item #717455, was opened at 2003-04-08 07:45
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=717455&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Hammond (mhammond)
Assigned to: Jason Tishler (jlt63)
Summary: cygwin build failing

Initial Comment:
Win2k, fairly recent cygwin, Python CVS trunk

configure works, build starts fine, until

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes 
Parser/acceler.o Parser/grammar1.o Parser/listnode.o
Parser/node.o Parser/parser.o Parser/parsetok.o
Parser/bitset.o Parser/metagrammar.o Objects/obmallo
c.o Python/mysnprintf.o Parser/tokenizer_pgen.o
Parser/firstsets.o Parser/grammar.o Parser/pgen.o Pa
rser/printgrammar.o Parser/pgenmain.o  -o Parser/pgen.exe
Parser/firstsets.o(.text+0x299): In function
`calcfirstset':
/f/src/python-cvs/Parser/firstsets.c:62: undefined
reference to `__PyObject_DebugMalloc'
Parser/firstsets.o(.text+0x388):/f/src/python-cvs/Parser/firstsets.c:76:
undefined reference to `__P
yObject_DebugRealloc'
Parser/grammar.o(.text+0x24): In function `_Py_newgrammar':
/f/src/python-cvs/Parser/grammar.c:19: undefined
reference to `__PyObject_DebugMalloc'
Parser/grammar.o(.text+0xe6): In function `_Py_adddfa':
/f/src/python-cvs/Parser/grammar.c:36: undefined
reference to `__PyObject_DebugRealloc'
Parser/grammar.o(.text+0x1cb): In function `_Py_addstate':
/f/src/python-cvs/Parser/grammar.c:54: undefined
reference to `__PyObject_DebugRealloc'
Parser/grammar.o(.text+0x397): In function `_Py_addarc':
/f/src/python-cvs/Parser/grammar.c:77: undefined
reference to `__PyObject_DebugRealloc'
Parser/grammar.o(.text+0x4b1): In function `_Py_addlabel':
/f/src/python-cvs/Parser/grammar.c:96: undefined
reference to `__PyObject_DebugRealloc'

firstsetc.c:62: is a PyMem_NEW call.  The error implies
a debug build, but the flags imply release.  Configure
was done with no options.

I'm not even sure I want a pgen.exe :)  A quick scan of
python-dev and the bug list showed nothing


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-04-09 00:10

Message:
Logged In: YES 
user_id=33168

This kind of problem happens to me when I build with debug,
cvs update, then build without debug.  I suspect a make
clean will fix the problem.

----------------------------------------------------------------------

Comment By: Jason Tishler (jlt63)
Date: 2003-04-08 11:54

Message:
Logged In: YES 
user_id=86216

Sorry, I cannot reproduce with CVS updated this morning
(ET) using my normal build procedure:

$ cvs update
...
$ mkdir build
$ cd build
$ ../configure --prefix=/usr
...
$ make
...

How did you configure? Are you building in the source tree
or a separate build tree?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=717455&group_id=5470