public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
@ 2005-08-19 19:29 v dot haisman at sh dot cvut dot cz
2005-08-19 19:51 ` [Bug ada/23487] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 10+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2005-08-19 19:29 UTC (permalink / raw)
To: gcc-bugs
stage1/xgcc -Bstage1/ -B/home/4/wilx/i386-unknown-freebsd4.10/bin/ -c -O2 -g
-fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Werror -fno-common -DHAVE_CONFIG_H \
-I/home/4/wilx/include -I. -Iada -I../../srcdir/gcc
-I../../srcdir/gcc/ada -I../../srcdir/gcc/../include
-I../../srcdir/gcc/../libcpp/include ../../srcdir/gcc/ada/init.c -o ada/init.o
cc1: warnings being treated as errors
../../srcdir/gcc/ada/init.c: In function '__gnat_install_handler':
../../srcdir/gcc/ada/init.c:1601: warning: assignment from incompatible pointer type
make[2]: *** [ada/init.o] Error 1
make[2]: Leaving directory `/home/4/wilx/tmp/gcc-head/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/4/wilx/tmp/gcc-head/objdir/gcc'
make: *** [bootstrap-lean] Error 2
--
Summary: Assignment from incompatible pointer warning in
__gnat_install_handler kills bootstrap
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: v dot haisman at sh dot cvut dot cz
CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot
cvut dot cz
GCC build triplet: i386-unknown-freebsd4.10
GCC host triplet: i386-unknown-freebsd4.10
GCC target triplet: i386-unknown-freebsd4.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
2005-08-19 19:29 [Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap v dot haisman at sh dot cvut dot cz
@ 2005-08-19 19:51 ` pinskia at gcc dot gnu dot org
2005-08-19 19:57 ` v dot haisman at sh dot cvut dot cz
` (4 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-19 19:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-19 19:28 -------
This is a bug in the freebsd specific section in init.c.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|bootstrap |ada
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
2005-08-19 19:29 [Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap v dot haisman at sh dot cvut dot cz
2005-08-19 19:51 ` [Bug ada/23487] " pinskia at gcc dot gnu dot org
@ 2005-08-19 19:57 ` v dot haisman at sh dot cvut dot cz
2005-08-19 20:11 ` v dot haisman at sh dot cvut dot cz
` (3 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2005-08-19 19:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 19:51 -------
According to FreeBSD man page for sigaction
(http://www.freebsd.org/cgi/man.cgi?query=sigaction&apropos=0&sektion=0&manpath=FreeBSD+5.4-RELEASE+and+Ports&format=html)
the following looks like it should fix it.
*** init.c.~1.52.~ Sun Jul 31 23:10:03 2005
--- init.c Fri Aug 19 21:49:07 2005
***************
*** 1598,1604 ****
exceptions. Make sure that the handler isn't interrupted by another
signal that might cause a scheduling event! */
! act.sa_handler = __gnat_error_handler;
act.sa_flags = SA_NODEFER | SA_RESTART;
(void) sigemptyset (&act.sa_mask);
--- 1598,1604 ----
exceptions. Make sure that the handler isn't interrupted by another
signal that might cause a scheduling event! */
! act.sa_handler = (void(*)(int))__gnat_error_handler;
act.sa_flags = SA_NODEFER | SA_RESTART;
(void) sigemptyset (&act.sa_mask);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
2005-08-19 19:29 [Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap v dot haisman at sh dot cvut dot cz
2005-08-19 19:51 ` [Bug ada/23487] " pinskia at gcc dot gnu dot org
2005-08-19 19:57 ` v dot haisman at sh dot cvut dot cz
@ 2005-08-19 20:11 ` v dot haisman at sh dot cvut dot cz
2005-08-19 20:12 ` v dot haisman at sh dot cvut dot cz
` (2 subsequent siblings)
5 siblings, 0 replies; 10+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2005-08-19 20:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 19:57 -------
More of the same:
*** link.c.~1.16.~ Fri Jul 8 12:45:47 2005
--- link.c Fri Aug 19 21:55:40 2005
***************
*** 154,166 ****
const char *__gnat_object_library_extension = ".a";
#elif defined (__FreeBSD__)
! char *__gnat_object_file_option = "";
! char *__gnat_run_path_option = "-Wl,-rpath,";
char __gnat_shared_libgnat_default = STATIC;
int __gnat_link_max = 8192;
unsigned char __gnat_objlist_file_supported = 1;
unsigned char __gnat_using_gnu_linker = 1;
! char *__gnat_object_library_extension = ".a";
#elif defined (linux)
const char *__gnat_object_file_option = "";
--- 154,166 ----
const char *__gnat_object_library_extension = ".a";
#elif defined (__FreeBSD__)
! const char *__gnat_object_file_option = "";
! const char *__gnat_run_path_option = "-Wl,-rpath,";
char __gnat_shared_libgnat_default = STATIC;
int __gnat_link_max = 8192;
unsigned char __gnat_objlist_file_supported = 1;
unsigned char __gnat_using_gnu_linker = 1;
! const char *__gnat_object_library_extension = ".a";
#elif defined (linux)
const char *__gnat_object_file_option = "";
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
2005-08-19 19:29 [Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap v dot haisman at sh dot cvut dot cz
` (2 preceding siblings ...)
2005-08-19 20:11 ` v dot haisman at sh dot cvut dot cz
@ 2005-08-19 20:12 ` v dot haisman at sh dot cvut dot cz
2005-08-19 20:18 ` v dot haisman at sh dot cvut dot cz
2005-09-01 10:42 ` charlet at gcc dot gnu dot org
5 siblings, 0 replies; 10+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2005-08-19 20:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 20:11 -------
2005-08-19 Vaclav Haisma <v.haisman@sh.cvut.cz>
* init.c (FreeBSD's __gnat_install_handler): Cast
__gnat_error_handler to proper type.
* link.c (FreeBSD's __gnat_object_file_option,
__gnat_run_path_option, __gnat_object_library_extension): Make
const.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
2005-08-19 19:29 [Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap v dot haisman at sh dot cvut dot cz
` (3 preceding siblings ...)
2005-08-19 20:12 ` v dot haisman at sh dot cvut dot cz
@ 2005-08-19 20:18 ` v dot haisman at sh dot cvut dot cz
2005-09-01 10:42 ` charlet at gcc dot gnu dot org
5 siblings, 0 replies; 10+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2005-08-19 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-08-19 20:12 -------
Errr, my surname is missing n at the end...
2005-08-19 Vaclav Haisman <v.haisman@sh.cvut.cz>
* init.c (FreeBSD's __gnat_install_handler): Cast
__gnat_error_handler to proper type.
* link.c (FreeBSD's __gnat_object_file_option,
__gnat_run_path_option, __gnat_object_library_extension): Make
const.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
2005-08-19 19:29 [Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap v dot haisman at sh dot cvut dot cz
` (4 preceding siblings ...)
2005-08-19 20:18 ` v dot haisman at sh dot cvut dot cz
@ 2005-09-01 10:42 ` charlet at gcc dot gnu dot org
5 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2005-09-01 10:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From charlet at gcc dot gnu dot org 2005-09-01 10:42 -------
Patch looks reasonable to me.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
[not found] <bug-23487-629@http.gcc.gnu.org/bugzilla/>
2005-10-25 20:16 ` pinskia at gcc dot gnu dot org
2007-11-20 13:56 ` sam at rfc1149 dot net
@ 2007-11-21 13:50 ` charlet at gcc dot gnu dot org
2 siblings, 0 replies; 10+ messages in thread
From: charlet at gcc dot gnu dot org @ 2007-11-21 13:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from charlet at gcc dot gnu dot org 2007-11-21 13:49 -------
closing then.
--
charlet at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
[not found] <bug-23487-629@http.gcc.gnu.org/bugzilla/>
2005-10-25 20:16 ` pinskia at gcc dot gnu dot org
@ 2007-11-20 13:56 ` sam at rfc1149 dot net
2007-11-21 13:50 ` charlet at gcc dot gnu dot org
2 siblings, 0 replies; 10+ messages in thread
From: sam at rfc1149 dot net @ 2007-11-20 13:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from sam at rfc1149 dot net 2007-11-20 13:56 -------
This issue can be closed as the code in init.c has changed and those warnings
have been taken care of.
--
sam at rfc1149 dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at rfc1149 dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug ada/23487] Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap
[not found] <bug-23487-629@http.gcc.gnu.org/bugzilla/>
@ 2005-10-25 20:16 ` pinskia at gcc dot gnu dot org
2007-11-20 13:56 ` sam at rfc1149 dot net
2007-11-21 13:50 ` charlet at gcc dot gnu dot org
2 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-25 20:16 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-10-25 20:16:50
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23487
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-11-21 13:50 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-19 19:29 [Bug bootstrap/23487] New: Assignment from incompatible pointer warning in __gnat_install_handler kills bootstrap v dot haisman at sh dot cvut dot cz
2005-08-19 19:51 ` [Bug ada/23487] " pinskia at gcc dot gnu dot org
2005-08-19 19:57 ` v dot haisman at sh dot cvut dot cz
2005-08-19 20:11 ` v dot haisman at sh dot cvut dot cz
2005-08-19 20:12 ` v dot haisman at sh dot cvut dot cz
2005-08-19 20:18 ` v dot haisman at sh dot cvut dot cz
2005-09-01 10:42 ` charlet at gcc dot gnu dot org
[not found] <bug-23487-629@http.gcc.gnu.org/bugzilla/>
2005-10-25 20:16 ` pinskia at gcc dot gnu dot org
2007-11-20 13:56 ` sam at rfc1149 dot net
2007-11-21 13:50 ` charlet at gcc dot gnu 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).