This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/52123] [4.7/4.8 Regression] gcc bootstrap with ada fails on mingw target


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

--- Comment #10 from Rainer Emrich <rainer@emrich-ebersheim.de> 2013-02-06 17:20:53 UTC ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 06.02.2013 18:04, schrieb daniel.f.starke at freenet dot de:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52123
> 
> --- Comment #9 from Daniel Starke <daniel.f.starke at freenet dot de>
> 2013-02-06 17:04:21 UTC --- This will probably not fix all problems with
> ada on mingw.
Ah, I see. I missed this one because I only test for x86_64 and this one is in
the i386 path.

That's a problem in trunk and 4.7.3. I will prepare an additional patch for
trunk. Afterwards I will backport the whole mess to 4.7.3.
If you are able to test on 32 bit mingw system, I would like to send you the
patch for testing.


> My last tests with 4.7.2 made me also need to patch this:
> 
> diff -uart gcc-4.7.2-original/gcc/ada/tracebak.c
> gcc-4.7.2/gcc/ada/tracebak.c --- gcc-4.7.2-original/gcc/ada/tracebak.c
> 2011-10-24 10:31:30 +0000 +++ gcc-4.7.2/gcc/ada/tracebak.c    2012-09-23
> 15:26:50 +0000 @@ -326,7 +326,7 @@
> 
> #if defined (__WIN32) #include <windows.h> -#define IS_BAD_PTR(ptr)
> (IsBadCodePtr((void *)ptr)) +#define IS_BAD_PTR(ptr)
> (IsBadCodePtr((FARPROC)ptr)) #elif defined (sun) #define IS_BAD_PTR(ptr)
> ((unsigned long)ptr == -1UL) #else
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJREpDZAAoJEB3HOsWs+KJbFpMH/3soc7VszmDTzIMILkxSQARC
5kP/1clKrAmWjlIRSdt6CUjTDEmKrPGiWtmxqA9cuLq2AWkT1d2qycLNMq7cIeV5
4KNsMtqIKLfpFj7rw7n8gK8rCxMgUfXi+vBqFJtsGO1pBXtTZDgNsTlg5jqqUeeT
3744GGduKB702YbCsQYyiqjWffJeWcCYfMqHjZdu2xQNHhL69EX8GzAcZp1cHQJj
kPjfwPU2aaNYKD9H2DdhJ8S6Y8YWNg7UrYCUNY1ySKMeIx9OFamCHSUzZDC8e4kq
L4XKqIpZFz6Ys9qJDfv5o47lIoWmERy1aGH54fG2sX/xDdpHOv6q60vdGFCSDU4=
=W5RJ
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]