[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-notify
Subject:    MinGW-notify digest, Vol 1 #706 - 8 msgs
From:       mingw-notify-request () lists ! sourceforge ! net
Date:       2004-01-10 4:03:40
Message-ID: E1AfANO-0004Yc-HB () sc8-sf-list1 ! sourceforge ! net
[Download RAW message or body]

Send MinGW-notify mailing list submissions to
	mingw-notify@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
	mingw-notify-request@lists.sourceforge.net

You can reach the person managing the list at
	mingw-notify-admin@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-notify digest..."


This list is used to send updates of submitted patches, bug reports and file \
releases.  You are discouraged from posting to this list.  If you wish to unsubscribe \
you can do so at https://lists.sourceforge.net/lists/listinfo/mingw-notify.

Today's Topics:

   1. [ mingw-Bugs-873691 ] g77 (gcc 3.3.1) emit_swap_insn internal compiler error \
(SourceForge.net)  2. [ mingw-Bugs-873691 ] g77 (gcc 3.3.1) emit_swap_insn internal \
compiler error (SourceForge.net)  3. [ mingw-Bugs-873699 ] missing Sddl.h header file \
(SourceForge.net)  4. [ mingw-Patches-873713 ] w32api: Add support for \
StgCreateStorageEx, StgOpenStorageEx (SourceForge.net)  5. [ mingw-Bugs-873717 ] \
--enable-runtime-pseudo-reloc broken (SourceForge.net)  6. [ mingw-Bugs-871532 ] GCC \
fail to compile an empty arglist constructor (SourceForge.net)  7. [ \
mingw-Bugs-873691 ] g77 (gcc 3.3.1) emit_swap_insn internal compiler error \
(SourceForge.net)  8. [ mingw-Bugs-873717 ] --enable-runtime-pseudo-reloc broken \
(SourceForge.net)

--__--__--

Message: 1
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Fri, 09 Jan 2004 03:05:00 -0800
Subject: [Mingw-notify] [ mingw-Bugs-873691 ] g77 (gcc 3.3.1) emit_swap_insn internal \
compiler error

Bugs item #873691, was opened at 2004-01-09 13:05
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=873691&group_id=2435

Category: MinGW
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brett Olivier (bgoli)
Assigned to: Earnie Boyd (earnie)
Summary: g77 (gcc 3.3.1) emit_swap_insn internal compiler error

Initial Comment:
A specific combination (-O3 -funroll-loops -
march=pentium3) of compiler flags causes g77 to fail 
with an internal compiler error with the attached routines

Compile command:
g77 -Wall -fno-second-underscore -O3 -funroll-loops -
march=pentium3 -malign-double -fomit-frame-pointer -c 
specfun_error_func.f -o specfun_error_func.o

Output:
specfun_error_func.f: In subroutine `rmn2l':
specfun_error_func.f:32: warning: `sw' might be used 
uninitialized in this funct
ion
specfun_error_func.f:38: warning: `lg' might be used 
uninitialized in this funct
ion
specfun_error_func.f:45: warning: `np' might be used 
uninitialized in this funct
ion
specfun_error_func.f:47: warning: `eps1' might be used 
uninitialized in this fun
ction
specfun_error_func.f:69: warning: `eps2' might be used 
uninitialized in this fun
ction
specfun_error_func.f:75: internal compiler error: in 
emit_swap_insn, at reg-stac
k.c:987
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for 
instructions.

After playing around a bit I found the following two 
workarounds that allow me to compile these two 
functions.

Current workaround (1)
remove flag: -O3
=================

Compile command:
g77 -Wall -fno-second-underscore -funroll-loops -
march=pentium3 
-malign-double -fomit-frame-pointer -c 
specfun_error_func.f -o specfun_error_func.o

Output:
compiles OK

Current workaround (2)
remove flags: -funroll-loops -march=pentium3
=================

Compile command:
g77 -Wall -fno-second-underscore -O3 -malign-double -
fomit-frame-pointer -c specfun_error_func.f -o 
specfun_error_func.o

Output:
compiles OK

Environment
=========

OS
==
Windows 2000 SP 5

gcc -v
======
Reading specs from c:/mingw/bin/../lib/gcc-
lib/mingw32/3.3.1/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,objc,ada,java --disable-win32-
registry --disable-shared --e
nable-sjlj-exceptions --enable-libgcj --disable-java-awt -
-without-x --enable-ja
va-gc=boehm --disable-libgcj-debug --enable-
interpreter --enable-hash-synchroniz
ation
Thread model: win32
gcc version 3.3.1 (mingw special 20030804-1) 

ld -v
====
GNU ld version 2.13.90 20030111

MinGW installer + updates
===================
MinGW-3.1.0-1.exe
binutils-2.13.90-20030111-1.tar.gz
gcc-core-3.3.1-20030804-1.tar.gz 
gcc-g++-3.3.1-20030804-1.tar.gz 
gcc-g77-3.3.1-20030804-1.tar.gz 
mingw-runtime-3.2.tar.gz 
w32api-2.4.tar.gz 



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=873691&group_id=2435


--__--__--

Message: 2
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Fri, 09 Jan 2004 04:04:56 -0800
Subject: [Mingw-notify] [ mingw-Bugs-873691 ] g77 (gcc 3.3.1) emit_swap_insn internal \
compiler error

Bugs item #873691, was opened at 2004-01-09 06:05
Message generated for change (Settings changed) made by earnie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=873691&group_id=2435

> Category: gcc
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Brett Olivier (bgoli)
> Assigned to: Danny Smith (dannysmith)
Summary: g77 (gcc 3.3.1) emit_swap_insn internal compiler error

Initial Comment:
A specific combination (-O3 -funroll-loops -
march=pentium3) of compiler flags causes g77 to fail 
with an internal compiler error with the attached routines

Compile command:
g77 -Wall -fno-second-underscore -O3 -funroll-loops -
march=pentium3 -malign-double -fomit-frame-pointer -c 
specfun_error_func.f -o specfun_error_func.o

Output:
specfun_error_func.f: In subroutine `rmn2l':
specfun_error_func.f:32: warning: `sw' might be used 
uninitialized in this funct
ion
specfun_error_func.f:38: warning: `lg' might be used 
uninitialized in this funct
ion
specfun_error_func.f:45: warning: `np' might be used 
uninitialized in this funct
ion
specfun_error_func.f:47: warning: `eps1' might be used 
uninitialized in this fun
ction
specfun_error_func.f:69: warning: `eps2' might be used 
uninitialized in this fun
ction
specfun_error_func.f:75: internal compiler error: in 
emit_swap_insn, at reg-stac
k.c:987
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for 
instructions.

After playing around a bit I found the following two 
workarounds that allow me to compile these two 
functions.

Current workaround (1)
remove flag: -O3
=================

Compile command:
g77 -Wall -fno-second-underscore -funroll-loops -
march=pentium3 
-malign-double -fomit-frame-pointer -c 
specfun_error_func.f -o specfun_error_func.o

Output:
compiles OK

Current workaround (2)
remove flags: -funroll-loops -march=pentium3
=================

Compile command:
g77 -Wall -fno-second-underscore -O3 -malign-double -
fomit-frame-pointer -c specfun_error_func.f -o 
specfun_error_func.o

Output:
compiles OK

Environment
=========

OS
==
Windows 2000 SP 5

gcc -v
======
Reading specs from c:/mingw/bin/../lib/gcc-
lib/mingw32/3.3.1/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,objc,ada,java --disable-win32-
registry --disable-shared --e
nable-sjlj-exceptions --enable-libgcj --disable-java-awt -
-without-x --enable-ja
va-gc=boehm --disable-libgcj-debug --enable-
interpreter --enable-hash-synchroniz
ation
Thread model: win32
gcc version 3.3.1 (mingw special 20030804-1) 

ld -v
====
GNU ld version 2.13.90 20030111

MinGW installer + updates
===================
MinGW-3.1.0-1.exe
binutils-2.13.90-20030111-1.tar.gz
gcc-core-3.3.1-20030804-1.tar.gz 
gcc-g++-3.3.1-20030804-1.tar.gz 
gcc-g77-3.3.1-20030804-1.tar.gz 
mingw-runtime-3.2.tar.gz 
w32api-2.4.tar.gz 



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=873691&group_id=2435


--__--__--

Message: 3
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Fri, 09 Jan 2004 04:13:34 -0800
Subject: [Mingw-notify] [ mingw-Bugs-873699 ] missing Sddl.h header file

Bugs item #873699, was opened at 2004-01-09 21:13
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=873699&group_id=2435

Category: w32api
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: kobun fujimori (kobun)
Assigned to: Nobody/Anonymous (nobody)
Summary: missing Sddl.h header file

Initial Comment:
Security Descriptor Definition Language support and
conversion routines header file (Sddl.h) is not available.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=873699&group_id=2435


--__--__--

Message: 4
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Fri, 09 Jan 2004 04:48:08 -0800
Subject: [Mingw-notify] [ mingw-Patches-873713 ] w32api: Add support for \
StgCreateStorageEx, StgOpenStorageEx

Patches item #873713, was opened at 2004-01-09 12:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=302435&aid=873713&group_id=2435

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Stuart Cunningham (stuart_hc)
Assigned to: Nobody/Anonymous (nobody)
Summary: w32api: Add support for StgCreateStorageEx, StgOpenStorageEx

Initial Comment:
include/objbase.h and lib/ole32.def - Add prototypes
for StgCreateStorageEx, StgOpenStorageEx along with
necessary typedefs and defines.  These routines are not
used in the wild much it seems, but the AAF SDK (on
sourceforge) is now using them.

All information derived from msdn.microsoft.com.

Note that runtime support for StgCreateStorageEx,
StgOpenStorageEx is available only on Win2k and above
(not Win98/ME).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=302435&aid=873713&group_id=2435


--__--__--

Message: 5
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Fri, 09 Jan 2004 04:57:44 -0800
Subject: [Mingw-notify] [ mingw-Bugs-873717 ] --enable-runtime-pseudo-reloc broken

Bugs item #873717, was opened at 2004-01-09 13:57
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=873717&group_id=2435

Category: ld
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Timo Hartmann (thartmann)
Assigned to: Danny Smith (dannysmith)
Summary: --enable-runtime-pseudo-reloc broken

Initial Comment:
--enable-runtime-pseudo-reloc does not work correctly
if one links directly against a dll in certain cases,
but if one links against a input-library, it works.

the problematic case is:
  -one build a dll with c++-classes
  -one uses virtual methods
  -one uses a static object of one of these classes

  see test-dll.tgz and readme.txt therin for more details

source of problem:
  the vtable of these classes are not linked properly
if one links  
  direct against a dll.

my version:
  gcc 3.3.1 (mingw special 20030804-1)
  ld   2.13.90 20030111
  mingw-runtime-3.2.tar.gz



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=873717&group_id=2435


--__--__--

Message: 6
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Fri, 09 Jan 2004 12:50:43 -0800
Subject: [Mingw-notify] [ mingw-Bugs-871532 ] GCC fail to compile an empty arglist \
constructor

Bugs item #871532, was opened at 2004-01-06 22:31
Message generated for change (Comment added) made by dannysmith
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=871532&group_id=2435

Category: gcc
Group: None
> Status: Pending
> Resolution: Later
Priority: 5
Submitted By: Sergiy Yakovyn (ysv_)
Assigned to: Danny Smith (dannysmith)
Summary: GCC fail to compile an empty arglist constructor

Initial Comment:
GCC fail to compile next code:
===========================
class A
{
  public:
    A(int a=1) {}
};

main()
{
  A aOk=A();     // OK
  A aBad=(A());  // Compiler error - IMHO bug
}
===========================
GCC version:
gcc.EXE (GCC) 3.2.3 (mingw special 20030504-1)


----------------------------------------------------------------------

> Comment By: Danny Smith (dannysmith)
Date: 2004-01-10 09:50

Message:
Logged In: YES 
user_id=11494

This is a g++ parser bug that is fixed in gcc 3.4 sources but 
not 3.3 branch.  I doubt that it will be fixed in 3.3 branch 
unless someone submits a patch.  It is not easy to backport 
the 3.4 fix  due to the major changes in the cp parser in 3.4.

Danny

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=871532&group_id=2435


--__--__--

Message: 7
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Fri, 09 Jan 2004 12:45:38 -0800
Subject: [Mingw-notify] [ mingw-Bugs-873691 ] g77 (gcc 3.3.1) emit_swap_insn internal \
compiler error

Bugs item #873691, was opened at 2004-01-10 00:05
Message generated for change (Comment added) made by dannysmith
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=873691&group_id=2435

Category: gcc
Group: None
> Status: Closed
> Resolution: Fixed
Priority: 5
Submitted By: Brett Olivier (bgoli)
Assigned to: Danny Smith (dannysmith)
Summary: g77 (gcc 3.3.1) emit_swap_insn internal compiler error

Initial Comment:
A specific combination (-O3 -funroll-loops -
march=pentium3) of compiler flags causes g77 to fail 
with an internal compiler error with the attached routines

Compile command:
g77 -Wall -fno-second-underscore -O3 -funroll-loops -
march=pentium3 -malign-double -fomit-frame-pointer -c 
specfun_error_func.f -o specfun_error_func.o

Output:
specfun_error_func.f: In subroutine `rmn2l':
specfun_error_func.f:32: warning: `sw' might be used 
uninitialized in this funct
ion
specfun_error_func.f:38: warning: `lg' might be used 
uninitialized in this funct
ion
specfun_error_func.f:45: warning: `np' might be used 
uninitialized in this funct
ion
specfun_error_func.f:47: warning: `eps1' might be used 
uninitialized in this fun
ction
specfun_error_func.f:69: warning: `eps2' might be used 
uninitialized in this fun
ction
specfun_error_func.f:75: internal compiler error: in 
emit_swap_insn, at reg-stac
k.c:987
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for 
instructions.

After playing around a bit I found the following two 
workarounds that allow me to compile these two 
functions.

Current workaround (1)
remove flag: -O3
=================

Compile command:
g77 -Wall -fno-second-underscore -funroll-loops -
march=pentium3 
-malign-double -fomit-frame-pointer -c 
specfun_error_func.f -o specfun_error_func.o

Output:
compiles OK

Current workaround (2)
remove flags: -funroll-loops -march=pentium3
=================

Compile command:
g77 -Wall -fno-second-underscore -O3 -malign-double -
fomit-frame-pointer -c specfun_error_func.f -o 
specfun_error_func.o

Output:
compiles OK

Environment
=========

OS
==
Windows 2000 SP 5

gcc -v
======
Reading specs from c:/mingw/bin/../lib/gcc-
lib/mingw32/3.3.1/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,objc,ada,java --disable-win32-
registry --disable-shared --e
nable-sjlj-exceptions --enable-libgcj --disable-java-awt -
-without-x --enable-ja
va-gc=boehm --disable-libgcj-debug --enable-
interpreter --enable-hash-synchroniz
ation
Thread model: win32
gcc version 3.3.1 (mingw special 20030804-1) 

ld -v
====
GNU ld version 2.13.90 20030111

MinGW installer + updates
===================
MinGW-3.1.0-1.exe
binutils-2.13.90-20030111-1.tar.gz
gcc-core-3.3.1-20030804-1.tar.gz 
gcc-g++-3.3.1-20030804-1.tar.gz 
gcc-g77-3.3.1-20030804-1.tar.gz 
mingw-runtime-3.2.tar.gz 
w32api-2.4.tar.gz 



----------------------------------------------------------------------

> Comment By: Danny Smith (dannysmith)
Date: 2004-01-10 09:45

Message:
Logged In: YES 
user_id=11494

This is a gcc bug that is fixed in gcc 3.3.3 and trunck sources.
Danny

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=873691&group_id=2435


--__--__--

Message: 8
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Fri, 09 Jan 2004 12:42:59 -0800
Subject: [Mingw-notify] [ mingw-Bugs-873717 ] --enable-runtime-pseudo-reloc broken

Bugs item #873717, was opened at 2004-01-10 01:57
Message generated for change (Comment added) made by dannysmith
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=873717&group_id=2435

Category: ld
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Timo Hartmann (thartmann)
Assigned to: Danny Smith (dannysmith)
Summary: --enable-runtime-pseudo-reloc broken

Initial Comment:
--enable-runtime-pseudo-reloc does not work correctly
if one links directly against a dll in certain cases,
but if one links against a input-library, it works.

the problematic case is:
  -one build a dll with c++-classes
  -one uses virtual methods
  -one uses a static object of one of these classes

  see test-dll.tgz and readme.txt therin for more details

source of problem:
  the vtable of these classes are not linked properly
if one links  
  direct against a dll.

my version:
  gcc 3.3.1 (mingw special 20030804-1)
  ld   2.13.90 20030111
  mingw-runtime-3.2.tar.gz



----------------------------------------------------------------------

> Comment By: Danny Smith (dannysmith)
Date: 2004-01-10 09:42

Message:
Logged In: YES 
user_id=11494

Thanks for the useful testcase.

The bug is fixed in gcc and binutils sources by changes in the 
handling of readonly data.  With GCC-3.3.3  (patched with 
backports of the trunk changes)

g++-3.3.3 -I./ -Wall -g -c test.cpp -o test.o
g++-3.3.3 -I./ -Wall -g -c test-dll.cpp -o test-dll.o
g++-3.3.3 -shared -o test-dll.dll test-dll.o -Wl,--out-
implib,libtest-a.a
g++-3.3.3 -o a-dll.exe test.o -ltest-dll -L./ -Wl,--enable-
runtime-pseudo-reloc
Info: resolving __ZN4test2b2E by linking to 
__imp___ZN4test2b2E (auto-import)
Info: resolving __ZTV2B2 by linking to __imp___ZTV2B2 (auto-
import)
g++-3.3.3 -o a-a.exe test.o -ltest-a -L./ -Wl,--enable-
runtime-pseudo-reloc
Info: resolving __ZN4test2b2E by linking to 
__imp___ZN4test2b2E (auto-import)
Info: resolving __ZTV2B2 by linking to __imp___ZTV2B2 (auto-
import)

and both  exes seem to run fine

Danny

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=873717&group_id=2435



--__--__--

_______________________________________________
MinGW-notify mailing list
MinGW-notify@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-notify


End of MinGW-notify Digest


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic