From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22828 invoked by alias); 11 Oct 2002 14:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 22777 invoked by uid 71); 11 Oct 2002 14:26:01 -0000 Resent-Date: 11 Oct 2002 14:26:01 -0000 Resent-Message-ID: <20021011142601.22774.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, ehrhardt@mathematik.uni-ulm.de Received: (qmail 22094 invoked by uid 61); 11 Oct 2002 14:23:23 -0000 Message-Id: <20021011142323.22093.qmail@sources.redhat.com> Date: Fri, 11 Oct 2002 07:26:00 -0000 From: ehrhardt@mathematik.uni-ulm.de Reply-To: ehrhardt@mathematik.uni-ulm.de To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: libstdc++/8197: std::sin(float) causes undefined reference to sinf X-SW-Source: 2002-10/txt/msg00458.txt.bz2 List-Id: >Number: 8197 >Category: libstdc++ >Synopsis: std::sin(float) causes undefined reference to sinf >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Oct 11 07:26:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Christian Ehrhardt >Release: gcc-3.2 >Organization: >Environment: Sun sparc Solaris 9, GNU-ld 2.13+elf patch from cvs gcc passed all but a few test from make check >Description: Compiling a very simple Program using std::sin(float) causes linker errors (undefined reference to sinf). See below for details. >How-To-Repeat: theseus$ cat m.cc #include int main () { float a; std::sin(a); } theseus$ g++ -Wall m.cc /tmp/ccOiTTC3.o: In function `std::sin(float)': /tmp/ccOiTTC3.o(.gnu.linkonce.t._ZSt3sinf+0xc): undefined reference to `sinf' collect2: ld returned 1 exit status theseus$ >Fix: >Release-Note: >Audit-Trail: >Unformatted: