This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14787] Unsatisfied symbol with using long doubles


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]