This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/49582] New: configure-target-libquadmath fail on powerpc-darwin8
- From: "fang at csl dot cornell.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Jun 2011 17:30:04 +0000
- Subject: [Bug bootstrap/49582] New: configure-target-libquadmath fail on powerpc-darwin8
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49582
Summary: configure-target-libquadmath fail on powerpc-darwin8
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: fang@csl.cornell.edu
Host: powerpc-apple-darwin8
Target: powerpc-apple-darwin8
Build: powerpc-apple-darwin8
With release 4.6.1, on powerpc-darwin8, I get a build failure during
libquadmath.
Configuring with:
--prefix=%p/lib/gcc4.6 --mandir=%p/share/man --infodir=%p/lib/gcc4.6/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java
--with-gmp=%p --with-libiconv-prefix=%p --with-ppl=%p --with-cloog=%p
--with-mpc=%p --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-cloog-backend=isl --with-dwarf2
--disable-libjava-multilib
(where %p=/sw)
My build log shows:
Adding multilib support to Makefile in ../../../gcc-4.6
.1/libquadmath
multidirs=ppc64
with_multisubdir=
Running configure in multilib subdirs ppc64
pwd:
/Volumes/Mercedes2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/powerpc
-apple-darwin8.11.0/libquadmath
Running configure in multilib subdir ppc64
pwd:
/Volumes/Mercedes2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/powerpc
-apple-darwin8.11.0
no
checking for strerror... yes
checking for strsignal... yes
checking for sysconf... yes
checking for sysctl... configure: creating cache ./config.cache
checking build system type... yes
powerpc-apple-darwin8.11.0
checking host system type... checking for sysmp... powerpc-apple-darwin8.11.0
checking target system type... powerpc-apple-darwin8.11.0
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... no
checking for table... yes
yes
checking for a thread-safe mkdir -p... /sw/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... checking for times... yes
checking for --enable-version-specific-runtime-libs... no
checking for style of include used by make... GNU
checking for powerpc-apple-darwin8.11.0-gcc...
/Volumes/Mercedes2/sw/src/fink.bu
ild/gcc46-4.6.1-1000/darwin_objdir/./gcc/xgcc
-B/Volumes/Mercedes2/sw/src/fink.b
uild/gcc46-4.6.1-1000/darwin_objdir/./gcc/
-B/sw/lib/gcc4.6/powerpc-apple-darwin
8.11.0/bin/ -B/sw/lib/gcc4.6/powerpc-apple-darwin8.11.0/lib/ -isystem
/sw/lib/gc
c4.6/powerpc-apple-darwin8.11.0/include -isystem
/sw/lib/gcc4.6/powerpc-apple-da
rwin8.11.0/sys-include -m64
yes
checking for wait3... checking for C compiler default output file name... yes
checking for wait4... a.out
checking whether the C compiler works... configure: error: in
`/Volumes/Mercedes
2/sw/src/fink.build/gcc46-4.6.1-1000/darwin_objdir/powerpc-apple-darwin8.11.0/pp
c64/libquadmath':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
yes
checking whether basename is declared... make[1]: ***
[configure-target-libquadm
ath] Error 1
make[1]: *** Waiting for unfinished jobs....
(apologies if output is jumbled from parallel make)
The -m64 on a 32b-only arch is likely the issue.
Is libquadmath supported on 32b? If so, how can we eliminate the -m64 from the
build?