avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] More results from the testsuite with avrtest


From: Wouter van Gulik
Subject: RE: [avr-gcc-list] More results from the testsuite with avrtest
Date: Sun, 20 Jan 2008 19:51:13 +0100

> 
> This test fails compilation with these errors:
> 
> builtin-bitops-1.c:(.text+0x672): undefined reference to `__ffshi2'
> builtin-bitops-1.c:(.text+0x6b4): undefined reference to `__popcounthi2'
> builtin-bitops-1.c:(.text+0x6ee): undefined reference to `__parityhi2'
> builtin-bitops-1.c:(.text+0x183e): undefined reference to `__clzhi2'
> builtin-bitops-1.c:(.text+0x1872): undefined reference to `__ctzhi2'
> 
> Maybe these should be defined in avr-libc? Is there something wrong
> with my setup?
> 

These are routines supposed to be in libgcc. I don't know if it's an
obligation. But I can't hurt I guess. I thought __clzhi2 also caused the
other "Too much Ram used" bug. Maybe that was __clzsi2?
I have made a implementation for __clzsi2/hi/qi. Did not test them however.
But it seems that testing has just become real easy :D. Will look into it
tomorrow at the office.

Thanks for all the effort!

Wouter





reply via email to

[Prev in Thread] Current Thread [Next in Thread]