This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/22261] New: GCC using sqrtf() on AIX 5.1 when it doesn't exist
- From: "bugzilla-gcc at thewrittenword dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2005 21:44:55 -0000
- Subject: [Bug c/22261] New: GCC using sqrtf() on AIX 5.1 when it doesn't exist
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat sqrt.c
#include <math.h>
int
main (void) {
float a;
(float)sqrt ((double)a);
}
$ /opt/TWWfsw/gcc343/bin/gcc sqrt.c -lm
$ /opt/TWWfsw/gcc343/bin/gcc -O sqrt.c -lm
ld: 0711-317 ERROR: Undefined symbol: .sqrtf
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
--
Summary: GCC using sqrtf() on AIX 5.1 when it doesn't exist
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bugzilla-gcc at thewrittenword dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-ibm-aix5.1.0.0
GCC host triplet: powerpc-ibm-aix5.1.0.0
GCC target triplet: powerpc-ibm-aix5.1.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22261