From: Jerry v. D. <jv...@at...> - 2002-11-21 00:27:08
|
Danny, do you have a new EH clean gcc 3.3 patch? esp. against crtstuff.c v1.58 ? I am now truly confused :-) gr. Jerry. -- -- Jerry van Dijk | email: jv...@at... -- Leiden, Holland | web: users.ncrvnet.nl/gmvdijk |
From: Danny S. <dan...@cl...> - 2002-11-21 00:55:16
|
Yes, I'm getting confused myself. Sorry. The changes affect crtstuff.c, unwind-dw2-fde.c, unwind-sjlj.c and config/i386/w32-shared-ptr.c and config/i386/t-cygming I'll gz these files as well as the diff and post. Soon. Danny ----- Original Message ----- From: "Jerry van Dijk" <jv...@at...> To: <min...@li...> Sent: Thursday, 21 November 2002 00:25 Subject: [MinGW-dvlpr] new gcc 3.3 patch > > Danny, do you have a new EH clean gcc 3.3 patch? esp. against crtstuff.c > v1.58 ? I am now truly confused :-) > > gr. > Jerry. > > -- > -- Jerry van Dijk | email: jv...@at... > -- Leiden, Holland | web: users.ncrvnet.nl/gmvdijk > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > MinGW-dvlpr mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr |
From: Danny S. <dan...@cl...> - 2002-11-22 00:08:17
Attachments:
20021121.diff.gz
unwind-files.tar.gz
|
The attached diff is Thomas Pfaff's works updated to 3.3 The already patched files from the gcc dir (unwind-dw2-fde.c, unwind-sjlj.c, crtstuff.c) are in the other attachment. Danny ----- Original Message ----- From: "Jerry van Dijk" <jv...@at...> To: <min...@li...> Sent: Thursday, 21 November 2002 00:25 Subject: [MinGW-dvlpr] new gcc 3.3 patch > > Danny, do you have a new EH clean gcc 3.3 patch? esp. against crtstuff.c > v1.58 ? I am now truly confused :-) > > gr. > Jerry. > > -- > -- Jerry van Dijk | email: jv...@at... > -- Leiden, Holland | web: users.ncrvnet.nl/gmvdijk > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > MinGW-dvlpr mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr |
From: Jerry v. D. <jv...@at...> - 2002-11-22 17:42:09
|
Danny Smith writes: > The attached diff is Thomas Pfaff's works updated to 3.3 > The already patched files from the gcc dir (unwind-dw2-fde.c, > unwind-sjlj.c, crtstuff.c) > are in the other attachment. Patch is Ok, but building (with --enable-sjlj-exceptions and unmodified runtime) fails: TM_DEFINES="" \ HEADERS="auto-host.h ansidecl.h i386/xm-mingw32.h i386/cygming.h i386/mingw32. h defaults.h" XM_DEFINES="POSIX" \ TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentium" \ /usr/mksnt/sh.exe ../../gcc/gcc/mkconfig.sh hconfig.h make.exe[2]: *** No rule to make target `../../gcc/gcc/config/i386/cygming.h', needed by `gengenrtl.o'. Stop. make.exe[2]: Leaving directory `C:/home/src/build/gcc' make.exe[1]: *** [stage1_build] Error 2 make.exe[1]: Leaving directory `C:/home/src/build/gcc' make: *** [bootstrap] Error 2 -- -- Jerry van Dijk | email: jv...@at... -- Leiden, Holland | web: users.ncrvnet.nl/gmvdijk |
From: Danny S. <dan...@cl...> - 2002-11-23 02:06:29
Attachments:
i386-files.tar.gz
|
----- Original Message ----- From: "Jerry van Dijk" <jv...@at...> To: <min...@li...> Sent: Friday, 22 November 2002 17:41 Subject: Re: [MinGW-dvlpr] new gcc 3.3 patch > > Danny Smith writes: > > > The attached diff is Thomas Pfaff's works updated to 3.3 > > The already patched files from the gcc dir (unwind-dw2-fde.c, > > unwind-sjlj.c, crtstuff.c) > > are in the other attachment. > > Patch is Ok, but building (with --enable-sjlj-exceptions and unmodified > runtime) fails: Here are the config/i386 files you seem to be missing. Danny. |
From: Jerry v. D. <jv...@at...> - 2002-11-23 21:32:55
Attachments:
adaint.diff
|
Danny Smith writes: > Here are the config/i386 files you seem to be missing. Ok, thats another step forwards. Next I had to make a slight changes to the current adaint.c, patch attached. However, then I fail in stage1 (!): stage1/xgcc.exe -Bstage1/ -B/gnatgcc/mingw32/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedanti c -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl.exe \ gengenrtl.o ../libiberty/libiberty.a gengenrtl.o(.text+0x228d): In function `main': C:/home/src/build/gcc/../../gcc/gcc/gengenrtl.c:363: undefined reference to `_i mp___imp___iob' gengenrtl.o(.text+0x22b4):C:/home/src/build/gcc/../../gcc/gcc/gengenrtl.c:367: undefined reference to `_imp___imp___iob' gengenrtl.o(.text+0x22cc):C:/home/src/build/gcc/../../gcc/gcc/gengenrtl.c:367: undefined reference to `_imp___imp___iob' make.exe[2]: *** [gengenrtl.exe] Error 1 make.exe[2]: Leaving directory `C:/home/src/build/gcc' make.exe[1]: *** [stage2_build] Error 2 make.exe[1]: Leaving directory `C:/home/src/build/gcc' make: *** [bootstrap] Error 2 |
From: Jerry v. D. <jv...@at...> - 2002-11-26 23:21:50
|
Danny Smith writes: > Here are the config/i386 files you seem to be missing. I am still stuck in the stage1 build. Using your patches and todays mingw from cvs: stage1/xgcc.exe -Bstage1/ -B/gnatgcc/mingw32/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedanti c -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl.exe \ gengenrtl.o ../libiberty/libiberty.a gengenrtl.o(.text+0x228d): In function `main': C:/home/src/build/gcc/../../gcc/gcc/gengenrtl.c:363: undefined reference to `_i mp___imp___iob' gengenrtl.o(.text+0x22b4):C:/home/src/build/gcc/../../gcc/gcc/gengenrtl.c:367: undefined reference to `_imp___imp___iob' gengenrtl.o(.text+0x22cc):C:/home/src/build/gcc/../../gcc/gcc/gengenrtl.c:367: undefined reference to `_imp___imp___iob' make.exe[2]: *** [gengenrtl.exe] Error 1 make.exe[2]: Leaving directory `C:/home/src/build/gcc' make.exe[1]: *** [stage2_build] Error 2 make.exe[1]: Leaving directory `C:/home/src/build/gcc' make: *** [bootstrap] Error 2 -- -- Jerry van Dijk | email: jv...@at... -- Leiden, Holland | web: users.ncrvnet.nl/gmvdijk |
From: Danny S. <dan...@cl...> - 2002-11-27 00:52:47
|
----- Original Message ----- From: "Jerry van Dijk" <jv...@at...> To: <min...@li...> Sent: Tuesday, 26 November 2002 23:20 Subject: Re: [MinGW-dvlpr] new gcc 3.3 patch > > Danny Smith writes: > > > Here are the config/i386 files you seem to be missing. > > I am still stuck in the stage1 build. Using your patches and todays mingw from > cvs: > > age1/xgcc.exe -Bstage1/ -B/gnatgcc/mingw32/bin/ -g -O2 -DIN_GCC -W - Wall > -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedanti > c -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -o gengenrtl.exe \ > gengenrtl.o ../libiberty/libiberty.a > gengenrtl.o(.text+0x228d): In function `main': > C:/home/src/build/gcc/../../gcc/gcc/gengenrtl.c:363: undefined reference to `_i > mp___imp___iob' What is bootstrap compiler? Is the __declspec() macro predefined by your stage 1 compiler Danny |
From: Danny S. <dan...@cl...> - 2002-12-07 09:58:41
|
Jerry, I think something is wrong with your headers. It seem that you are enabling the old (pre-__DECLSPEC_SUPPORTED) macro before declaring the dllimport using the declspec. This will reproduce : /* imp_imp.c */ /* The ! __DECLSPEC_SUPPORTED version */ /* extern FILE (*_imp___iob)[]; */ #define _iob (*_imp___iob) /* An array of FILE */ /* The __DECLSPEC_SUPPORTED version */ extern __attribute__((dllimport)) _iob[]; /* An array of FILE imported from DLL. */ struct FILE* test() {return _iob;} Have you put the #define _iob directive somewhere in a header that would be included by the gcc build? Danny |