Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#6 most recent version won't compile

closed-fixed
nobody
5
2002-07-11
2002-03-30
Anonymous
No

30/03/02

Hi Armin and co-psyco developers,

I've been able to compile all psyco releases with the
exception of the current one.

My platform is winXP, Visual C++ 6.0 (without service
pack)...

cl.exe hangs on full throttle towards the end of the
compile (i.e. prior to any linking) and just stays
there until it is killed.

I've included stdout results of a build just in case
this is a duplicated problem (notice it never gets to
a linking phase).

It's might be due to the lack of a service pack update
for visual C++... but then again I've had no probs
with earlier releases.

Thanks for psyco in any case. C'est hyper-cool.

ciao

Sandy Norton

Discussion

  • Armin Rigo
    Armin Rigo
    2002-03-31

     
    Attachments
  • Sandy Norton
    Sandy Norton
    2002-04-01

    Logged In: YES
    user_id=502226

    Hi Armin,

    >I have attached it to your SourceForge report.

    Thanks.

    >I don't know what makes VC++ crash. Does it make a
    difference if you
    >compile Psyco file-by-file instead of as a single source,
    as is the
    >default? In other words, try creating a
    file 'preferences.py' with the
    >following line:
    >
    >ALL_STATIC = 0
    >
    >and compiling again. Does it help?

    Tried your suggestion, and unfortunately ended up with the
    same result: cl.exe hanging and maxing out the cpu until
    killed.

    Unless you've had others duplicate this crash, then it may
    be due to the fact that I haven't installed any service
    packs on VC++ 6.0 or to VC's interaction with some new XP
    dlls: pure speculation at this point of course.

    I'll try to install the service packs in the next few days,
    but please bear with me as I'm running off a dialup and the
    update files are massive.

    many thanks,

    Sandy

     
  • Sandy Norton
    Sandy Norton
    2002-04-01

    Logged In: YES
    user_id=502226

    Hi Armin,

    Ok.. I've downloaded and installed service pack 5 for
    visual c++ and unfortunately the compiler still gags on
    dispatcher.c and this with all the variations suggested:

    (1) basic cvs psyco
    (2) preferences.py (ALL_STATIC = 0) modification
    (3) modify dispatcher.h such that #define VLOCALS_OPC 1
    is changed to #define VLOCALS_OPC 0
    (4) combination of (2) and (3)

    On the bright side, this may not be due to your memory
    packing code, although I am at loss to figure out why this
    is happening. I don't know if anybody else can duplicate
    this strange behaviour which I believe is particular to
    current cvs version of psyco.

    And just to confirm: I have successfully compiled the prior
    version of cvs psyco (when you got sys._getframe() working)
    and the version before that which I saved historical
    reasons as it was a mite faster :-)

    hope this help,

    Sandy

     
  • Armin Rigo
    Armin Rigo
    2002-07-11

    • status: open --> open-fixed
     
  • Armin Rigo
    Armin Rigo
    2002-07-11

    • status: open-fixed --> closed-fixed