public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
@ 2011-03-06 19:47 skunk at iskunk dot org
  2011-03-06 22:33 ` [Bug bootstrap/48009] " skunk at iskunk dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: skunk at iskunk dot org @ 2011-03-06 19:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

           Summary: Bootstrap failure: c++locale.cc: invalid conversion
                    from 'const char*' to 'char*'
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: skunk@iskunk.org
              Host: powerpc-ibm-aix4.3.2.0
            Target: powerpc-ibm-aix4.3.2.0
             Build: powerpc-ibm-aix4.3.2.0


After working around bug #47907, bootstrapping GCC 4.5.2 on this AIX 4.3 system
fails with

ln -s /home/src/gcc-4.5.2/libstdc++-v3/config/locale/generic/c_locale.cc
./c++locale.cc || true
[...]
libtool: compile:  /tmp/gcc-4.5.2-build/./gcc/xgcc -shared-libgcc
-B/tmp/gcc-4.5.2-build/./gcc -nostdinc++
-L/tmp/gcc-4.5.2-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src
-L/tmp/gcc-4.5.2-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src/.libs
-B/opt/tg/powerpc-ibm-aix4.3.2.0/bin/ -B/opt/tg/powerpc-ibm-aix4.3.2.0/lib/
-isystem /opt/tg/powerpc-ibm-aix4.3.2.0/include -isystem
/opt/tg/powerpc-ibm-aix4.3.2.0/sys-include
-I/tmp/gcc-4.5.2-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/include/powerpc-ibm-aix4.3.2.0
-I/tmp/gcc-4.5.2-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/include
-I/home/src/gcc-4.5.2/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall
-Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -g -c c++locale.cc  -DPIC -o c++locale.o
c++locale.cc: In function 'void std::__convert_to_v(const char*, _Tp&,
std::ios_base::iostate&, int* const&) [with _Tp = float, std::ios_base::iostate
= std::_Ios_Iostate, int* = int*]':
c++locale.cc:66:34: error: invalid conversion from 'const char*' to 'char*'
c++locale.cc:66:34: error:   initializing argument 1 of 'float strtof(char*,
char**)'
make[4]: *** [c++locale.lo] Error 1
make[4]: Leaving directory
`/tmp/gcc-4.5.2-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/tmp/gcc-4.5.2-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/tmp/gcc-4.5.2-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/tmp/gcc-4.5.2-build'
make: *** [bootstrap-lean] Error 2

Sure enough,

% grep strtof /usr/include/*.h
/usr/include/stdlib.h:  extern float    strtof();
/usr/include/stdlib.h:  extern float    strtof(char *, char **);

This is the same as bug #26297, except with newer versions of AIX and GCC. I
will attempt adding the const keyword to the strtof() prototype in GCC's copy
of the system stdlib.h.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
@ 2011-03-06 22:33 ` skunk at iskunk dot org
  2012-05-12  4:34 ` [Bug target/48009] " skunk at iskunk dot org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: skunk at iskunk dot org @ 2011-03-06 22:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #1 from Daniel Richard G. <skunk at iskunk dot org> 2011-03-06 22:33:42 UTC ---
Editing the strtof() prototype in $top_builddir/gcc/include-fixed/stdlib.h
allows the bootstrap to complete successfully. Looks like all this needs is a
tweak to fixincludes.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
  2011-03-06 22:33 ` [Bug bootstrap/48009] " skunk at iskunk dot org
@ 2012-05-12  4:34 ` skunk at iskunk dot org
  2012-05-12  5:09 ` skunk at iskunk dot org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: skunk at iskunk dot org @ 2012-05-12  4:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

Daniel Richard G. <skunk at iskunk dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|4.5.2                       |4.7.0

--- Comment #2 from Daniel Richard G. <skunk at iskunk dot org> 2012-05-12 04:30:17 UTC ---
Still an issue in 4.7.0.

user@host:/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src/c++98> gmake
libc++98convenience.la
/opt/freeware/bin/bash ../../libtool --tag CXX --tag disable-shared 
--mode=compile /tmp/gcc-build/./gcc/xgcc -shared-libgcc -B/tmp/gcc-build/./gcc
-nostdinc++ -L/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src
-L/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src/.libs
-B/opt/tg/powerpc-ibm-aix4.3.2.0/bin/ -B/opt/tg/powerpc-ibm-aix4.3.2.0/lib/
-isystem /opt/tg/powerpc-ibm-aix4.3.2.0/include -isystem
/opt/tg/powerpc-ibm-aix4.3.2.0/sys-include   
-I/home/src/gcc-4.7.0/libstdc++-v3/../libgcc
-I/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/include/powerpc-ibm-aix4.3.2.0
-I/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/include
-I/home/src/gcc-4.7.0/libstdc++-v3/libsupc++   -fno-implicit-templates -Wall
-Wextra -Wwrite-strings -Wcast-qual -Wabi  -fdiagnostics-show-location=once  
-ffunction-sections -fdata-sections  -frandom-seed=c++locale.lo -g  -c -o
c++locale.lo c++locale.cc
libtool: compile:  /tmp/gcc-build/./gcc/xgcc -shared-libgcc
-B/tmp/gcc-build/./gcc -nostdinc++
-L/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src
-L/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/src/.libs
-B/opt/tg/powerpc-ibm-aix4.3.2.0/bin/ -B/opt/tg/powerpc-ibm-aix4.3.2.0/lib/
-isystem /opt/tg/powerpc-ibm-aix4.3.2.0/include -isystem
/opt/tg/powerpc-ibm-aix4.3.2.0/sys-include
-I/home/src/gcc-4.7.0/libstdc++-v3/../libgcc
-I/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/include/powerpc-ibm-aix4.3.2.0
-I/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/include
-I/home/src/gcc-4.7.0/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall
-Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections -frandom-seed=c++locale.lo -g -c
c++locale.cc  -DPIC -o c++locale.o
c++locale.cc: In function 'void std::__convert_to_v(const char*, _Tp&,
std::ios_base::iostate&, int* const&) [with _Tp = float; std::ios_base::iostate
= std::_Ios_Iostate; std::__c_locale = int*]':
c++locale.cc:67:34: error: invalid conversion from 'const char*' to 'char*'
[-fpermissive]
In file included from /tmp/gcc-build/./gcc/include-fixed/math.h:388:0,
                 from
/tmp/gcc-build/powerpc-ibm-aix4.3.2.0/libstdc++-v3/include/cmath:46,
                 from c++locale.cc:33:
/tmp/gcc-build/./gcc/include-fixed/stdlib.h:479:18: error:   initializing
argument 1 of 'float strtof(char*, char**)' [-fpermissive]
gmake: *** [c++locale.lo] Error 1


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
  2011-03-06 22:33 ` [Bug bootstrap/48009] " skunk at iskunk dot org
  2012-05-12  4:34 ` [Bug target/48009] " skunk at iskunk dot org
@ 2012-05-12  5:09 ` skunk at iskunk dot org
  2012-05-12  8:35 ` paolo.carlini at oracle dot com
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: skunk at iskunk dot org @ 2012-05-12  5:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #3 from Daniel Richard G. <skunk at iskunk dot org> 2012-05-12 04:33:41 UTC ---
Created attachment 27384
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27384
/usr/include/stdlib.h from AIX 4.3

Attaching the relevant header file, to aid in development of a fixinclude rule.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (2 preceding siblings ...)
  2012-05-12  5:09 ` skunk at iskunk dot org
@ 2012-05-12  8:35 ` paolo.carlini at oracle dot com
  2012-05-12 14:47 ` dje at gcc dot gnu.org
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-12  8:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu.org

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-12 08:34:13 UTC ---
David, did you see this?


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (3 preceding siblings ...)
  2012-05-12  8:35 ` paolo.carlini at oracle dot com
@ 2012-05-12 14:47 ` dje at gcc dot gnu.org
  2012-05-13  7:10 ` skunk at iskunk dot org
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dje at gcc dot gnu.org @ 2012-05-12 14:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-05-12
     Ever Confirmed|0                           |1

--- Comment #5 from David Edelsohn <dje at gcc dot gnu.org> 2012-05-12 14:34:13 UTC ---
AIX 4.3 is extremely old and support was withdrawn a while ago. I am surprised
that anyone is trying to build recent versions of GCC for it. If someone wants
to develop a fixincludes patch, I can review it. The problem undoubtedly
exists, but can be worked around manually.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (4 preceding siblings ...)
  2012-05-12 14:47 ` dje at gcc dot gnu.org
@ 2012-05-13  7:10 ` skunk at iskunk dot org
  2012-05-13  9:06 ` glisse at gcc dot gnu.org
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: skunk at iskunk dot org @ 2012-05-13  7:10 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #6 from Daniel Richard G. <skunk at iskunk dot org> 2012-05-13 05:11:32 UTC ---
(In reply to comment #5)
> AIX 4.3 is extremely old and support was withdrawn a while ago. I am surprised
> that anyone is trying to build recent versions of GCC for it. If someone wants
> to develop a fixincludes patch, I can review it. The problem undoubtedly
> exists, but can be worked around manually.

My employer favors the use of older systems for software builds, as Unix is
generally solid on forward compatibility and this prevents awkward scenarios
where a customer is running an older OS than we are.

Continuing GCC support is one of the downsides of this approach, of course. I
wouldn't be surprised if support for AIX 4.3 is obsoleted soon, but I'd like to
ensure that everything is working before that point. (I didn't follow up
Solaris 8 as aggressively, and now I'm trying to get some fixes in even as the
support is being ripped out of 4.8.)

I can provide a unified-diff patch for the header in question; I don't know how
to hack fixincludes. (If anyone can point me to a fixinclude that does the same
kind of one-line change elsewhere, I could work with that...)


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (5 preceding siblings ...)
  2012-05-13  7:10 ` skunk at iskunk dot org
@ 2012-05-13  9:06 ` glisse at gcc dot gnu.org
  2012-05-14  3:43 ` skunk at iskunk dot org
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: glisse at gcc dot gnu.org @ 2012-05-13  9:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #7 from Marc Glisse <glisse at gcc dot gnu.org> 2012-05-13 08:59:25 UTC ---
(In reply to comment #6)
> (If anyone can point me to a fixinclude that does the same
> kind of one-line change elsewhere, I could work with that...)

That's easy, just take a look at the file fixincludes/inclhack.def, most fixes
are exactly this kind of one-line changes. Picking one completely at random:

fix = {
    hackname  = vxworks_needs_vxtypes;
    files     = time.h;
    select    = "uint_t([ \t]+_clocks_per_sec)";
    c_fix     = format;
    c_fix_arg = "unsigned int%1";
    test_text = "uint_t\t_clocks_per_sec;";
};

This one replaces uint_t with unsigned int. The README file in that directory
is useful too.

ISTR there was a problem with genfixes not working on recent OS, but that
shouldn't be a problem for you ;-)


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug target/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (6 preceding siblings ...)
  2012-05-13  9:06 ` glisse at gcc dot gnu.org
@ 2012-05-14  3:43 ` skunk at iskunk dot org
  2012-07-17 23:32 ` [Bug spam/48009] " skunk at iskunk dot org
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: skunk at iskunk dot org @ 2012-05-14  3:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #8 from Daniel Richard G. <skunk at iskunk dot org> 2012-05-14 03:19:36 UTC ---
Marc, thank you for the pointer. The single-line-edit case, at least, seems
straightforward enough.

Here's my stab at it:

/*
 * stdlib.h on AIX 4.3 declares strtof() with a non-const first argument.
 */
