Jump to content

Recommended Posts

Posted

I have met a few cases that can pass simulation with 'binutils-2.17' and  'binutils-2.20.1'. But failed with 'binutils-2.22'. The gcc version is 4.6.3.

 

It seems that 'binutils-2.22' must be used with gcc 4.8, right? I am wondering whether you have ever met such issues too?

 

thanks,

Qingwen 

Posted

I never had problems with binutils 2.22 (I currently use binutils-2.23 on my Debian workstation).  But I usually don't use ld explicitly and let the compiler handle the linking as well instead.

 

In general, more important than using some particular linker version is to use the same version for building/linking the SystemC shared library as for the final linking of the simulation executable.

 

What "issues" do you see?

 

/Philipp

Posted

Hi Philipp,

 

      Thanks for your reply. Both SystemC library and the cases are built with the same g++/binutils ( g++4.6.3 and binutils 2.22 ). The simulation logics are totally wrong, for example, some 'if-else' expressions cannot be executed correctly. I guess there are something wrong with the library linking. After some web searching, I tried that only g++4.8 will work with binutils2.22 for these cases. BTW, SysC lib version is 2.3.

 

thanks,

Qingwen

 

 

I never had problems with binutils 2.22 (I currently use binutils-2.23 on my Debian workstation).  But I usually don't use ld explicitly and let the compiler handle the linking as well instead.

 

In general, more important than using some particular linker version is to use the same version for building/linking the SystemC shared library as for the final linking of the simulation executable.

 

What "issues" do you see?

 

/Philipp

Posted

SystemC 2.3 has been successfully tested on Ubuntu 12.04LTS (32/64 bit), which has GCC 4.6.3 and binutils 2.22 as default toolchain.  Therefore, I don't think that there is a fundamental incompatibility between these tool versions.

 

"some if/else expressions cannot be executed correctly" doesn't sound like a linker problem either.  You can try, if the problem is reproducable in the SystemC regressions package, that can be downloaded from accellera.org.

 

/Philipp

Join the conversation

You can post now and register later. 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.

×
×
  • Create New...