[palinux-gcc] bug#114: __builtin_cos undefined with g77


X-PA-RISC Linux-PR-Message: report 114
X-PA-RISC Linux-PR-Package: gcc
X-Loop: daniel_frazier@hp.com
Received: via spool by bugs@bugs.parisc-linux.org id=B.98860749622183
          (code B ref -1); Mon, 30 Apr 2001 05:18:01 GMT
Date: Sun, 29 Apr 2001 23:11:35 -0600
To: submit@bugs.parisc-linux.org
Message-ID: <20010429231135.J6063@zumpano.fc.hp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
From: willy@ldl.fc.hp.com (Matthew Wilcox)

Package: gcc

When compiling the `felt' package, we get many errors of this form:

/usr/bin/ld: mdf2d.o(.text+0x2788): cannot find stub entry 0000005a___builtin_cos+0
/usr/bin/ld: mdf2d.o(.text+0x2788): cannot handle R_PARISC_PCREL17F for __builtin_cos

this .o file is compiled with g77.  i suspect that we should be providing
an implementation of __builtin_cos() somewhere?  perhaps in libgcc?