public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19630] New: Program hangs when compiling the testcase with -m64 option.
@ 2005-01-25 21:07 yanliu at ca dot ibm dot com
  2005-01-25 21:08 ` [Bug c++/19630] " yanliu at ca dot ibm dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: yanliu at ca dot ibm dot com @ 2005-01-25 21:07 UTC (permalink / raw)
  To: gcc-bugs

The GCC compiler that I am using has the following information:
Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs
Configured with: /private/var/tmp/gcc/gcc-4031.obj~3/src/configure --disable-
checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-
c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-
dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-
apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4031)

Compiled the testcase with -m64 option, the program hangs forever. Without the -
m64 option, the problem goes away and gives the correct return code: 10.

-- 
           Summary: Program hangs when compiling the testcase with -m64
                    option.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yanliu at ca dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/19630] Program hangs when compiling the testcase with -m64 option.
  2005-01-25 21:07 [Bug c++/19630] New: Program hangs when compiling the testcase with -m64 option yanliu at ca dot ibm dot com
@ 2005-01-25 21:08 ` yanliu at ca dot ibm dot com
  2005-01-25 21:15 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: yanliu at ca dot ibm dot com @ 2005-01-25 21:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From yanliu at ca dot ibm dot com  2005-01-25 21:08 -------
Created an attachment (id=8068)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8068&action=view)
testcase

Command to reproduce the problem:
g++ -m64 test.cpp
a.out

-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/19630] Program hangs when compiling the testcase with -m64 option.
  2005-01-25 21:07 [Bug c++/19630] New: Program hangs when compiling the testcase with -m64 option yanliu at ca dot ibm dot com
  2005-01-25 21:08 ` [Bug c++/19630] " yanliu at ca dot ibm dot com
@ 2005-01-25 21:15 ` pinskia at gcc dot gnu dot org
  2005-01-25 22:47 ` shebs at apple dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-25 21:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-25 21:15 -------
(In reply to comment #0)
> The GCC compiler that I am using has the following information:
Can you report this to Apple since that is looks like either a dyld problem or a linker problem because 
the assembly produced by -m32 and -m64 were about the same in that the only changes were needed 
for 64bit?

Also there is no way outside of Apple right now to reproduce this unless you have a tiger machine on a 
G5.

Stan could you look into this?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shebs at apple dot com


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/19630] Program hangs when compiling the testcase with -m64 option.
  2005-01-25 21:07 [Bug c++/19630] New: Program hangs when compiling the testcase with -m64 option yanliu at ca dot ibm dot com
  2005-01-25 21:08 ` [Bug c++/19630] " yanliu at ca dot ibm dot com
  2005-01-25 21:15 ` pinskia at gcc dot gnu dot org
@ 2005-01-25 22:47 ` shebs at apple dot com
  2005-01-25 23:10 ` shebs at apple dot com
  2005-04-27  0:42 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: shebs at apple dot com @ 2005-01-25 22:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From shebs at apple dot com  2005-01-25 22:47 -------
Subject: Re:  Program hangs when compiling the testcase with
 -m64 option.

pinskia at gcc dot gnu dot org wrote:

>------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-25 21:15 -------
>(In reply to comment #0)
>  
>
>>The GCC compiler that I am using has the following information:
>>    
>>
>Can you report this to Apple since that is looks like either a dyld problem or a linker problem because 
>the assembly produced by -m32 and -m64 were about the same in that the only changes were needed 
>for 64bit?
>
>Also there is no way outside of Apple right now to reproduce this unless you have a tiger machine on a 
>G5.
>
>Stan could you look into this?
>
>  
>
OK.

Stan



-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/19630] Program hangs when compiling the testcase with -m64 option.
  2005-01-25 21:07 [Bug c++/19630] New: Program hangs when compiling the testcase with -m64 option yanliu at ca dot ibm dot com
                   ` (2 preceding siblings ...)
  2005-01-25 22:47 ` shebs at apple dot com
@ 2005-01-25 23:10 ` shebs at apple dot com
  2005-04-27  0:42 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: shebs at apple dot com @ 2005-01-25 23:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From shebs at apple dot com  2005-01-25 23:10 -------
(In reply to comment #0)
> The GCC compiler that I am using has the following information:
> Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs
> Configured with: /private/var/tmp/gcc/gcc-4031.obj~3/src/configure --disable-
> checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-
> c++ --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/ --with-gxx-include-
> dir=/include/gcc/darwin/4.0/c++ --build=powerpc-apple-darwin8 --host=powerpc-
> apple-darwin8 --target=powerpc-apple-darwin8
> Thread model: posix
> gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4031)
> 
> Compiled the testcase with -m64 option, the program hangs forever. Without the -
> m64 option, the problem goes away and gives the correct return code: 10.

Seems to work in latest Tiger.
 


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/19630] Program hangs when compiling the testcase with -m64 option.
  2005-01-25 21:07 [Bug c++/19630] New: Program hangs when compiling the testcase with -m64 option yanliu at ca dot ibm dot com
                   ` (3 preceding siblings ...)
  2005-01-25 23:10 ` shebs at apple dot com
@ 2005-04-27  0:42 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-27  0:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-27 00:42 -------
Closing as works for me.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-27  0:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-25 21:07 [Bug c++/19630] New: Program hangs when compiling the testcase with -m64 option yanliu at ca dot ibm dot com
2005-01-25 21:08 ` [Bug c++/19630] " yanliu at ca dot ibm dot com
2005-01-25 21:15 ` pinskia at gcc dot gnu dot org
2005-01-25 22:47 ` shebs at apple dot com
2005-01-25 23:10 ` shebs at apple dot com
2005-04-27  0:42 ` pinskia at gcc dot gnu dot org

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).