Board index » cppbuilder » BCBv5 & Finalbuilder freeze the PC on Athlon system.

BCBv5 & Finalbuilder freeze the PC on Athlon system.


2004-05-14 05:49:52 AM
cppbuilder21
David, is there any way that you can build your project with either
pure command line tools or only BCB Gui?
You are introducing another very big unknown into the equasion by using
the FinalBuilder Gui app, which might turn out to be the only problem.
Is there any way to export a FinalBuilder project to a Batch or Makefile?
David Perkins wrote:
Quote
I normally use FinalBuilder
(www.atozedsoftware.com/finalbuilder/) as my build tool. This
uses bprtomak before calling BCBv5 on the cmd line. It too froze the PC
whilst compiling, forcing a reset.

BCBv5 & Finalbuilder freeze the PC.
Make is OK.

Odd.

David
--
Robert Ehteshamzadeh (C++ QA)
 
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

Quote
David, is there any way that you can build your project with either
pure command line tools or only BCB Gui?
To recap, if I build the project with:
BCBv5 GUI, it freezes. (same file every time)
Make, it builds OK.
FinalBuilder (which uses bpr2mak), it freezes
When I tested MAKE and found that it worked, I tried FinalBuilder
because I know it also uses Make.
The current situation is bearable because I work on the offending
project probably once a week, so it's not a great hardship to use an
older, non-AMD 64 PC. My main aim in mentioning this was to make you
aware (especially with BCBv9 on the way) that there may be some issues
with compiling on AMD 64 cpu's
Quote
You are introducing another very big unknown into the equasion by using
the FinalBuilder Gui app, which might turn out to be the only problem.

Is there any way to export a FinalBuilder project to a Batch or Makefile?
FinalBuilder uses bpr2mak to create a make file and then calls MAKE,
which is why I'm a bit surprised that it also froze, since calling MAKE
from a command window doesn't.
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

Dave, could you post the code up that causes the problem for AMD64 cpus, so that we who have these processors
can corroborate what you say. Then we can definitely say that this is a problem with AMD64 cpus, rather than
with the PC itself. If getting a cut of code that fails is difficult, check for other postings from people who
have had similar problems. AMDs new CPU is definitely the best available currently, and I hope it takes off
for new PC sales. However, if you need to put _fpreset before each floating point section, or the AMD64 will
crash, then we have a major problem. I have BCB 5 SP1 and it is very stable and good to use.
By the way, does inserting the _fpreset call cause the problem to disappear? You didn't say whether you had
tried this in your last posting. TIA,
--
Mark Jacobs
DK Computing
www.dkcomputing.co.uk
XXXX@XXXXX.COM
 

{smallsort}

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

More importantly, post the build options which you can do by posting
either the .bpr or exporting to make (Project->Export To Make) and
posting the makefile. When I ran my test I did a static link.
Dynamically linking could give different results, for example. If you
don't wan to give away the source file names, just clip them out of the
.bpr / .mak.
Mark Jacobs wrote:
Quote
Dave, could you post the code up that causes the problem for AMD64 cpus, so that we who have these processors
can corroborate what you say. Then we can definitely say that this is a problem with AMD64 cpus, rather than
with the PC itself. If getting a cut of code that fails is difficult, check for other postings from people who
have had similar problems. AMDs new CPU is definitely the best available currently, and I hope it takes off
for new PC sales. However, if you need to put _fpreset before each floating point section, or the AMD64 will
crash, then we have a major problem. I have BCB 5 SP1 and it is very stable and good to use.

By the way, does inserting the _fpreset call cause the problem to disappear? You didn't say whether you had
tried this in your last posting. TIA,
--
Robert Ehteshamzadeh (C++ QA)
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

"Robert Ehteshamzadeh (Borland QA)" < XXXX@XXXXX.COM >wrote in
message news:40a3edde$ XXXX@XXXXX.COM ...
Quote
David, is there any way that you can build your project with either
pure command line tools or only BCB Gui?

You are introducing another very big unknown into the equasion by using
the FinalBuilder Gui app, which might turn out to be the only problem.

