LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 11-07-2012, 12:56 AM   #1
nbg2006
LQ Newbie
 
Registered: Sep 2010
Posts: 7

Rep: Reputation: 0
Failure with assert for gcc program on zedboard


We are running an encoder code on a normal PC and it runs fine. When we port the same code to the xilinx zedboard with a cortex arm processor it exits at runtime with the assert statement.

for example assert (ref1 < ref2);
ref2 is 1 most of the times.
ref1 is a member of a class which is updated in every iteration.
ref1 never goes above 1 when run on a PC while when run on arm board for some 4-5 iterations it runs fine but immediately in the subsequent iterations it exits with ref1 having value 255.

the gcc version running on the zedboard is higher version then the pc version so gcc version should not be problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xillinux( ubuntu 12.04 LTS based os) for zedboard makes Arith/logic error unlike pc mahesh418.g Linux - Software 5 05-02-2013 02:18 PM
Regarding Patches and a failure in the GCC Compilation arcelios Linux From Scratch 2 07-12-2008 07:25 AM
pyFltk gcc failure sylvious Programming 1 07-10-2006 10:27 AM
Failure of gcc -m32 on an x86_64 RockM66 Linux - Software 0 01-19-2005 04:07 PM
gcc install failure ............. eye Linux - Software 3 08-28-2003 11:35 PM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration