Bug 206 - [sparc] Solaris C++ front-end <cwchar> references unknown functions
: [sparc] Solaris C++ front-end <cwchar> references unknown functions
Status: RESOLVED FIXED
Product: tools
Classification: Unclassified
Component: llvm-g++
: trunk
: Sun Solaris
: P normal
Assigned To: Brian R. Gaeke
:
: compile-fail
:
:
  Show dependency treegraph
 
Reported: 2004-01-12 14:08 CST by Brian R. Gaeke
Modified: 2010-02-22 12:41 CST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian R. Gaeke 2004-01-12 14:08:50 CST
<cwchar> on the Sparcs references many wide-character support routines which
apparently don't work (because they are undefined) on Solaris. Because
<iostream> ends up including <cwchar>, you can't compile any c++ program that
includes <iostream> on the Sparcs. This is why distray seems to be failing in
the testsuite today.
Comment 1 Chris Lattner 2004-01-18 14:17:08 CST
Do we have any idea of what is going on here Brian?  I vaguely remember thinking
that you got something to work, but I don't remember what the situation was...

-Chris
Comment 2 Brian R. Gaeke 2004-01-21 18:01:33 CST
This is what is keeping 252.eon from compiling at the moment. (Just so I
remember to fix it.)
Comment 3 Brian R. Gaeke 2004-01-21 18:05:28 CST
I don't have any idea what is going on with this, not yet. I am going to have
to rebuild the Sparc C/
C++FE to analyze it, I think. Hopefully later tonight...
Comment 4 Chris Lattner 2004-01-21 18:07:13 CST
Cool, thanks for looking into this Brian!
Comment 5 Brian R. Gaeke 2004-01-28 14:56:12 CST
I seem to be doing just fine with the newly rebuilt C++FE (although, as it
happens, this was not the only problem with 252.eon on the SPARCs).

The trick was to configure with --disable-c-mbchar. Chris, please link your
directory to ~gaeke/programs/sparc-llvm-gcc when you get a chance. I'm going to
close this bug, having updated the C/C++FE build instructions:

http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040126/010981.html