This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35508] New: [avr] 4.3.0: undefined reference to `__ffshi2'
- From: "dmixm at marine dot febras dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Mar 2008 09:24:36 -0000
- Subject: [Bug target/35508] New: [avr] 4.3.0: undefined reference to `__ffshi2'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The next program is not linked (-Os option):
int ffs (int);
int main (int argc, char *argv[])
{
(void)argv;
return ffs (argc);
}
with undefined link to '__ffshi2'.
The used libc library (Avr-libc project) contains the ffs() funcion.
--
Summary: [avr] 4.3.0: undefined reference to `__ffshi2'
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dmixm at marine dot febras dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35508