Jump to content

No A Bug But I Have Some Problem Upgrading To 6.33


Recommended Posts

I have some problems with the "linker" when I upgraded from 6.31 to 6.33. This is most likely some misstake that I have done. I have no problem with the programs when I used revision 6.31 but the same code will not link with the release 6.33.

Is it possible to download 6.31 again? I can not find it at the "downloading" web page.

 

BR Lasse T

Link to post
Share on other sites

Some more information

=================

I have been running with SourceBoost 6.31 until my HD

gave up :-( a few days ago. (Yes I have a backup)

But I got some problem upgrading to revision 6.33 and 6.32.

 

Program compilation is reporting "success" but linker is

reporting "fail".

 

See below my very stripped down software for testpurpose.

 

I think the union/struct design give the later two revisions

a hard time, BUT I´m not sure !!!!!!!!!!!!!!!

 

Everything is ok with revision 6.31.

 

I have a lot of union/struct designs like this below in my

"large protocol software" and it is running OK with releases

up to 6.31.

 

 

Regards Lasse T

 

####################################################

 

 

// Very simple testprogram that has been compiled with

// Revision 6.31, 6.32 and 6.33 of SourceBoost IDE

//

 

 

#include <system.h>

#include <boostc.h>

 

//THIS PART IS NORMALLY IN MY GENERAL IO CODE BLOCK

//====================================================

// union used by show memory function

//====================================================

union

{

unsigned int Val;

struct

{

unsigned char low_byte;

unsigned char high_byte;

} bytes;

} tempAddress;

 

//

// stripped down show memory program :-) for test purpose

//

void show_memory(unsigned int address, unsigned int mempos)

{

tempAddress.Val = address;

 

unsigned int p;

unsigned char a_test;

unsigned char b_test;

 

 

for (p=0; p< mempos; p+=8)

{

a_test = tempAddress.bytes.low_byte;

b_test = tempAddress.bytes.high_byte;

tempAddress.Val += 0x08;

}

}

//===================================================

 

 

//==================================================

// S I M P L E M A I N

//==================================================

 

void main()

{

char i = 1;

show_memory (0x1234 ,80);

while (i);

}

 

 

##################################################

 

// T E S T R E S U L T S

////////////////////////////////////////

 

Test with Release 6.33

======================

 

Building...

BoostC Optimizing C Compiler Version 6.33 (for PIC18 architecture)

http://www.sourceboost.com

Copyright© 2004-2006 Pavel Baranov

Copyright© 2004-2006 David Hobday

 

Single user Lite License (Unregistered) for 0 node(s)

Limitations: PIC18 max code size:8192 bytes, max RAM banks:2, Non commercial use only

 

 

LTO_Compiler_Link_tst.c

 

success

BoostLink Optimizing Linker Version 6.33

http://www.sourceboost.com

Copyright© 2004-2006 Pavel Baranov

Copyright© 2004-2006 David Hobday

 

 

 

 

Failure

Exit code was -2.

Removing target: LTO_Compiler_Link_tst.hex

Error: ID referenced doesn't exist yet, original ID:0x0000018F

in File: 'LTO_Compiler_Link_tst.obj'

Failed to locate output file 'LTO_Compiler_Link_tst.hex'

Done

 

Failed

 

//0000000000000000000000000000000000000000000000000000000000000000

 

Test with Release 6.32

======================

 

Building...

BoostC Optimizing C Compiler Version 6.32 (for PIC18 architecture)

http://www.picant.com/c2c/c.html

Copyright© 2004-2006 Pavel Baranov

Copyright© 2004-2006 David Hobday

 

Single user Lite License (Unregistered) for 0 node(s)

Limitations: PIC18 max code size:8192 bytes, max RAM banks:2, Non commercial use only

 

 

LTO_Compiler_Link_tst.c

 

success

BoostLink Optimizing Linker Version 6.32

http://www.picant.com/c2c/c.html

Copyright© 2004-2006 Pavel Baranov

Copyright© 2004-2006 David Hobday

 

 

 

 

Failure

Exit code was -2.

Removing target: LTO_Compiler_Link_tst.hex

Error: ID referenced doesn't exist yet, original ID:0x0000018F

in File: 'LTO_Compiler_Link_tst.obj'

Failed to locate output file 'LTO_Compiler_Link_tst.hex'

Done

 

Failed

 

 

//00000000000000000000000000000000000000000000000000000000000000000

 

Test with Release 6.31

======================

 

 

Building...

BoostC Optimizing C Compiler Version 6.31 (for PIC18 architecture)

http://www.picant.com/c2c/c.html

Copyright© 2004-2006 Pavel Baranov

Copyright© 2004-2006 David Hobday

 

Single user Lite License (Unregistered) for 0 node(s)

Limitations: PIC18 max code size:8192 bytes, max RAM banks:2, Non commercial use only

 

 

LTO_Compiler_Link_tst.c

 

success

BoostLink Optimizing Linker Version 6.31

http://www.picant.com/c2c/c.html

Copyright© 2004-2006 Pavel Baranov

Copyright© 2004-2006 David Hobday

 

 

Building CASM file

 

Memory Usage Report

===================

RAM available:1536 bytes, used:12 bytes (0.8%), free:1524 bytes (99.2%),

Heap size:500 bytes, Heap max single alloc:127 bytes

ROM available:32768 bytes, used:89 bytes (0.3%), free:32679 bytes (99.7%)

 

 

Successful

Done

 

//00000000000000000000000000000000000000000000000000000000000000000

Link to post
Share on other sites

LasseT,

 

This is a problem has now been resolved.

A new release will be available pretty soon that will have the fix.

 

Regards

Dave

Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...