fix = {
    hackname  = aix_strtof_const;
    files     = stdlib.h;
    select    = "(extern float +strtof)\(char \*, char \*\*\)";
    c_fix     = format;
    c_fix_arg = "%1(const char *, char **)";
    test_text = "strtof(char *, char **);";
};


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug spam/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (7 preceding siblings ...)
  2012-05-14  3:43 ` skunk at iskunk dot org
@ 2012-07-17 23:32 ` skunk at iskunk dot org
  2015-02-06 17:26 ` [Bug bootstrap/48009] " dje at gcc dot gnu.org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: skunk at iskunk dot org @ 2012-07-17 23:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

Daniel Richard G. <skunk at iskunk dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |spam

--- Comment #9 from Daniel Richard G. <skunk at iskunk dot org> 2012-07-17 23:32:04 UTC ---
I've posted a more elaborated patch for this (and other AIX 4.3 issues) to bug
#53348.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (8 preceding siblings ...)
  2012-07-17 23:32 ` [Bug spam/48009] " skunk at iskunk dot org
@ 2015-02-06 17:26 ` dje at gcc dot gnu.org
  2015-02-06 19:00 ` skunk at iskunk dot org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dje at gcc dot gnu.org @ 2015-02-06 17:26 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #10 from David Edelsohn <dje at gcc dot gnu.org> ---
