public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/5241: Fstream error using the -malign-double compiler flag
@ 2002-01-02 1:06 xomy
0 siblings, 0 replies; 7+ messages in thread
From: xomy @ 2002-01-02 1:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 5241
>Category: c++
>Synopsis: Fstream error using the -malign-double compiler flag
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 02 01:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Oddvard Myrnes
>Release: 2.93.5-52 (also occurs on 3.0)
>Organization:
>Environment:
Linux 2.4.4-4GB i686. Intel CPU. Suse version 7.2 distribution.
>Description:
When the I try to write to a fstream it crashes with a SEGMENTATION violation error when the -malign-double flag is used. Runs fine without. The compiler flags.
g++ -Wno-non-template-friend -W -ansi -mpentiumpro -malign-double -mpreferred-stack-boundary=8 -g -save-temps
>How-To-Repeat:
Just compile and run it without any parameters.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/5241: Fstream error using the -malign-double compiler flag
@ 2002-01-02 20:13 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2002-01-02 20:13 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, xomy
Synopsis: Fstream error using the -malign-double compiler flag
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Wed Jan 2 20:13:42 2002
State-Changed-Why:
I reduced your testcase to Test.cpp, which I have attached
to this PR. I tried compiling it gcc 3.0.3 with the following:
g++ -Wl,-rpath,/usr/local/lib -Wno-non-template-friend -W -ansi -march=pentiumpro -malign-double -mpreferred-stack-boundary=8 -g Test.cpp
and did not have any problems.
If the version of gcc that comes with SUSE is buggy, you
should contact SUSE.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5241
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/5241: Fstream error using the -malign-double compiler flag
@ 2002-01-04 10:15 rodrigc
0 siblings, 0 replies; 7+ messages in thread
From: rodrigc @ 2002-01-04 10:15 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, xomy
Synopsis: Fstream error using the -malign-double compiler flag
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Jan 4 10:15:37 2002
State-Changed-Why:
Can't reproduce problem with the FSF version of gcc 2.95.3
or gcc 3.0.3.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5241
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/5241: Fstream error using the -malign-double compiler flag
@ 2002-01-04 10:16 Craig Rodrigues
0 siblings, 0 replies; 7+ messages in thread
From: Craig Rodrigues @ 2002-01-04 10:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/5241; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc@mediaone.net>
To: gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/5241: Fstream error using the -malign-double compiler flag
Date: Fri, 4 Jan 2002 13:13:54 -0500
Delivered-To: rodrigc@gcc.gnu.org
Subject: Re: c++/5241: Fstream error using the -malign-double compiler flag
To: rodrigc@gcc.gnu.org
X-Mailer: Lotus Notes Release 5.0.1 (Intl) 16 July 1999
From: Oddvar.Myrnes@stoltoffshore.no
Date: Fri, 4 Jan 2002 09:15:09 +0100
X-MIMETrack: Serialize by Router on SCS-SVG-G01/SRV/SCS(Release 5.0.5 |September 22, 2000) at
01/04/2002 09:15:05 AM
Hi
Many Thanks for your swift answer. May I ask if it is possible for you to
test this with the 2.95.3 release also? I am not sure that my 3.0 version
is correctly compiled and installed onto my system, which have 2.95.3 on
it. If it does not fail, I have to investigate my system all over again
before contacting Suse.
Regards
Oddvard
PS. Happy new year :-)
rodrigc@gcc.g
nu.org To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org,
xomy@stoltoffshore.no
03.01.2002 cc:
05:13 Subject: Re: c++/5241: Fstream error using the -malign-double
Please compiler flag
respond to
rodrigc;
Please
respond to
gcc-bugs;
Please
respond to
gcc-prs;
Please
respond to
nobody;
Please
respond to
xomy; Please
respond to
gcc-gnats
Synopsis: Fstream error using the -malign-double compiler flag
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Wed Jan 2 20:13:42 2002
State-Changed-Why:
I reduced your testcase to Test.cpp, which I have attached
to this PR. I tried compiling it gcc 3.0.3 with the following:
g++ -Wl,-rpath,/usr/local/lib -Wno-non-template-friend -W -ansi
-march=pentiumpro -malign-double -mpreferred-stack-boundary=8 -g Test.cpp
and did not have any problems.
If the version of gcc that comes with SUSE is buggy, you
should contact SUSE.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5241
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/5241: Fstream error using the -malign-double compiler flag
@ 2002-01-06 23:36 Oddvar.Myrnes
0 siblings, 0 replies; 7+ messages in thread
From: Oddvar.Myrnes @ 2002-01-06 23:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/5241; it has been noted by GNATS.
From: Oddvar.Myrnes@stoltoffshore.no
To: rodrigc@gcc.gnu.org,
gcc-bugs@gcc.gnu.org,
gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org,
xomy@stoltoffshore.no,
gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/5241: Fstream error using the -malign-double compiler flag
Date: Mon, 7 Jan 2002 08:29:15 +0100
Many Thanks. :-)
Regards
Oddvard
rodrigc@gcc.g
nu.org To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org,
xomy@stoltoffshore.no
04.01.2002 cc:
19:15 Subject: Re: c++/5241: Fstream error using the -malign-double
Please compiler flag
respond to
rodrigc;
Please
respond to
gcc-bugs;
Please
respond to
gcc-prs;
Please
respond to
nobody;
Please
respond to
xomy; Please
respond to
gcc-gnats
Synopsis: Fstream error using the -malign-double compiler flag
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Fri Jan 4 10:15:37 2002
State-Changed-Why:
Can't reproduce problem with the FSF version of gcc 2.95.3
or gcc 3.0.3.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5241
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/5241: Fstream error using the -malign-double compiler flag
@ 2002-01-23 2:16 Oddvar.Myrnes
0 siblings, 0 replies; 7+ messages in thread
From: Oddvar.Myrnes @ 2002-01-23 2:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/5241; it has been noted by GNATS.
From: Oddvar.Myrnes@stoltoffshore.no
To: rodrigc@gcc.gnu.org,
gcc-bugs@gcc.gnu.org,
gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org,
xomy@stoltoffshore.no,
gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/5241: Fstream error using the -malign-double compiler flag
Date: Wed, 23 Jan 2002 11:05:50 +0100
Hi Again
Can you tell me which version of glibc you are using? The version I use is
2.2.2-38.
Kind regards
Oddvard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: c++/5241: Fstream error using the -malign-double compiler flag
@ 2002-01-23 6:26 Craig Rodrigues
0 siblings, 0 replies; 7+ messages in thread
From: Craig Rodrigues @ 2002-01-23 6:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/5241; it has been noted by GNATS.
From: Craig Rodrigues <rodrigc@mediaone.net>
To: Oddvar.Myrnes@stoltoffshore.no
Cc: rodrigc@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, xomy@stoltoffshore.no, gcc-gnats@gcc.gnu.org
Subject: Re: c++/5241: Fstream error using the -malign-double compiler flag
Date: Wed, 23 Jan 2002 09:18:12 -0500
On Wed, Jan 23, 2002 at 11:05:50AM +0100, Oddvar.Myrnes@stoltoffshore.no wrote:
>
> Hi Again
>
> Can you tell me which version of glibc you are using? The version I use is
> 2.2.2-38.
I don't know if it makes a difference, but I am using:
glibc-2.2.4-5
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-01-23 14:26 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-02 1:06 c++/5241: Fstream error using the -malign-double compiler flag xomy
2002-01-02 20:13 rodrigc
2002-01-04 10:15 rodrigc
2002-01-04 10:16 Craig Rodrigues
2002-01-06 23:36 Oddvar.Myrnes
2002-01-23 2:16 Oddvar.Myrnes
2002-01-23 6:26 Craig Rodrigues
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).