From: SourceForge.net <no...@so...> - 2004-05-21 05:41:45
|
Bugs item #957830, was opened at 2004-05-21 00:41 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Aaron W. LaFramboise (aaronwl) Assigned to: Danny Smith (dannysmith) Summary: Bootstrap failure with gcc-3.4.0-20040501-1 in __w32_sharedp Initial Comment: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm getting a bootstrap failure attempting to compile MinGW gcc-3.4.0-20040501-1. Specs: Windows XP with all current patches, Pentium 4 1.4GHz, 128MB RAM Compiling with MinGW-current, using GCC 3.4RC1: $ gcc -v Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.0/specs Configured with: ../gcc/configure --with-gcc --with- gnu-ld --with-gnu-as --host=mingw32 -- target=mingw32 --prefix=/mingw --enable-threads -- disable-nls --enable- languages=c,c++,f77,ada,objc,java --disable-win32- registry --disable-shared --enable-sjlj-exceptions -- enable-libgcj --disable-java-awt --without-x --enable- java-gc=boehm --disable-libgcj-debug --enable- interpreter --enable-hash-synchronization Thread model: win32 gcc version 3.4.0 (mingw special) I get the error when building stage2, here: ./xgcc -B./ - B/aaronwl/cs/compilers/mingw/gcc/mingw/mingw32/bin/ - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/include - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/sys-include - L/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc/../ld - O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wold-style- definition -isystem ./include -I. -I. -I../../gcc- 3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc- 3.4.0/gcc/../include -g0 -finhibit-size-directive -fno- inline-functions -fno-exceptions -fno-zero-initialized-in- bss -fno-unit-at-a-time -c ../../gcc-3.4.0/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. xgcc.exe: Internal error: Aborted (program cc1) Please submit a full bug report. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make: *** [bootstrap] Error 2 In particular, cc1 is aborting here: #1 0x006b1b7b in __w32_sharedptr_get (atom=63) at ../../gcc-3.4.0/gcc/config/i386/w32-shared- ptr.c:229 228 if (w32_sharedptr->size != sizeof (W32_EH_SHARED)) 229 abort (); GDB reports: (gdb) print w32_sharedptr->size $1 = 56 (gdb) print sizeof(W32_EH_SHARED) $2 = 60 I'm not familiar with the MinGW sharedptr stuff, so I can't comment further on the problem at this time. It may be worth noting that a vanilla FSF gcc-3.4.tar.gz builds without any problems on the same configuration. Aaron W. LaFramboise -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFArZZwxDYk2wAn5+8RAhR4AKCSshGaHsDpxhF4LC RR+FHNx3vMlQCeNB2N KvxnktVkU2QBqsWnFI0F0O4= =g4NT -----END PGP SIGNATURE----- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 |
From: SourceForge.net <no...@so...> - 2004-05-21 10:24:04
|
Bugs item #957830, was opened at 2004-05-21 17:41 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Aaron W. LaFramboise (aaronwl) Assigned to: Danny Smith (dannysmith) Summary: Bootstrap failure with gcc-3.4.0-20040501-1 in __w32_sharedp Initial Comment: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm getting a bootstrap failure attempting to compile MinGW gcc-3.4.0-20040501-1. Specs: Windows XP with all current patches, Pentium 4 1.4GHz, 128MB RAM Compiling with MinGW-current, using GCC 3.4RC1: $ gcc -v Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.0/specs Configured with: ../gcc/configure --with-gcc --with- gnu-ld --with-gnu-as --host=mingw32 -- target=mingw32 --prefix=/mingw --enable-threads -- disable-nls --enable- languages=c,c++,f77,ada,objc,java --disable-win32- registry --disable-shared --enable-sjlj-exceptions -- enable-libgcj --disable-java-awt --without-x --enable- java-gc=boehm --disable-libgcj-debug --enable- interpreter --enable-hash-synchronization Thread model: win32 gcc version 3.4.0 (mingw special) I get the error when building stage2, here: ./xgcc -B./ - B/aaronwl/cs/compilers/mingw/gcc/mingw/mingw32/bin/ - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/include - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/sys-include - L/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc/../ld - O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wold-style- definition -isystem ./include -I. -I. -I../../gcc- 3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc- 3.4.0/gcc/../include -g0 -finhibit-size-directive -fno- inline-functions -fno-exceptions -fno-zero-initialized-in- bss -fno-unit-at-a-time -c ../../gcc-3.4.0/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. xgcc.exe: Internal error: Aborted (program cc1) Please submit a full bug report. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make: *** [bootstrap] Error 2 In particular, cc1 is aborting here: #1 0x006b1b7b in __w32_sharedptr_get (atom=63) at ../../gcc-3.4.0/gcc/config/i386/w32-shared- ptr.c:229 228 if (w32_sharedptr->size != sizeof (W32_EH_SHARED)) 229 abort (); GDB reports: (gdb) print w32_sharedptr->size $1 = 56 (gdb) print sizeof(W32_EH_SHARED) $2 = 60 I'm not familiar with the MinGW sharedptr stuff, so I can't comment further on the problem at this time. It may be worth noting that a vanilla FSF gcc-3.4.tar.gz builds without any problems on the same configuration. Aaron W. LaFramboise -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFArZZwxDYk2wAn5+8RAhR4AKCSshGaHsDpxhF4LC RR+FHNx3vMlQCeNB2N KvxnktVkU2QBqsWnFI0F0O4= =g4NT -----END PGP SIGNATURE----- ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2004-05-21 22:24 Message: Logged In: YES user_id=11494 Thanks for reporting this. I didn't see this, but it is a real bug that is going to affect many (most?) projects. The ABI has changed,as Thomas P has already pointed out, with change in __gthread_mutex_t. I think the w32_atom_suffix string needs to be amended with addition of an ABI version string (eg "- v2") to prevent this type of msmatch. Either that, or we drop support for the shared-ptr stuff until it gets into official FSF sources. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 |
From: SourceForge.net <no...@so...> - 2004-06-11 03:25:26
|
Bugs item #957830, was opened at 2004-05-21 00:41 Message generated for change (Comment added) made by aaronwl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Aaron W. LaFramboise (aaronwl) Assigned to: Danny Smith (dannysmith) Summary: Bootstrap failure with gcc-3.4.0-20040501-1 in __w32_sharedp Initial Comment: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm getting a bootstrap failure attempting to compile MinGW gcc-3.4.0-20040501-1. Specs: Windows XP with all current patches, Pentium 4 1.4GHz, 128MB RAM Compiling with MinGW-current, using GCC 3.4RC1: $ gcc -v Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.0/specs Configured with: ../gcc/configure --with-gcc --with- gnu-ld --with-gnu-as --host=mingw32 -- target=mingw32 --prefix=/mingw --enable-threads -- disable-nls --enable- languages=c,c++,f77,ada,objc,java --disable-win32- registry --disable-shared --enable-sjlj-exceptions -- enable-libgcj --disable-java-awt --without-x --enable- java-gc=boehm --disable-libgcj-debug --enable- interpreter --enable-hash-synchronization Thread model: win32 gcc version 3.4.0 (mingw special) I get the error when building stage2, here: ./xgcc -B./ - B/aaronwl/cs/compilers/mingw/gcc/mingw/mingw32/bin/ - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/include - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/sys-include - L/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc/../ld - O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wold-style- definition -isystem ./include -I. -I. -I../../gcc- 3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc- 3.4.0/gcc/../include -g0 -finhibit-size-directive -fno- inline-functions -fno-exceptions -fno-zero-initialized-in- bss -fno-unit-at-a-time -c ../../gcc-3.4.0/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. xgcc.exe: Internal error: Aborted (program cc1) Please submit a full bug report. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make: *** [bootstrap] Error 2 In particular, cc1 is aborting here: #1 0x006b1b7b in __w32_sharedptr_get (atom=63) at ../../gcc-3.4.0/gcc/config/i386/w32-shared- ptr.c:229 228 if (w32_sharedptr->size != sizeof (W32_EH_SHARED)) 229 abort (); GDB reports: (gdb) print w32_sharedptr->size $1 = 56 (gdb) print sizeof(W32_EH_SHARED) $2 = 60 I'm not familiar with the MinGW sharedptr stuff, so I can't comment further on the problem at this time. It may be worth noting that a vanilla FSF gcc-3.4.tar.gz builds without any problems on the same configuration. Aaron W. LaFramboise -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFArZZwxDYk2wAn5+8RAhR4AKCSshGaHsDpxhF4LC RR+FHNx3vMlQCeNB2N KvxnktVkU2QBqsWnFI0F0O4= =g4NT -----END PGP SIGNATURE----- ---------------------------------------------------------------------- >Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-06-10 22:25 Message: Logged In: YES user_id=1040098 I'm pretty sure this happened because of this: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00703.html Recently, I've noticed that some other people have had difficult-to-explain GCC bootstrap failures that look like they might be related to this. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-05-21 05:24 Message: Logged In: YES user_id=11494 Thanks for reporting this. I didn't see this, but it is a real bug that is going to affect many (most?) projects. The ABI has changed,as Thomas P has already pointed out, with change in __gthread_mutex_t. I think the w32_atom_suffix string needs to be amended with addition of an ABI version string (eg "- v2") to prevent this type of msmatch. Either that, or we drop support for the shared-ptr stuff until it gets into official FSF sources. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 |
From: SourceForge.net <no...@so...> - 2004-06-11 03:25:59
|
Bugs item #957830, was opened at 2004-05-21 00:41 Message generated for change (Comment added) made by aaronwl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Aaron W. LaFramboise (aaronwl) Assigned to: Danny Smith (dannysmith) Summary: Bootstrap failure with gcc-3.4.0-20040501-1 in __w32_sharedp Initial Comment: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm getting a bootstrap failure attempting to compile MinGW gcc-3.4.0-20040501-1. Specs: Windows XP with all current patches, Pentium 4 1.4GHz, 128MB RAM Compiling with MinGW-current, using GCC 3.4RC1: $ gcc -v Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.0/specs Configured with: ../gcc/configure --with-gcc --with- gnu-ld --with-gnu-as --host=mingw32 -- target=mingw32 --prefix=/mingw --enable-threads -- disable-nls --enable- languages=c,c++,f77,ada,objc,java --disable-win32- registry --disable-shared --enable-sjlj-exceptions -- enable-libgcj --disable-java-awt --without-x --enable- java-gc=boehm --disable-libgcj-debug --enable- interpreter --enable-hash-synchronization Thread model: win32 gcc version 3.4.0 (mingw special) I get the error when building stage2, here: ./xgcc -B./ - B/aaronwl/cs/compilers/mingw/gcc/mingw/mingw32/bin/ - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/include - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/sys-include - L/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc/../ld - O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wold-style- definition -isystem ./include -I. -I. -I../../gcc- 3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc- 3.4.0/gcc/../include -g0 -finhibit-size-directive -fno- inline-functions -fno-exceptions -fno-zero-initialized-in- bss -fno-unit-at-a-time -c ../../gcc-3.4.0/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. xgcc.exe: Internal error: Aborted (program cc1) Please submit a full bug report. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make: *** [bootstrap] Error 2 In particular, cc1 is aborting here: #1 0x006b1b7b in __w32_sharedptr_get (atom=63) at ../../gcc-3.4.0/gcc/config/i386/w32-shared- ptr.c:229 228 if (w32_sharedptr->size != sizeof (W32_EH_SHARED)) 229 abort (); GDB reports: (gdb) print w32_sharedptr->size $1 = 56 (gdb) print sizeof(W32_EH_SHARED) $2 = 60 I'm not familiar with the MinGW sharedptr stuff, so I can't comment further on the problem at this time. It may be worth noting that a vanilla FSF gcc-3.4.tar.gz builds without any problems on the same configuration. Aaron W. LaFramboise -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFArZZwxDYk2wAn5+8RAhR4AKCSshGaHsDpxhF4LC RR+FHNx3vMlQCeNB2N KvxnktVkU2QBqsWnFI0F0O4= =g4NT -----END PGP SIGNATURE----- ---------------------------------------------------------------------- >Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-06-10 22:25 Message: Logged In: YES user_id=1040098 I'm pretty sure this happened because of this: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00703.html Recently, I've noticed that some other people have had difficult-to-explain GCC bootstrap failures that look like they might be related to this. ---------------------------------------------------------------------- Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-06-10 22:25 Message: Logged In: YES user_id=1040098 I'm pretty sure this happened because of this: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00703.html Recently, I've noticed that some other people have had difficult-to-explain GCC bootstrap failures that look like they might be related to this. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-05-21 05:24 Message: Logged In: YES user_id=11494 Thanks for reporting this. I didn't see this, but it is a real bug that is going to affect many (most?) projects. The ABI has changed,as Thomas P has already pointed out, with change in __gthread_mutex_t. I think the w32_atom_suffix string needs to be amended with addition of an ABI version string (eg "- v2") to prevent this type of msmatch. Either that, or we drop support for the shared-ptr stuff until it gets into official FSF sources. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 |
From: SourceForge.net <no...@so...> - 2004-06-11 08:02:14
|
Bugs item #957830, was opened at 2004-05-21 17:41 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Aaron W. LaFramboise (aaronwl) Assigned to: Danny Smith (dannysmith) Summary: Bootstrap failure with gcc-3.4.0-20040501-1 in __w32_sharedp Initial Comment: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm getting a bootstrap failure attempting to compile MinGW gcc-3.4.0-20040501-1. Specs: Windows XP with all current patches, Pentium 4 1.4GHz, 128MB RAM Compiling with MinGW-current, using GCC 3.4RC1: $ gcc -v Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.0/specs Configured with: ../gcc/configure --with-gcc --with- gnu-ld --with-gnu-as --host=mingw32 -- target=mingw32 --prefix=/mingw --enable-threads -- disable-nls --enable- languages=c,c++,f77,ada,objc,java --disable-win32- registry --disable-shared --enable-sjlj-exceptions -- enable-libgcj --disable-java-awt --without-x --enable- java-gc=boehm --disable-libgcj-debug --enable- interpreter --enable-hash-synchronization Thread model: win32 gcc version 3.4.0 (mingw special) I get the error when building stage2, here: ./xgcc -B./ - B/aaronwl/cs/compilers/mingw/gcc/mingw/mingw32/bin/ - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/include - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/sys-include - L/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc/../ld - O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wold-style- definition -isystem ./include -I. -I. -I../../gcc- 3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc- 3.4.0/gcc/../include -g0 -finhibit-size-directive -fno- inline-functions -fno-exceptions -fno-zero-initialized-in- bss -fno-unit-at-a-time -c ../../gcc-3.4.0/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. xgcc.exe: Internal error: Aborted (program cc1) Please submit a full bug report. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make: *** [bootstrap] Error 2 In particular, cc1 is aborting here: #1 0x006b1b7b in __w32_sharedptr_get (atom=63) at ../../gcc-3.4.0/gcc/config/i386/w32-shared- ptr.c:229 228 if (w32_sharedptr->size != sizeof (W32_EH_SHARED)) 229 abort (); GDB reports: (gdb) print w32_sharedptr->size $1 = 56 (gdb) print sizeof(W32_EH_SHARED) $2 = 60 I'm not familiar with the MinGW sharedptr stuff, so I can't comment further on the problem at this time. It may be worth noting that a vanilla FSF gcc-3.4.tar.gz builds without any problems on the same configuration. Aaron W. LaFramboise -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFArZZwxDYk2wAn5+8RAhR4AKCSshGaHsDpxhF4LC RR+FHNx3vMlQCeNB2N KvxnktVkU2QBqsWnFI0F0O4= =g4NT -----END PGP SIGNATURE----- ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2004-06-11 20:02 Message: Logged In: YES user_id=11494 Actually, if it hadn't been for the MD_STARTFILE_PREFIX define, the ABI change in w32-shared-ptr.c may not have been detected so quickly. I really think that the win32-shared-pr stuff should be either ditched or made public in FSF forums, but I can't do the latter because its not my patchset. Danny ---------------------------------------------------------------------- Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-06-11 15:25 Message: Logged In: YES user_id=1040098 I'm pretty sure this happened because of this: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00703.html Recently, I've noticed that some other people have had difficult-to-explain GCC bootstrap failures that look like they might be related to this. ---------------------------------------------------------------------- Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-06-11 15:25 Message: Logged In: YES user_id=1040098 I'm pretty sure this happened because of this: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00703.html Recently, I've noticed that some other people have had difficult-to-explain GCC bootstrap failures that look like they might be related to this. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-05-21 22:24 Message: Logged In: YES user_id=11494 Thanks for reporting this. I didn't see this, but it is a real bug that is going to affect many (most?) projects. The ABI has changed,as Thomas P has already pointed out, with change in __gthread_mutex_t. I think the w32_atom_suffix string needs to be amended with addition of an ABI version string (eg "- v2") to prevent this type of msmatch. Either that, or we drop support for the shared-ptr stuff until it gets into official FSF sources. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 |
From: SourceForge.net <no...@so...> - 2004-07-21 05:35:26
|
Bugs item #957830, was opened at 2004-05-21 00:41 Message generated for change (Comment added) made by aaronwl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 Category: gcc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Aaron W. LaFramboise (aaronwl) Assigned to: Danny Smith (dannysmith) Summary: Bootstrap failure with gcc-3.4.0-20040501-1 in __w32_sharedp Initial Comment: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm getting a bootstrap failure attempting to compile MinGW gcc-3.4.0-20040501-1. Specs: Windows XP with all current patches, Pentium 4 1.4GHz, 128MB RAM Compiling with MinGW-current, using GCC 3.4RC1: $ gcc -v Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.0/specs Configured with: ../gcc/configure --with-gcc --with- gnu-ld --with-gnu-as --host=mingw32 -- target=mingw32 --prefix=/mingw --enable-threads -- disable-nls --enable- languages=c,c++,f77,ada,objc,java --disable-win32- registry --disable-shared --enable-sjlj-exceptions -- enable-libgcj --disable-java-awt --without-x --enable- java-gc=boehm --disable-libgcj-debug --enable- interpreter --enable-hash-synchronization Thread model: win32 gcc version 3.4.0 (mingw special) I get the error when building stage2, here: ./xgcc -B./ - B/aaronwl/cs/compilers/mingw/gcc/mingw/mingw32/bin/ - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/include - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/sys-include - L/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc/../ld - O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wold-style- definition -isystem ./include -I. -I. -I../../gcc- 3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc- 3.4.0/gcc/../include -g0 -finhibit-size-directive -fno- inline-functions -fno-exceptions -fno-zero-initialized-in- bss -fno-unit-at-a-time -c ../../gcc-3.4.0/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. xgcc.exe: Internal error: Aborted (program cc1) Please submit a full bug report. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make: *** [bootstrap] Error 2 In particular, cc1 is aborting here: #1 0x006b1b7b in __w32_sharedptr_get (atom=63) at ../../gcc-3.4.0/gcc/config/i386/w32-shared- ptr.c:229 228 if (w32_sharedptr->size != sizeof (W32_EH_SHARED)) 229 abort (); GDB reports: (gdb) print w32_sharedptr->size $1 = 56 (gdb) print sizeof(W32_EH_SHARED) $2 = 60 I'm not familiar with the MinGW sharedptr stuff, so I can't comment further on the problem at this time. It may be worth noting that a vanilla FSF gcc-3.4.tar.gz builds without any problems on the same configuration. Aaron W. LaFramboise -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFArZZwxDYk2wAn5+8RAhR4AKCSshGaHsDpxhF4LC RR+FHNx3vMlQCeNB2N KvxnktVkU2QBqsWnFI0F0O4= =g4NT -----END PGP SIGNATURE----- ---------------------------------------------------------------------- >Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-07-21 00:35 Message: Logged In: YES user_id=1040098 Now that the startfile patches have been committed, and have been working correctly for some time, this ticket can be closed, unless you want to track the w32-shared-ptr ABI change. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-06-11 03:02 Message: Logged In: YES user_id=11494 Actually, if it hadn't been for the MD_STARTFILE_PREFIX define, the ABI change in w32-shared-ptr.c may not have been detected so quickly. I really think that the win32-shared-pr stuff should be either ditched or made public in FSF forums, but I can't do the latter because its not my patchset. Danny ---------------------------------------------------------------------- Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-06-10 22:25 Message: Logged In: YES user_id=1040098 I'm pretty sure this happened because of this: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00703.html Recently, I've noticed that some other people have had difficult-to-explain GCC bootstrap failures that look like they might be related to this. ---------------------------------------------------------------------- Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-06-10 22:25 Message: Logged In: YES user_id=1040098 I'm pretty sure this happened because of this: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00703.html Recently, I've noticed that some other people have had difficult-to-explain GCC bootstrap failures that look like they might be related to this. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-05-21 05:24 Message: Logged In: YES user_id=11494 Thanks for reporting this. I didn't see this, but it is a real bug that is going to affect many (most?) projects. The ABI has changed,as Thomas P has already pointed out, with change in __gthread_mutex_t. I think the w32_atom_suffix string needs to be amended with addition of an ABI version string (eg "- v2") to prevent this type of msmatch. Either that, or we drop support for the shared-ptr stuff until it gets into official FSF sources. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 |
From: SourceForge.net <no...@so...> - 2004-07-26 05:01:35
|
Bugs item #957830, was opened at 2004-05-21 17:41 Message generated for change (Settings changed) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 Category: gcc Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Aaron W. LaFramboise (aaronwl) Assigned to: Danny Smith (dannysmith) Summary: Bootstrap failure with gcc-3.4.0-20040501-1 in __w32_sharedp Initial Comment: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm getting a bootstrap failure attempting to compile MinGW gcc-3.4.0-20040501-1. Specs: Windows XP with all current patches, Pentium 4 1.4GHz, 128MB RAM Compiling with MinGW-current, using GCC 3.4RC1: $ gcc -v Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.0/specs Configured with: ../gcc/configure --with-gcc --with- gnu-ld --with-gnu-as --host=mingw32 -- target=mingw32 --prefix=/mingw --enable-threads -- disable-nls --enable- languages=c,c++,f77,ada,objc,java --disable-win32- registry --disable-shared --enable-sjlj-exceptions -- enable-libgcj --disable-java-awt --without-x --enable- java-gc=boehm --disable-libgcj-debug --enable- interpreter --enable-hash-synchronization Thread model: win32 gcc version 3.4.0 (mingw special) I get the error when building stage2, here: ./xgcc -B./ - B/aaronwl/cs/compilers/mingw/gcc/mingw/mingw32/bin/ - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/include - isystem /aaronwl/cs/compilers/mingw/gcc/mingw/mingw3 2/sys-include - L/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc/../ld - O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -Wold-style- definition -isystem ./include -I. -I. -I../../gcc- 3.4.0/gcc -I../../gcc-3.4.0/gcc/. -I../../gcc- 3.4.0/gcc/../include -g0 -finhibit-size-directive -fno- inline-functions -fno-exceptions -fno-zero-initialized-in- bss -fno-unit-at-a-time -c ../../gcc-3.4.0/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. xgcc.exe: Internal error: Aborted (program cc1) Please submit a full bug report. See <URL:http://www.mingw.org/bugs.shtml> for instructions. make[2]: *** [crtbegin.o] Error 1 make[2]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/aaronwl/cs/compilers/mingw/gcc/build/objdir/gcc' make: *** [bootstrap] Error 2 In particular, cc1 is aborting here: #1 0x006b1b7b in __w32_sharedptr_get (atom=63) at ../../gcc-3.4.0/gcc/config/i386/w32-shared- ptr.c:229 228 if (w32_sharedptr->size != sizeof (W32_EH_SHARED)) 229 abort (); GDB reports: (gdb) print w32_sharedptr->size $1 = 56 (gdb) print sizeof(W32_EH_SHARED) $2 = 60 I'm not familiar with the MinGW sharedptr stuff, so I can't comment further on the problem at this time. It may be worth noting that a vanilla FSF gcc-3.4.tar.gz builds without any problems on the same configuration. Aaron W. LaFramboise -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) iD8DBQFArZZwxDYk2wAn5+8RAhR4AKCSshGaHsDpxhF4LC RR+FHNx3vMlQCeNB2N KvxnktVkU2QBqsWnFI0F0O4= =g4NT -----END PGP SIGNATURE----- ---------------------------------------------------------------------- Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-07-21 17:35 Message: Logged In: YES user_id=1040098 Now that the startfile patches have been committed, and have been working correctly for some time, this ticket can be closed, unless you want to track the w32-shared-ptr ABI change. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-06-11 20:02 Message: Logged In: YES user_id=11494 Actually, if it hadn't been for the MD_STARTFILE_PREFIX define, the ABI change in w32-shared-ptr.c may not have been detected so quickly. I really think that the win32-shared-pr stuff should be either ditched or made public in FSF forums, but I can't do the latter because its not my patchset. Danny ---------------------------------------------------------------------- Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-06-11 15:25 Message: Logged In: YES user_id=1040098 I'm pretty sure this happened because of this: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00703.html Recently, I've noticed that some other people have had difficult-to-explain GCC bootstrap failures that look like they might be related to this. ---------------------------------------------------------------------- Comment By: Aaron W. LaFramboise (aaronwl) Date: 2004-06-11 15:25 Message: Logged In: YES user_id=1040098 I'm pretty sure this happened because of this: http://gcc.gnu.org/ml/gcc-patches/2004-06/msg00703.html Recently, I've noticed that some other people have had difficult-to-explain GCC bootstrap failures that look like they might be related to this. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2004-05-21 22:24 Message: Logged In: YES user_id=11494 Thanks for reporting this. I didn't see this, but it is a real bug that is going to affect many (most?) projects. The ABI has changed,as Thomas P has already pointed out, with change in __gthread_mutex_t. I think the w32_atom_suffix string needs to be amended with addition of an ABI version string (eg "- v2") to prevent this type of msmatch. Either that, or we drop support for the shared-ptr stuff until it gets into official FSF sources. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=957830&group_id=2435 |