Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
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.


  Search this Thread
Old 11-07-2012, 01:56 AM   #1
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.


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 03:18 PM
Regarding Patches and a failure in the GCC Compilation arcelios Linux From Scratch 2 07-12-2008 08:25 AM
pyFltk gcc failure sylvious Programming 1 07-10-2006 11:27 AM
Failure of gcc -m32 on an x86_64 RockM66 Linux - Software 0 01-19-2005 05:07 PM
gcc install failure ............. eye Linux - Software 3 08-29-2003 12:35 AM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

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

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