This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14787] New: 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:21:28 -0000
- Subject: [Bug target/14787] New: Unsatisfied symbol with using long doubles
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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