public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65835] New: bootstrap failure: multiple invalid conversions from ‘const char*’ to ‘char*’ [-fpermissive] in winnt.c
@ 2015-04-21 16:23 tprince at computer dot org
2015-04-21 16:38 ` [Bug c++/65835] " tprince at computer dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: tprince at computer dot org @ 2015-04-21 16:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65835
Bug ID: 65835
Summary: bootstrap failure: multiple invalid conversions from
‘const char*’ to ‘char*’ [-fpermissive] in winnt.c
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tprince at computer dot org
Created attachment 35380
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35380&action=edit
winnt.c from trunk
g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-
W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-
attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wn
o-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc
-I../../gc
c/. -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/include
-I../../gc
c/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/
../libbacktrace -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include
-I./.
./intl -I../../gcc/../libcpp/include -I../../gcc/../libdecnumber
-I../../gcc/..
/libdecnumber/bid -I../libdecnumber -I../../gcc/../libbacktrace \
../../gcc/config/i386/winnt-stubs.c
../../gcc/config/i386/winnt.c: In function ‘const char*
i386_find_on_wrapper_lis
t(const char*)’:
../../gcc/config/i386/winnt.c:804:32: error: invalid conversion from ‘const
char
*’ to ‘hash_table<wrapped_symbol_hasher>::value_type {aka char*}’
[-fpermissive]
return wrappers->find (target);
^
In file included from ../../gcc/hard-reg-set.h:23:0,
from ../../gcc/regs.h:24,
from ../../gcc/config/i386/winnt.c:26:
../../gcc/hash-table.h:623:15: note: initializing argument 1 of
‘hash_table<De
scriptor, Allocator>::value_type& hash_table<Descriptor, Allocator>::find(const
value_type&) [with Descriptor = wrapped_symbol_hasher; Allocator = xcallocator;
hash_table<Descriptor, Allocator>::value_type = char*]’
value_type &find (const value_type &value)
...
g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-
W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format
-Wmissing-format-
attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wn
o-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc
-I../../gc
c/. -I../../gcc/../include -I./../intl -I../../gcc/../libcpp/include
-I../../gc
c/../libdecnumber -I../../gcc/../libdecnumber/bid -I../libdecnumber
-I../../gcc/
../libbacktrace -o hooks.o -MT hooks.o -MMD -MP -MF ./.deps/hooks.TPo
../../gc
c/hooks.c
../../gcc/config/i386/winnt.c: In function ‘void i386_pe_file_end()’:
../../gcc/config/i386/winnt.c:832:50: error: invalid conversion from ‘const
char
*’ to ‘char*’ [-fpermissive]
char *realsym = i386_find_on_wrapper_list (p->name);
^
../../gcc/config/i386/winnt.c:770:1: note: initializing argument 1 of ‘char*
i
386_find_on_wrapper_list(char*)’
i386_find_on_wrapper_list (char *target)
^
>From gcc-bugs-return-484191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Apr 21 16:28:28 2015
Return-Path: <gcc-bugs-return-484191-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59708 invoked by alias); 21 Apr 2015 16:28:28 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59668 invoked by uid 48); 21 Apr 2015 16:28:24 -0000
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65836] New: [6 Regression] gnat fails to build on aarch64-linux-gnu
Date: Tue, 21 Apr 2015 16:28:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: doko at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter
Message-ID: <bug-65836-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-04/txt/msg01743.txt.bz2
Content-length: 681
https://gcc.gnu.org/bugzilla/show_bug.cgi?ide836
Bug ID: 65836
Summary: [6 Regression] gnat fails to build on
aarch64-linux-gnu
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
seen with r222268, aarch64-linux-gnu, ada fails to build in stage2:
build/gengtype \
-S ../../src/gcc -I gtyp-input.list -w tmp-gtype.state
Makefile:2402: recipe for target 's-gtype' failed
make[5]: *** [s-gtype] Segmentation fault
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/65835] bootstrap failure: multiple invalid conversions from ‘const char*’ to ‘char*’ [-fpermissive] in winnt.c
2015-04-21 16:23 [Bug c++/65835] New: bootstrap failure: multiple invalid conversions from ‘const char*’ to ‘char*’ [-fpermissive] in winnt.c tprince at computer dot org
@ 2015-04-21 16:38 ` tprince at computer dot org
2015-05-20 1:04 ` tbsaunde at gcc dot gnu.org
2015-05-20 13:28 ` tprince at computer dot org
2 siblings, 0 replies; 4+ messages in thread
From: tprince at computer dot org @ 2015-04-21 16:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65835
--- Comment #1 from tprince at computer dot org ---
Building by casting const char* to char *
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/65835] bootstrap failure: multiple invalid conversions from ‘const char*’ to ‘char*’ [-fpermissive] in winnt.c
2015-04-21 16:23 [Bug c++/65835] New: bootstrap failure: multiple invalid conversions from ‘const char*’ to ‘char*’ [-fpermissive] in winnt.c tprince at computer dot org
2015-04-21 16:38 ` [Bug c++/65835] " tprince at computer dot org
@ 2015-05-20 1:04 ` tbsaunde at gcc dot gnu.org
2015-05-20 13:28 ` tprince at computer dot org
2 siblings, 0 replies; 4+ messages in thread
From: tbsaunde at gcc dot gnu.org @ 2015-05-20 1:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65835
--- Comment #2 from tbsaunde at gcc dot gnu.org ---
Author: tbsaunde
Date: Wed May 20 01:03:51 2015
New Revision: 223423
URL: https://gcc.gnu.org/viewcvs?rev=223423&root=gcc&view=rev
Log:
fixup hash table descriptor in winnt.c
gcc/ChangeLog:
2015-05-19 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
PR c++/65835
* config/i386/winnt.c (struct wrapped_symbol_hasher): Change
value_type to const char *.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/winnt.c
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/65835] bootstrap failure: multiple invalid conversions from ‘const char*’ to ‘char*’ [-fpermissive] in winnt.c
2015-04-21 16:23 [Bug c++/65835] New: bootstrap failure: multiple invalid conversions from ‘const char*’ to ‘char*’ [-fpermissive] in winnt.c tprince at computer dot org
2015-04-21 16:38 ` [Bug c++/65835] " tprince at computer dot org
2015-05-20 1:04 ` tbsaunde at gcc dot gnu.org
@ 2015-05-20 13:28 ` tprince at computer dot org
2 siblings, 0 replies; 4+ messages in thread
From: tprince at computer dot org @ 2015-05-20 13:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65835
tprince at computer dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from tprince at computer dot org ---
The problem appears to have been cleared in trunk by 2015-05-19
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-20 13:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-21 16:23 [Bug c++/65835] New: bootstrap failure: multiple invalid conversions from ‘const char*’ to ‘char*’ [-fpermissive] in winnt.c tprince at computer dot org
2015-04-21 16:38 ` [Bug c++/65835] " tprince at computer dot org
2015-05-20 1:04 ` tbsaunde at gcc dot gnu.org
2015-05-20 13:28 ` tprince at computer dot 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).