public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/21757] New: darwin-ldouble.o not a valid ppc64 mach-o file
@ 2005-05-25 19:55 kminola at eng dot umd dot edu
  2005-05-25 20:04 ` [Bug target/21757] 64bit multilib for ppc-darwin pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kminola at eng dot umd dot edu @ 2005-05-25 19:55 UTC (permalink / raw)
  To: gcc-bugs

/*
darwin-ldouble.o not a valid ppc64 mach-o file
 
% uname -a
Darwin varro 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10 18:16:08 PDT 2005;
root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh powerpc
%
% gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.1.0
Configured with: /usr/local/gcc-4.0.0/src/gcc-4.0.0/configure
--enable-languages=c --prefix=/usr/local/gcc-4.0.0/powerpc-Darwin
Thread model: posix
gcc version 4.0.0
%
% gcc -o foo foo.c
%
% gcc -m64 -o foo foo.c
ld64 failed: in
/private/var/automount/usr/local/gcc-4.0.0/powerpc-Darwin/bin/../lib/gcc/powerpc-apple-darwin8.1.0/4.0.0/libgcc.a(darwin-ldouble.o),
not a valid ppc64 mach-o file
collect2: ld returned 1 exit status
%
% gcc-4.0-apple -v
Reading specs from /usr/lib/gcc/powerpc-apple-darwin8/4.0.0/specs
Configured with: /private/var/tmp/gcc/gcc-4061.obj~8/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 4061)
%
% gcc-4.0-apple -m64 -o foo foo.c
%
*/
 
int
main ()
{
  long double div9, div10;
 
#define TWO_64 18446744073709551616.0
#define TWO_128 (TWO_64 * TWO_64)
#define TWO_256 (TWO_128 * TWO_128)
   div9 = (long double) (double) (TWO_256 * TWO_256);
   div10 = div9 * div9;
 
  return 0;
}

-- 
           Summary: darwin-ldouble.o not a valid ppc64 mach-o file
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kminola at eng dot umd dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin8.1.0
  GCC host triplet: powerpc-apple-darwin8.1.0
GCC target triplet: powerpc-apple-darwin8.1.0


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


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

* [Bug target/21757] 64bit multilib for ppc-darwin
  2005-05-25 19:55 [Bug c/21757] New: darwin-ldouble.o not a valid ppc64 mach-o file kminola at eng dot umd dot edu
@ 2005-05-25 20:04 ` pinskia at gcc dot gnu dot org
  2005-06-15 18:23 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-25 20:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-25 19:55 -------
64bit multilib is not supported yet so this is not excepted to work yet.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
          Component|c                           |target
     Ever Confirmed|                            |1
  GCC build triplet|powerpc-apple-darwin8.1.0   |
   GCC host triplet|powerpc-apple-darwin8.1.0   |
 GCC target triplet|powerpc-apple-darwin8.1.0   |powerpc-apple-darwin8
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-25 19:55:39
               date|                            |
            Summary|darwin-ldouble.o not a valid|64bit multilib for ppc-
                   |ppc64 mach-o file           |darwin


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


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

* [Bug target/21757] 64bit multilib for ppc-darwin
  2005-05-25 19:55 [Bug c/21757] New: darwin-ldouble.o not a valid ppc64 mach-o file kminola at eng dot umd dot edu
  2005-05-25 20:04 ` [Bug target/21757] 64bit multilib for ppc-darwin pinskia at gcc dot gnu dot org
@ 2005-06-15 18:23 ` pinskia at gcc dot gnu dot org
  2005-06-15 19:27 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-15 18:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-15 18:23 -------
*** Bug 22082 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucier at math dot purdue
                   |                            |dot edu


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


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

* [Bug target/21757] 64bit multilib for ppc-darwin
  2005-05-25 19:55 [Bug c/21757] New: darwin-ldouble.o not a valid ppc64 mach-o file kminola at eng dot umd dot edu
  2005-05-25 20:04 ` [Bug target/21757] 64bit multilib for ppc-darwin pinskia at gcc dot gnu dot org
  2005-06-15 18:23 ` pinskia at gcc dot gnu dot org
@ 2005-06-15 19:27 ` pinskia at gcc dot gnu dot org
  2005-06-16  1:58 ` pinskia at gcc dot gnu dot org
  2005-06-28  1:08 ` lucier at math dot purdue dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-15 19:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-15 19:27 -------
*** Bug 22082 has been marked as a duplicate of this bug. ***

-- 


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


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

* [Bug target/21757] 64bit multilib for ppc-darwin
  2005-05-25 19:55 [Bug c/21757] New: darwin-ldouble.o not a valid ppc64 mach-o file kminola at eng dot umd dot edu
                   ` (2 preceding siblings ...)
  2005-06-15 19:27 ` pinskia at gcc dot gnu dot org
@ 2005-06-16  1:58 ` pinskia at gcc dot gnu dot org
  2005-06-28  1:08 ` lucier at math dot purdue dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-16  1:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-16 01:58 -------
*** Bug 22082 has been marked as a duplicate of this bug. ***

-- 


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


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

* [Bug target/21757] 64bit multilib for ppc-darwin
  2005-05-25 19:55 [Bug c/21757] New: darwin-ldouble.o not a valid ppc64 mach-o file kminola at eng dot umd dot edu
                   ` (3 preceding siblings ...)
  2005-06-16  1:58 ` pinskia at gcc dot gnu dot org
@ 2005-06-28  1:08 ` lucier at math dot purdue dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: lucier at math dot purdue dot edu @ 2005-06-28  1:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From lucier at math dot purdue dot edu  2005-06-28 01:08 -------
I'd like to point out that as documented extensively in bug report 22082, 64-bit
compilation *does* work on powerpc-darwin-8 with gcc-4.0.0, and it doesn't now
work on the mainline or the 4.0 branch.  Mike Stump proposed a fix in

http://gcc.gnu.org/ml/gcc/2005-06/msg00615.html

but then mainline couldn't find the installed libgcc_s_ppc64, as documented in

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

So while there's no discussion in *this* PR of *any* of these issues, if you
follow these links you'll find useful information

-- 


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


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

end of thread, other threads:[~2005-06-28  1:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-25 19:55 [Bug c/21757] New: darwin-ldouble.o not a valid ppc64 mach-o file kminola at eng dot umd dot edu
2005-05-25 20:04 ` [Bug target/21757] 64bit multilib for ppc-darwin pinskia at gcc dot gnu dot org
2005-06-15 18:23 ` pinskia at gcc dot gnu dot org
2005-06-15 19:27 ` pinskia at gcc dot gnu dot org
2005-06-16  1:58 ` pinskia at gcc dot gnu dot org
2005-06-28  1:08 ` lucier at math dot purdue dot edu

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