Are you still using AIX 4.3.2?


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (9 preceding siblings ...)
  2015-02-06 17:26 ` [Bug bootstrap/48009] " dje at gcc dot gnu.org
@ 2015-02-06 19:00 ` skunk at iskunk dot org
  2015-02-16 15:19 ` dje at gcc dot gnu.org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: skunk at iskunk dot org @ 2015-02-06 19:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #11 from Daniel Richard G. <skunk at iskunk dot org> ---
Yep, that system's still running. I'll be happy to test any fixes for this
issue.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (10 preceding siblings ...)
  2015-02-06 19:00 ` skunk at iskunk dot org
@ 2015-02-16 15:19 ` dje at gcc dot gnu.org
  2015-02-17  3:42 ` howarth at bromo dot med.uc.edu
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: dje at gcc dot gnu.org @ 2015-02-16 15:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #12 from David Edelsohn <dje at gcc dot gnu.org> ---
Author: dje
Date: Mon Feb 16 15:19:20 2015
New Revision: 220736

URL: https://gcc.gnu.org/viewcvs?rev=220736&root=gcc&view=rev
Log:
Daniel Richard G. <skunk@iskunk.org>
        PR bootstrap/48009
        PR bootstrap/53348
        * inclhack.def (aix_strtof_const): New fix.
        * fixincl.x: Regenerate.
        * tests/base/inttypes.h: New test.

Modified:
    trunk/fixincludes/ChangeLog
    trunk/fixincludes/fixincl.x
    trunk/fixincludes/inclhack.def


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (11 preceding siblings ...)
  2015-02-16 15:19 ` dje at gcc dot gnu.org
@ 2015-02-17  3:42 ` howarth at bromo dot med.uc.edu
  2015-02-17  3:48 ` howarth at bromo dot med.uc.edu
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-02-17  3:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

howarth at bromo dot med.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth at bromo dot med.uc.edu

--- Comment #14 from howarth at bromo dot med.uc.edu ---
(In reply to David Edelsohn from comment #13)
> Fixed.

At r220743 on x86_64-apple-darwin14 with autogen 5.18.4 installed, make check
now produces...

stdlib.h
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150216/fixincludes/tests/base/stdlib.h
differ: char 240, line 12
*** stdlib.h    2015-02-16 22:36:55.000000000 -0500
---
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150216/fixincludes/tests/base/stdlib.h
   2014-10-29 19:59:47.000000000 -0400
***************
*** 9,19 ****



- #if defined( AIX_STRTOF_CONST_CHECK )
- extern float    strtof(const char *, char **);
- #endif  /* AIX_STRTOF_CONST_CHECK */
- 
- 
  #if defined( HPUX11_ABS_CHECK )
  #if !defined(_MATH_INCLUDED) || defined(__GNUG__)
  #endif  /* HPUX11_ABS_CHECK */
--- 9,14 ----

There were fixinclude test FAILURES


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (12 preceding siblings ...)
  2015-02-17  3:42 ` howarth at bromo dot med.uc.edu
