[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #25 from richard at codesourcery dot com 2006-07-12 06:32 --- Subject: Re: GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked. pcarlini at suse dot de [EMAIL PROTECTED] writes: Thanks Rainer and Eric. Then, since we have a workaround in place for the issue (--disable-wchar_t) and apparently it affects only very old (broken as far as such features are concerned) releases of the OS, I'm inclined to close this PR as WONTFIX. Any objections? I will go ahead in a few days... Sounds good to me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #26 from multix at gmail dot com 2006-07-12 12:27 --- I have 6.5.17 too. I would propose to either improve the autodetect features or point out that flag in the atchitecture specific page so that other users won't ask. I'm available for testing on my box. I Think I have access to a 6.5.4 box too... but am not sure. SGI says that binaries compiled on different minor releases should be compatible each other, I wonder if a binary packager can safely build on = 6.5.18 and expect it to work on older boxes too or not... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #27 from pcarlini at suse dot de 2006-07-12 12:29 --- (In reply to comment #26) I have 6.5.17 too. ... or point out that flag in the atchitecture specific page so that other users won't ask. That makes sense. Can you prepare a patch? Thanks in advance. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #28 from paolo at gcc dot gnu dot org 2006-07-12 16:03 --- Subject: Bug 27878 Author: paolo Date: Wed Jul 12 16:02:46 2006 New Revision: 115374 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115374 Log: 2006-07-12 Paolo Carlini [EMAIL PROTECTED] PR libstdc++/27878 * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x, x 19, vs wchar_t support. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/install.texi -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #29 from paolo at gcc dot gnu dot org 2006-07-12 16:10 --- Subject: Bug 27878 Author: paolo Date: Wed Jul 12 16:10:12 2006 New Revision: 115375 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115375 Log: 2006-07-12 Paolo Carlini [EMAIL PROTECTED] PR libstdc++/27878 * doc/install.texi (mips-sgi-irix6): Add note about IRIX 6.5.x, x 19, vs wchar_t support. Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/doc/install.texi -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #30 from ro at techfak dot uni-bielefeld dot de 2006-07-12 16:11 --- Subject: Re: GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked. multix at gmail dot com writes: I'm available for testing on my box. I Think I have access to a 6.5.4 box too... but am not sure. That would be fine, in case I get around to investigating this further. On many other platforms (like Tru64 UNIX), it used to be possible to fix or work around problems like this, provided the number of different cases/releases don't get out of hand. Before I start this, I'll probably have to invest some work to get mainline to fully bootstrap on 6.5.2x, though. SGI says that binaries compiled on different minor releases should be compatible each other, I wonder if a binary packager can safely build on = 6.5.18 and expect it to work on older boxes too or not... Certainly not: this only works the other way round: you can build on 6.5.x and run on 6.5.y, y x. There are new symbols introduced e.g. in libc, which are marked as OPTIONAL in nm output. It is possible (though I don't remember how this is done) to check for those functions as runtime and use them only if available. This is certainly far too much trouble in the GCC case, though. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #31 from pcarlini at suse dot de 2006-07-12 16:11 --- Doc patch committed to mainline and 4_1-branch. -- pcarlini at suse dot de changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |4.1.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #19 from ro at gcc dot gnu dot org 2006-07-11 17:52 --- It is quite possible that this is very dependent on the specific IRIX 6.5 revision used: in IRIX 6.5.18 and up, ISO C99 support got introduced, which certainly affects this. Which revision (uname -R) do you run? Rainer -- ro at gcc dot gnu dot org changed: What|Removed |Added CC||ro at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #20 from martinol at nrlssc dot navy dot mil 2006-07-11 18:01 --- this machine is: 6.5 6.5.17m -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #21 from ro at techfak dot uni-bielefeld dot de 2006-07-11 18:04 --- Subject: Re: GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked. martinol at nrlssc dot navy dot mil writes: this machine is: 6.5 6.5.17m This most likely explains the difference: this is before C99 support was introduced, and obviously most testers use relatively recent IRIX releases. I don't have an pre-6.5.18 machine myself, so the only chance is probably to run the failing tests through gcc -g3 -save-temps and find out why exactly they fail. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #22 from ebotcazou at gcc dot gnu dot org 2006-07-11 20:01 --- This most likely explains the difference: this is before C99 support was introduced, and obviously most testers use relatively recent IRIX releases. Mine is 6.5 6.5.26m. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #23 from ro at techfak dot uni-bielefeld dot de 2006-07-11 20:06 --- Subject: Re: GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked. ebotcazou at gcc dot gnu dot org writes: Mine is 6.5 6.5.26m. I'm running 6.5 6.5.28f. Anything newer than 6.5.18 (or .19, I don't really remember) shouldn't exhibit this failure. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #24 from pcarlini at suse dot de 2006-07-11 22:23 --- Thanks Rainer and Eric. Then, since we have a workaround in place for the issue (--disable-wchar_t) and apparently it affects only very old (broken as far as such features are concerned) releases of the OS, I'm inclined to close this PR as WONTFIX. Any objections? I will go ahead in a few days... -- pcarlini at suse dot de changed: What|Removed |Added CC||pcarlini at suse dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #16 from pinskia at gcc dot gnu dot org 2006-07-09 11:46 --- *** Bug 28323 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||multix at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #17 from multix at gmail dot com 2006-07-09 12:34 --- as it appears that I am suffering form the same problem, what kind of confirmation do you need? Maybe we have different irix 6.5 subrevisions ? Even if they should all be binary compatible back and forth, later revisions added many improvments, possibly also in the wchar area? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #18 from pcarlini at suse dot de 2006-07-09 12:45 --- The problem is confirmed, but nobody knows why the configure-time check for those wchar facilities succeeds and then the very same functions appear undefined at build-time. I have no mips-sgi machines available and if the port maintainers are not going to help help likely we will not make progress. In any case, this is not a regression, because 4.1.0 bootstrapped but only with all the wchar_t facilites disabled: you can obtain the same behavior now passing --disable-wchar_t to configure. In case you want to help, I suggest first trying to figure out the differences between your machine and this one, which works fine: http://gcc.gnu.org/ml/gcc-testresults/2006-07/msg00360.html I'm sure Eric is available for that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #12 from martinol at nrlssc dot navy dot mil 2006-06-12 13:39 --- Created an attachment (id=11652) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11652action=view) mips-sgi-irix6.5/libstdc++-v3/config.log from gcc-4.1-20060428 build -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #13 from martinol at nrlssc dot navy dot mil 2006-06-12 18:04 --- Created an attachment (id=11655) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11655action=view) ./mips-sgi-irix6.5/libstdc++-v3/config.log This is from gcc-4.1-20060512 snapshot. So between 20060428 and 20060512, it stopped compiling. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #14 from pcarlini at suse dot de 2006-06-12 22:40 --- Ok, thanks for your feedback. Indeed, the only possible cause of the problem are the finer grained checks for wchar_t vs C99 wchar_t proper functions which are now carried out after my 2006-05-03 commit (which fixed regressions on solaris and hpux). In fact, looking at the 20060428 log what was happening before the patch is that ac_c99_wchar was no and then wchar_t ended up being *completely disabled*. Currently, instead, the autoconf tests try to enable wchar_t support (all the configure tests pass) but then something very misteriously fails at build time. All in all, waiting for someone to kick-in and shed some light about MIPS vs MIPS64 and all that, you can certainly force by hand the old (4.1.0) behavior by passing explicitely --disable-wchar_t at build time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #15 from pcarlini at suse dot de 2006-06-12 23:22 --- Not waiting anymore, but not confirmed either: we badly need an independent confirmation. -- pcarlini at suse dot de changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2006-06-12 23:22:47 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #10 from martinol at nrlssc dot navy dot mil 2006-06-09 18:30 --- gcc-4.1-20060331 snapshots compiles successfully. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #11 from pcarlini at suse dot de 2006-06-09 19:42 --- For comparison, please provide the config.log of that snapshot. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #8 from martinol at nrlssc dot navy dot mil 2006-06-05 13:40 --- Using the bin/mips-sgi-irix6.5-c++ I compiled yesterday, I get no errors compiling test.cc. $ ../devel/mips-sgi-irix6.5/bin/mips-sgi-irix6.5-c++ --version mips-sgi-irix6.5-c++ (GCC) 4.1.0 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ more test.cc #include wchar.h namespace test { using ::wcsftime; using ::wcstok; } $ ../devel/mips-sgi-irix6.5/bin/mips-sgi-irix6.5-c++ -c test.cc $ I've cleaned out this mips-sgi-irix6.5 directory and will try to build 4.1.1 again. [... after much much time] No. It fails in the same place. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #9 from pcarlini at suse dot de 2006-06-05 14:13 --- To be honest, the whole situation makes no sense to me (taking also into account that, in general, wcsftime and wcstok are not special, no C99-only, and all the other names in the very same cwchar header are not giving problems). Let's add in CC the mips maintainer, maybe he can help... -- pcarlini at suse dot de changed: What|Removed |Added CC||richard at codesourcery dot ||com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #1 from pcarlini at suse dot de 2006-06-02 19:59 --- Before confirming this we have to understand why we have got rather good testresults for 4.1.1 on mips-sgi-irix6.5: http://gcc.gnu.org/ml/gcc-testresults/2006-05/msg01513.html Eric, any idea? -- pcarlini at suse dot de changed: What|Removed |Added CC||ebotcazou at libertysurf dot ||fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2006-06-02 20:32 --- Eric, any idea? I presume the message means that the functions are not declared in wchar.h? I do have both in wchar.h on the IRIX machine: __SGI_LIBC_USING_FROM_STD(wcstok) __SGI_LIBC_USING_FROM_STD(wcsftime) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #3 from pcarlini at suse dot de 2006-06-02 20:43 --- (In reply to comment #2) Eric, any idea? I presume the message means that the functions are not declared in wchar.h? Yes, that for sure ;) but we have got specific configure tests for that and, at the moment, I have no idea why are not working for submitter: if, for some reason, those are really unavailable for submitter, then _GLIBCXX_USE_WCHAR_T should be undefined... Paul, can you attach your config.log? I do have both in wchar.h on the IRIX machine: __SGI_LIBC_USING_FROM_STD(wcstok) __SGI_LIBC_USING_FROM_STD(wcsftime)u Thanks, we should ask Paul to check that. Is it possible that native ld/as vs GNU ld/as are making the difference? And we should compare the versions of those tools... -- pcarlini at suse dot de changed: What|Removed |Added Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #4 from martinol at nrlssc dot navy dot mil 2006-06-02 20:55 --- Created an attachment (id=11582) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11582action=view) ./mips-sgi-irix6.5/libstdc++-v3/config.log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #5 from martinol at nrlssc dot navy dot mil 2006-06-02 21:05 --- An IRIX64 system here has wchar.h with the __SGI_LIBC_USING_FROM_STD(wcstok), but it failed in the fortran part! :-( The SGI I am using has a much different looking wchar.h with wsctok here: #if !defined(_SGI_COMPILING_LIBC) #if (_MIPS_SIM == _ABIN32 || _MIPS_SIM == _ABI64) #if (_NO_XOPEN4) #define wcstok _xpg5_wcstok extern wchar_t *wcstok(wchar_t *, const wchar_t *, wchar_t **); #else #define wcstok _xpg4_wcstok extern wchar_t *wcstok(wchar_t *, const wchar_t *); #endif #else extern wchar_t *wcstok(wchar_t *, const wchar_t *); #endif #else /* SGI LIBC */ #if (_MIPS_SIM == _ABIN32 || _MIPS_SIM == _ABI64) extern wchar_t *wcstok(wchar_t *, const wchar_t *, wchar_t **); extern wchar_t *_xpg4_wcstok(wchar_t *, const wchar_t *); extern wchar_t *_xpg5_wcstok(wchar_t *, const wchar_t *, wchar_t **); #else extern wchar_t *wcstok(wchar_t *, const wchar_t *); #endif #endif -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2006-06-02 21:18 --- An IRIX64 system here has wchar.h with the __SGI_LIBC_USING_FROM_STD(wcstok), but it failed in the fortran part! :-( That's it: puar% uname -s IRIX64 I've not tried to build the Fortran compiler on the machine yet. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878
[Bug libstdc++/27878] GCC 4.1.1 build fails on mips-sgi-irix6.5 (libstdc++)/GCC 4.1.0 worked.
--- Comment #7 from pcarlini at suse dot de 2006-06-02 21:21 --- (In reply to comment #4) Created an attachment (id=11582) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11582action=view) [edit] ./mips-sgi-irix6.5/libstdc++-v3/config.log I do not understand: the configure tests apparently are enabling wchar_t support. Can you double check that you can indeed compile (with 4.1.0, for example) this C++ snippet: / #include wchar.h namespace test { using ::wcsftime; using ::wcstok; } / ??? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27878