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

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 30 21:21:00 GMT 2004


One of our users couldn't link on his hpux box, and it turned out that there were some 
missing symbols for long double arithmetic. In particular, for this little program 
------------------------ 
  long double f(long double d) { return -d; } 
  int main () { return (int) f((long double)1.); } 
------------------------ 
he gets an unsatisfied reference to _U_Qfneg. 
 
Where is this symbol supposed to come from, or which library is supposed to contribute 
it? None of the libraries in his /usr/ tree have it. 
 
Luca: can you add the exact command line and output of running gcc on above example  
to this report? And also please attach the output of just running "gcc -v". 
 
Thanks 
  Wolfgang

-- 
           Summary: Unsatisfied symbol with using long doubles
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bangerth at dealii dot org
                CC: gcc-bugs at gcc dot gnu dot org,heltai at dimat dot
                    unipv dot it,law at redhat dot com
GCC target triplet: hppa2.0n-hp-hpux11.00


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14787



More information about the Gcc-bugs mailing list