@ 2015-02-17  3:48 ` howarth at bromo dot med.uc.edu
  2015-02-17  4:10 ` howarth at bromo dot med.uc.edu
  2015-02-17 14:47 ` dje at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-02-17  3:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #15 from howarth at bromo dot med.uc.edu ---
What autogen release was used to generate the newly committed fixincl.x? I
recently updated our autogen in fink to 5.18.4 because I discovered that 5.18.2
was producing broken fixincl.x files.


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (13 preceding siblings ...)
  2015-02-17  3:48 ` howarth at bromo dot med.uc.edu
@ 2015-02-17  4:10 ` howarth at bromo dot med.uc.edu
  2015-02-17 14:47 ` dje at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2015-02-17  4:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #16 from howarth at bromo dot med.uc.edu ---
(In reply to David Edelsohn from comment #12)
> Author: dje
> Date: Mon Feb 16 15:19:20 2015
> New Revision: 220736
> 
> URL: https://gcc.gnu.org/viewcvs?rev=220736&root=gcc&view=rev
> Log:
> Daniel Richard G. <skunk@iskunk.org>
>         PR bootstrap/48009
>         PR bootstrap/53348
>         * inclhack.def (aix_strtof_const): New fix.
>         * fixincl.x: Regenerate.
>         * tests/base/inttypes.h: New test.
> 
> Modified:
>     trunk/fixincludes/ChangeLog
>     trunk/fixincludes/fixincl.x
>     trunk/fixincludes/inclhack.def

Shouldn't there have been a commit for the changes to tests/base/inttypes.h?


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Bug bootstrap/48009] Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*'
  2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
                   ` (14 preceding siblings ...)
  2015-02-17  4:10 ` howarth at bromo dot med.uc.edu
@ 2015-02-17 14:47 ` dje at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: dje at gcc dot gnu.org @ 2015-02-17 14:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48009

--- Comment #17 from David Edelsohn <dje at gcc dot gnu.org> ---
Sorry, I am trying to separate out the patches.  It should have been stdlib.h
not inttypes.h.  I corrected the commit.


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-02-17 14:47 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-06 19:47 [Bug bootstrap/48009] New: Bootstrap failure: c++locale.cc: invalid conversion from 'const char*' to 'char*' skunk at iskunk dot org
2011-03-06 22:33 ` [Bug bootstrap/48009] " skunk at iskunk dot org
2012-05-12  4:34 ` [Bug target/48009] " skunk at iskunk dot org
2012-05-12  5:09 ` skunk at iskunk dot org
2012-05-12  8:35 ` paolo.carlini at oracle dot com
2012-05-12 14:47 ` dje at gcc dot gnu.org
2012-05-13  7:10 ` skunk at iskunk dot org
2012-05-13  9:06 ` glisse at gcc dot gnu.org
2012-05-14  3:43 ` skunk at iskunk dot org
2012-07-17 23:32 ` [Bug spam/48009] " skunk at iskunk dot org
2015-02-06 17:26 ` [Bug bootstrap/48009] " dje at gcc dot gnu.org
2015-02-06 19:00 ` skunk at iskunk dot org
2015-02-16 15:19 ` dje at gcc dot gnu.org
2015-02-17  3:42 ` howarth at bromo dot med.uc.edu
2015-02-17  3:48 ` howarth at bromo dot med.uc.edu
2015-02-17  4:10 ` howarth at bromo dot med.uc.edu
2015-02-17 14:47 ` dje at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).