public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* RE: [Bug bootstrap/28994] New: 64-bit problem in host-darwin.c
@ 2006-09-09  2:22 Jack Howarth
  0 siblings, 0 replies; 2+ messages in thread
From: Jack Howarth @ 2006-09-09  2:22 UTC (permalink / raw)
  To: gcc-bugs

Bradley,
    I would think it would only make sense to try to build 64-bit only using
the --enable-multilib=no and then some incantation of the configure for
a ppc64 target of darwin (which doesn't exist). This really doesn't make
sense to do since, unlike x86_64, Darwin's default libs on both ppc and intel
are 32-bit. Likewise, your probably going to find that on x86_64 linux, gcc
doesn't support building 32-bit without 64-bit support. At least no seemed
to be able to suggest a mechanism to do that in this thread...

http://gcc.gnu.org/ml/gcc-help/2006-05/msg00106.html

                   Jack


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

* [Bug bootstrap/28994]  New: 64-bit problem in host-darwin.c
@ 2006-09-09  0:33 lucier at math dot purdue dot edu
  0 siblings, 0 replies; 2+ messages in thread
From: lucier at math dot purdue dot edu @ 2006-09-09  0:33 UTC (permalink / raw)
  To: gcc-bugs

When configuring and bootstrapping with

#!/bin/tcsh
/bin/rm -rf *; env CC='gcc -mcpu=970 -m64' ../configure
--prefix=/pkgs/gcc-test-64 --enable-languages=c --disable-checking; make -j 16
bootstrap BOOT_CFLAGS='-O2 -g -mcpu=970 -m64' >& build.log 

bootstrap fails with

/Users/gcc-test/programs/gcc/mainline/objdir-64-c/./prev-gcc/xgcc
-B/Users/gcc-test/programs/gcc/mainline/objdir-64-c/./prev-gcc/
-B/pkgs/gcc-test-64/powerpc-apple-darwin8.7.0/bin/ -c   -O2 -g -mcpu=970 -m64
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-Wold-style-definition -Wmissing-format-attribute -Werror    -DHAVE_CONFIG_H
-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl
-I../../gcc/../libcpp/include  -I../../gcc/../libdecnumber -I../libdecnumber   
-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I./../intl
-I../../gcc/../libcpp/include  -I../../gcc/../libdecnumber -I../libdecnumber
../../gcc/config/rs6000/host-darwin.c -o host-ppc-darwin.o
cc1: warnings being treated as errors
../../gcc/config/rs6000/host-darwin.c: In function 'segv_handler':
../../gcc/config/rs6000/host-darwin.c:81: warning: cast to pointer from integer
of different size
../../gcc/config/rs6000/host-darwin.c:131: warning: format '%08lx' expects type
'long unsigned int', but argument 3 has type 'unsigned int'

Now, you might say that this isn't the way to try to build a 64-bit compiler
that targets 32-bit binaries, but I still think that there are 32-bit
assumptions in this routine that need to be fixed.

Brad


-- 
           Summary: 64-bit problem in host-darwin.c
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lucier at math dot purdue dot edu
 GCC build triplet: powerpc-apple-darwin8.7.0
  GCC host triplet: powerpc-apple-darwin8.7.0
GCC target triplet: powerpc-apple-darwin8.7.0


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


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

end of thread, other threads:[~2006-09-09  2:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-09  2:22 [Bug bootstrap/28994] New: 64-bit problem in host-darwin.c Jack Howarth
  -- strict thread matches above, loose matches on Subject: below --
2006-09-09  0:33 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).