This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14787] Unsatisfied symbol with using long doubles
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Mar 2004 21:35:10 -0000
- Subject: [Bug target/14787] Unsatisfied symbol with using long doubles
- References: <20040330212124.14787.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-03-30 21:35 -------
OK, the information come to me directly:
--------------------
gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.3.2/specs
Configured with: ./configure : (reconfigured) ./configure : (reconfigured)
./configure : (reconfigured) ./configure : (reconfigured) ./configure :
(reconfigured) ./configure : (reconfigured) ./configure : (reconfigured)
./configure
: (reconfigured) ./configure : (reconfigured) ./configure : (reconfigured)
./configure : (reconfigured) ./configure : (reconfigured) ./configure :
(reconfigured) ./configure : (reconfigured) ./configure : (reconfigured)
./configure
: (reconfigured) ./configure
Thread model: single
gcc version 3.3.2
___test.cc___
long double f(long double d) { return -d; }
int main () { return f((long double)1.); }
___EOF___
gcc test.cc -o test
test.cc: In function `int main()':
test.cc:2: warning: return to `int' from `long double'
test.cc:2: warning: argument to `int' from `long double'
/usr/ccs/bin/ld: Unsatisfied symbols:
_U_Qfneg (first referenced in /var/tmp//cc0WZhba.o) (code)
collect2: ld returned 1 exit status
Hope this helps.
luca.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14787