This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34210] ffs builtin calls undefined __ffshi2
- From: "pmarques at grupopie dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2008 03:41:12 -0000
- Subject: [Bug target/34210] ffs builtin calls undefined __ffshi2
- References: <bug-34210-11470@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pmarques at grupopie dot com 2008-01-20 03:41 -------
gcc.c-torture/execute/ffs-1.c and gcc.c-torture/execute/ffs-2.c also fail with
this message. The test case gcc.c-torture/execute/builtin-bitops-1.c shows some
more similar errors:
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'
I tried to add the suggested libgcc/config/avr/t-avr. It didn't work, and I
don't know enough of gcc internals to understand what is going on.
--
pmarques at grupopie dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pmarques at grupopie dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34210