What causes a C compilation failure?

4 messages Options
Embed this post
Permalink
BruceMount

What causes a C compilation failure?

Reply Threaded More More options
Print post
Permalink
Eiffel Wizards:

What causes a C compilation failure?  When trying to finalize a project with 6.4 I get the messages:

Degree 6: Examining System
Degree -2: Constructing Polymorphic Table
Removing Dead Code
Degree -3: Generating Optimized Code
Eiffel Compilation Succeeded
Background Finalized C Compilation Launched.
Background Finalized C compilation Failed.

In the C panel I get the message

[stuff deleted]
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
make.exe": *** [eref.o] Error 3
[stuff deleted]

What's odd is that this project compiles fine when pressing F7 (I'm on an Win XP PC).  The same project compiled ran fine this morning on my other computer (also XP running 6.4).  Also, a minimally different version of this project compiled fine on Friday.)

As I've never seen an error like this, I'm not even sure what I should look at....any suggestions?

--Bruce

P.S.
I blew away EIFGENs and tried it again, but got the same result.  I also removed the project altogether and created a new project (which forced a compile) and got the same result.

BruceMount

Re: What causes a C compilation failure?

Reply Threaded More More options
Print post
Permalink
I probably should add that I am NOT (yet) running in void safe mode.

--Bruce


Emmanuel Stapf

RE: What causes a C compilation failure?

Reply Threaded More More options
Print post
Permalink
In reply to this post by BruceMount
> In the C panel I get the message
>
> [stuff deleted]
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application's support team for more information.
> make.exe": *** [eref.o] Error 3
> [stuff deleted]
 
> What's odd is that this project compiles fine when pressing F7 (I'm on an
> Win XP PC).  The same project compiled ran fine this morning on my other
> computer (also XP running 6.4).  Also, a minimally different version of
> this project compiled fine on Friday.)

Pressing F7 only melts. The failure here is when the C compiler tries to compile
the C generated code from the Eiffel compiler. Until the C compilation is
complete, you will not be able to run your application. This is clearly a C
compilation problem and I see that you are using the GNU C compiler. Maybe this a
known issue but without having the full output, it is going to provide guidance on
how to solve it. Can you submit the full C output to http://support.eiffel.com?

Regards,
Manu

------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  
BruceMount

Re: What causes a C compilation failure?

Reply Threaded More More options
Print post
Permalink
Manu:

> Pressing F7 only melts. The failure here is when the C compiler
> tries to compile the C generated code from the Eiffel compiler.

Yes, I understood that.  That's why I had no idea what to do next.

> Until the C compilation is complete, you will not be able to
> run your application.

Yes, that is why I was writing.

> Can you submit the full C output to http://support.eiffel.com?

Ugh...although I reproduced it 6 times yesterday, it seems to work fine today.  Same computer, same Eiffel installation, same exact code.  I have no idea why it would work now, but it does.

Thanks for your response.  If it happens again, I will submit the full C compilation info.  But for now, consider it closed.  Very weird.

--Bruce