This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] | |
First, let me say sorry for not being able to test properly before the release of gcc-4.0.0. Constraints here made it impossible :( However, I have had no trouble building sparc-sun-solaris2.8 gcc-4.0.0. I build a cross, hosted on i686-pc-linux-gnu, and I build a Canadian cross (how appropriate ;) using that, which I then run on Solaris, targeting Solaris, when necessary. All of this went more smoothly than anything in recent memory. I have spent some time over the last few days exercising the cross compiler with large chunks of our source and haven't run into many snags. Speed-wise, if anything, the new compiler seems a bit faster. Some timing results for a small subset with some heavy template usage. These were using the Linux-hosted cross compiler: gcc-3.4.3: real 5m30.053s user 6m26.404s sys 0m29.438s gcc-4.0.0: real 5m24.522s user 6m15.444s sys 0m25.392s There's only one real problem that I've found so far. I'm hoping someone can point me in the right direction and I'll investigate more and file a PR. One library I have makes heavy use of Boost.Spirit, which is heavy on templates. Strangely enough, though, when I link this static library against code that uses it, ld 2.15 claims that some of std::vector<std::string>'s member functions are not available to link. It takes a very long time to conclude this, as if it is searching through every symbol (linearly?). I've attached some sample output and more details on the compilation. I fixed this by adding the following to the library: template class std::vector<std::string>; Clearly, I shouldn't have to do that. In my mind this could be libstdc++ or gcc. Ideas? Narrowing this down to a simple test case is very difficult; this is only happening in the complex case of using Boost.Spirit. :( Other than that, everything seems to be working fine, including wide character support after Benjamin's rewritten configury. -- ------------------------------------------------------------------ Brad Spencer - spencer@infointeractive.com - "It's quite nice..." Systems Architect | InfoInterActive Corp. | A Canadian AOL Company
Attachment:
deets
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |