LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 206 - [sparc] Solaris C++ front-end <cwchar> references unknown functions
Summary: [sparc] Solaris C++ front-end <cwchar> references unknown functions
Status: RESOLVED FIXED
Alias: None
Product: tools
Classification: Unclassified
Component: llvm-g++ (show other bugs)
Version: trunk
Hardware: Sun Solaris
: P normal
Assignee: Brian R. Gaeke
URL:
Keywords: compile-fail
Depends on:
Blocks:
 
Reported: 2004-01-12 14:08 PST by Brian R. Gaeke
Modified: 2010-02-22 12:41 PST (History)
2 users (show)

See Also:
Fixed By Commit(s):


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 PST
<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 PST
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 PST
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 PST
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 PST
Cool, thanks for looking into this Brian!
Comment 5 Brian R. Gaeke 2004-01-28 14:56:12 PST
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