[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-07-19 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #21 from dave.anglin at bell dot net ---
On 2016-07-19, at 1:23 PM, bugzilla-gcc at thewrittenword dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319
> 
> --- Comment #20 from The Written Word  com> ---
> (In reply to dave.anglin from comment #17)
>> On 2016-07-12, at 12:36 PM, bugzilla-gcc at thewrittenword dot com wrote:
>> 
 don't have any ia64 hardware and I also don't have an 11.31 box.  So,
 there's a support issue for ia64 and 11.31.  Albert, if you or one of
 your staff could help in this regard, I would support the addition of
 a new hpux maintainer.
>>> 
>>> We can provide access to HP-UX 11.23/ia and 11.31/ia. Sadly, apart from
>>> building GCC, we don't have any intricate ia64 knowledge to help with
>>> maintainership.
>> 
>> What I was hoping for was someone to handle the hpux aspect on ia64.  Do
>> occasional builds and tests, etc.
> 
> We might be able to do this. Will look into getting something automated over
> the next few weeks.


That would be excellent.

--
John David Anglin   dave.ang...@bell.net

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-07-19 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #20 from The Written Word  
---
(In reply to dave.anglin from comment #17)
> On 2016-07-12, at 12:36 PM, bugzilla-gcc at thewrittenword dot com wrote:
> 
> >>  don't have any ia64 hardware and I also don't have an 11.31 box.  So,
> >> there's a support issue for ia64 and 11.31.  Albert, if you or one of
> >> your staff could help in this regard, I would support the addition of
> >> a new hpux maintainer.
> > 
> > We can provide access to HP-UX 11.23/ia and 11.31/ia. Sadly, apart from
> > building GCC, we don't have any intricate ia64 knowledge to help with
> > maintainership.
> 
> What I was hoping for was someone to handle the hpux aspect on ia64.  Do
> occasional builds and tests, etc.

We might be able to do this. Will look into getting something automated over
the next few weeks.

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-07-14 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #19 from dave.anglin at bell dot net ---
On 2016-07-12 10:38 AM, danglin at gcc dot gnu.org wrote:
> Patch looks reasonable but needs to be sent to gcc-patches with cc's.
Further, the patch needs to be submitted by someone with a gcc copyright 
assignment.

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-07-13 Thread jim.wilson at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #18 from jim.wilson at linaro dot org ---
On 07/12/2016 09:36 AM, bugzilla-gcc at thewrittenword dot com wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319
>
> --- Comment #16 from The Written Word  com> ---
> (In reply to John David Anglin from comment #15)
>> Steve Ellcey used to support HP-UX/IA64 but he moved on to MIPS.  Don't
>> know Jim Wilson's status.

I've never had access to HP-UX/IA64.  I've only used ia64-linux.  I no 
longer have an IA-64 machine at home.  I don't have access to IA-64 at 
work, and there is no IA-64 hardware in the gcc compile farm.  I retain 
a lot of knowledge about how IA-64 works, but with no hardware access, 
and no HP-UX access, there isn't much I can do to help.

Jim

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-07-12 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #17 from dave.anglin at bell dot net ---
On 2016-07-12, at 12:36 PM, bugzilla-gcc at thewrittenword dot com wrote:

>>  don't have any ia64 hardware and I also don't have an 11.31 box.  So,
>> there's a support issue for ia64 and 11.31.  Albert, if you or one of
>> your staff could help in this regard, I would support the addition of
>> a new hpux maintainer.
> 
> We can provide access to HP-UX 11.23/ia and 11.31/ia. Sadly, apart from
> building GCC, we don't have any intricate ia64 knowledge to help with
> maintainership.

What I was hoping for was someone to handle the hpux aspect on ia64.  Do
occasional builds and tests, etc.  I think Jim and others can handle the code
generation aspects.

I do hppa in my spare time and don't have the time to do more.  This included
working
with Helge Deller to get hppa in Debian ports.  The same needs to occur for
ia64
but so far no one has stepped up.

Dave
--
John David Anglin   dave.ang...@bell.net

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-07-12 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #16 from The Written Word  
---
(In reply to John David Anglin from comment #15)
> Steve Ellcey used to support HP-UX/IA64 but he moved on to MIPS.  Don't
> know Jim Wilson's status.

I emailed them both. Maybe they can point me to a new maintainer.

> I don't have any ia64 hardware and I also don't have an 11.31 box.  So,
> there's a support issue for ia64 and 11.31.  Albert, if you or one of
> your staff could help in this regard, I would support the addition of
> a new hpux maintainer.

We can provide access to HP-UX 11.23/ia and 11.31/ia. Sadly, apart from
building GCC, we don't have any intricate ia64 knowledge to help with
maintainership.

> Patch looks reasonable but needs to be sent to gcc-patches with cc's.

I will look into this.

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-07-12 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #15 from John David Anglin  ---
Steve Ellcey used to support HP-UX/IA64 but he moved on to MIPS.  Don't
know Jim Wilson's status.

I don't have any ia64 hardware and I also don't have an 11.31 box.  So,
there's a support issue for ia64 and 11.31.  Albert, if you or one of
your staff could help in this regard, I would support the addition of
a new hpux maintainer.

Patch looks reasonable but needs to be sent to gcc-patches with cc's.

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-07-12 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #14 from The Written Word  
---
We backported this patch to gcc-4.7.4 which we used to bootstrap gcc-5.4.0 on
HP-UX/IA. We seem to get farther than before in building gcc-5.4.0 though the
build still fails for what appears are reasons unrelated to this issue.

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-07-12 Thread bugzilla-gcc at thewrittenword dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

The Written Word  changed:

   What|Removed |Added

 CC||bugzilla-gcc@thewrittenword
   ||.com

--- Comment #13 from The Written Word  
---
Created attachment 38882
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38882=edit
Patch for HP-UX/IA

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-05-22 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #12 from dave.anglin at bell dot net ---
On 2016-05-22, at 4:36 AM, internetos at outlook dot com wrote:

> hI am porting GCC 6.1.0 to HP-UX 11.31 IA64, could anybody give me detailed
> instruction on how to construct similar change at #7? 
> 
> It is unclear to me how the config/pa/pa-hpux11.h is applied to ./configure or
> gmake, is there any neat way to modify my Makefile directly?


The tm_file define in config.gcc adds this header.  For example, see defines
for
"hppa[12]*-*-hpux11*".

Dave
--
John David Anglin   dave.ang...@bell.net

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2016-05-22 Thread internetos at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

Han  changed:

   What|Removed |Added

 CC||internetos at outlook dot com

--- Comment #11 from Han  ---
I am porting GCC 6.1.0 to HP-UX 11.31 IA64, could anybody give me detailed
instruction on how to construct similar change at #7? 

It is unclear to me how the config/pa/pa-hpux11.h is applied to ./configure or
gmake, is there any neat way to modify my Makefile directly?

[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2015-10-15 Thread josephpattara at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

Joseph John  changed:

   What|Removed |Added

 CC||josephpattara at gmail dot com

--- Comment #9 from Joseph John  ---
Hi,
I am hitting the same error on the below platform.
B.11.31 U ia64 rx2800 

g++ -c  -DUSE_LIBUNWIND_EXCEPTIONS  -g -DIN_GCC-fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I.
-I. -I../../gcc-5.2.0/gcc -I../../gcc-5.2.0/gcc/.
-I../../gcc-5.2.0/gcc/../include -I../../gcc-5.2.0/gcc/../libcpp/include
-I/home/jjohn/hpux/gcc_520/gcc_build/./gmp
-I/home/jjohn/hpux/gcc_520/gcc-5.2.0/gmp
-I/home/jjohn/hpux/gcc_520/gcc_build/./mpfr/src
-I/home/jjohn/hpux/gcc_520/gcc-5.2.0/mpfr/src
-I/home/jjohn/hpux/gcc_520/gcc-5.2.0/mpc/src 
-I../../gcc-5.2.0/gcc/../libdecnumber -I../../gcc-5.2.0/gcc/../libdecnumber/dpd
-I../libdecnumber -I../../gcc-5.2.0/gcc/../libbacktrace
-I/home/jjohn/hpux/gcc_520/gcc_build/./isl/include
-I/home/jjohn/hpux/gcc_520/gcc-5.2.0/isl/include  -o gcov-tool.o -MT
gcov-tool.o -MMD -MP -MF ./.deps/gcov-tool.TPo ../../gcc-5.2.0/gcc/gcov-tool.c
../../gcc-5.2.0/gcc/gcov-tool.c: In function 'int unlink_profile_dir(const
char*)':
../../gcc-5.2.0/gcc/gcov-tool.c:84: error: invalid conversion from 'int
(*)(const char*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*,
int, FTW)'
Makefile:1065: recipe for target 'gcov-tool.o' failed
make[3]: *** [gcov-tool.o] Error 1
make[3]: Leaving directory '/home/jjohn/hpux/gcc_520/gcc_build/gcc'

Is there a similar fix also for the ia64 platform?


[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2015-10-15 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #10 from dave.anglin at bell dot net ---
On 2015-10-15, at 10:32 AM, josephpattara at gmail dot com wrote:

> Is there a similar fix also for the ia64 platform?

I believe a similar fix could be developed along the lines of the change in
comment #7.  I looked at
the 11.31 defines in developing the PA-RISC change.

It would be very helpful if you could work on this and try to develop a fix for
ia64.  Not many have access
to ia64 systems.

Dave
--
John David Anglin   dave.ang...@bell.net


[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2015-06-06 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #7 from John David Anglin danglin at gcc dot gnu.org ---
Author: danglin
Date: Sat Jun  6 18:33:06 2015
New Revision: 224192

URL: https://gcc.gnu.org/viewcvs?rev=224192root=gccview=rev
Log:
PR bootstrap/66319
* config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Rearrange builtin
defines.  Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE for c++.
Define _XOPEN_UNIX and _XOPEN_SOURCE_EXTENDED for c++ if unix95 or
later.
* config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Likewise.
Define _INCLUDE_STDC_SOURCE_PRE_199901, _INCLUDE_STDC_SOURCE_199901,
_INCLUDE_XOPEN_SOURCE_PRE_500, _INCLUDE_XOPEN_SOURCE_520,
_INCLUDE_XOPEN_SOURCE_PRE_600 and _INCLUDE_XOPEN_SOURCE_600 for c++
and non iso if unix2003.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/pa/pa-hpux10.h
trunk/gcc/config/pa/pa-hpux11.h


[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2015-06-06 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #8 from John David Anglin danglin at gcc dot gnu.org ---
Author: danglin
Date: Sat Jun  6 18:35:16 2015
New Revision: 224193

URL: https://gcc.gnu.org/viewcvs?rev=224193root=gccview=rev
Log:
PR bootstrap/66319
* config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Rearrange builtin
defines.  Define _LARGEFILE_SOURCE and _LARGEFILE64_SOURCE for c++.
Define _XOPEN_UNIX and _XOPEN_SOURCE_EXTENDED for c++ if unix95 or
later.
* config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Likewise.
Define _INCLUDE_STDC_SOURCE_PRE_199901, _INCLUDE_STDC_SOURCE_199901,
_INCLUDE_XOPEN_SOURCE_PRE_500, _INCLUDE_XOPEN_SOURCE_520,
_INCLUDE_XOPEN_SOURCE_PRE_600 and _INCLUDE_XOPEN_SOURCE_600 for c++
and non iso if unix2003.


Modified:
branches/gcc-5-branch/gcc/ChangeLog
branches/gcc-5-branch/gcc/config/pa/pa-hpux10.h
branches/gcc-5-branch/gcc/config/pa/pa-hpux11.h


[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2015-06-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Jason Merrill jason at gcc dot gnu.org ---
Should be better now.


[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2015-06-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

--- Comment #5 from Jason Merrill jason at gcc dot gnu.org ---
Author: jason
Date: Tue Jun  2 17:50:23 2015
New Revision: 224039

URL: https://gcc.gnu.org/viewcvs?rev=224039root=gccview=rev
Log:
PR bootstrap/66319
* configure.ac: Use -std=gnu++98.

Modified:
trunk/ChangeLog
trunk/configure
trunk/configure.ac


[Bug bootstrap/66319] [6 Regression] gcov-tool.c:84:65: error: invalid conversion from 'int (*)(const c har*, const stat*, int, FTW*)' to 'int (*)(const char*, const stat*, int, FTW)'

2015-06-02 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66319

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||jason at gcc dot gnu.org
  Component|gcov-profile|bootstrap
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org

--- Comment #4 from Jason Merrill jason at gcc dot gnu.org ---
I guess to make this work, configure should check nftw to make sure it has the
right signature, and undefine HAVE_FTW_H if not.

This process has been catching real issues, but perhaps they aren't significant
enough to be worth the pain.  I guess I'll go ahead and switch to gnu++98.