Is there any way to export a FinalBuilder project to a Batch or Makefile?
I'll jump in here because I was just scanning this group and saw
FinalBuilder in the title of a post (I'm the author of FinalBuilder).
FinalBuilder doesn't export batch files, it's meant to replace them!.
The way the BCB action works is this :
Load the bpr file using msxml
Apply project setting changes to the project file.
Save the project file to FBTemp.bpr
Call bpr2mak
call make on the generated mak file.
The stdout and stderr of both bpr2mak and make is redirected so that
FinalBuilder can save the output to it's log file.
We'll do some more testing here with BCB & FinalBuilder on an athlon 64
machine, however our testing so far (mostly confined to testing XPSP2 beta)
hasn't identified any issues.
--
Regards
Vincent Parrett
Atozed Software www.atozedsoftware.com
---------------
Automate your Build Process with FinalBuilder
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

"Robert Ehteshamzadeh (Borland QA)" < XXXX@XXXXX.COM >wrote in
message news:40a8f746$ XXXX@XXXXX.COM ...
Quote
More importantly, post the build options which you can do by posting
either the .bpr or exporting to make (Project->Export To Make) and
posting the makefile. When I ran my test I did a static link.
Dynamically linking could give different results, for example. If you
don't wan to give away the source file names, just clip them out of the
.bpr / .mak.
David, you might want to post the FBTemp.bpr and FBTemp.mak files generated
by FinalBuilder. That will at least give a clue as to the compiler/linker
settings.
--
Regards
Vincent Parrett
Atozed Software www.atozedsoftware.com
---------------
Automate your Build Process with FinalBuilder
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

"Mark Jacobs" < XXXX@XXXXX.COM >escribi?
en el mensaje news:40a4a36c$ XXXX@XXXXX.COM ...
Quote
Dave, could you post the code up that causes the problem for AMD64 cpus,
so that we who have these processors
can corroborate what you say. Then we can definitely say that this is a
problem with AMD64 cpus, rather than
with the PC itself. If getting a cut of code that fails is difficult,
check for other postings from people who
have had similar problems. AMDs new CPU is definitely the best available
currently, and I hope it takes off
for new PC sales. However, if you need to put _fpreset before each
floating point section, or the AMD64 will
crash, then we have a major problem. I have BCB 5 SP1 and it is very
stable and good to use.

It reminds me an old Microsoft problem when calling some MS-DLL's (like a
simple FileOpen in COMMDLG.DLL)
that caused the application to generate an error when closing (with old and
venerable BC). For some weird reason
MS switched to single precision (to make him code look faster? :-) ) and
that caused the problem.
Saludos
Sebastian
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

Robert\Vincent
Here's a link to the zipped bpr's/mak's
www.nsolve.com/download/amd64.zip
It contains 5 files, 2 bpr's, 2 maks and a text file explaining what
each file is.
The project does not link to any other dll's (excepting Windows dll's)
David
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

You have a compiler switch of -6
Doesn't this target specific processor architecture? Why not try the 80386 instruction set (no switch) or even
486 (-4) instead? Use the project options advanced compiler tab to access this in the IDE.
My default project options target 80386 processors, and the .bpr file does not contain any target processor
architecture switch at all (CFLAGS1 does not have any -3 -4 -5 or -6 in it). HTH,
--
Mark Jacobs
DK Computing
www.dkcomputing.co.uk
markj atty critical dotty co dotty uk
"David Perkins" < XXXX@XXXXX.COM >wrote in message news:40ab508d$ XXXX@XXXXX.COM ...
Quote
Here's a link to the zipped bpr's/mak's
www.nsolve.com/download/amd64.zip
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

Vincent Parrett (Atozed Software) wrote:
just to comment - very cool company name!
especially the Canadian pronunciation of the letter Z(ed). :-)
Happy friday everyone.
Victoria day long weekend for us up here in the not-so-frozen North eh.
Martin
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

"David Perkins" < XXXX@XXXXX.COM >wrote in message
Quote
Robert\Vincent

Here's a link to the zipped bpr's/mak's

www.nsolve.com/download/amd64.zip

It contains 5 files, 2 bpr's, 2 maks and a text file explaining what
each file is.

The project does not link to any other dll's (excepting Windows dll's)
Looking at the bpr files, it appears you have very different settings in
FinalBuilder to those in your original BCB project. What you need to so is
reload the settings from the bpr file and the one at a time re-apply the
settings you wanted in FinalBuilder - eventually you should hit the Freeze.
When you do, go back to BCB, apply the same settings that you had in
FinalBuilder and build, that will tell us if it's bpr2mak or make that is
freezing or if it's FinalBuilder.
--
Regards
Vincent Parrett
Atozed Software www.atozedsoftware.com
---------------
Automate your Build Process with FinalBuilder
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

Quote
especially the Canadian pronunciation of the letter Z(ed). :-)
What do you mean Canadian ? - for "Canadian" read "correct" :-)
John - UK
 

Re:BCBv5 & Finalbuilder freeze the PC on Athlon system.

john blackburn wrote:
Quote
>especially the Canadian pronunciation of the letter Z(ed). :-)


What do you mean Canadian ? - for "Canadian" read "correct" :-)


John - UK
I'll agree with that....I just figured there were so many americans
here, eh?
Martin