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; 7+ 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] 7+ messages in thread
[parent not found: <bug-21757-6067@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2005-10-03  2:51 UTC | newest]

Thread overview: 7+ 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
     [not found] <bug-21757-6067@http.gcc.gnu.org/bugzilla/>
2005-10-03  2:51 ` 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).