[Bug other/46612] New: Failing to build [TARGET]/libquadmath

tschwinge at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 22 20:42:00 GMT 2010


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

           Summary: Failing to build [TARGET]/libquadmath
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tschwinge@gcc.gnu.org
                CC: jakub@redhat.com, pinskia@gmail.com
              Host: i686-pc-linux-gnu
            Target: arm-none-linux-gnueabi
             Build: i686-pc-linux-gnu


>From OFTC's #gcc channel, just now:

    <tschwinge> Is that one known?  Bootstrapping a toolchain for
arm-none-linux-gnueabi.
    <tschwinge> checking for C compiler default output file name... 
    <tschwinge> configure: error: in
`/scratch/thomas/arm-linux-cfi/obj/gcc-first-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/arm-none-linux-gnueabi/libquadmath':
    <tschwinge> configure: error: C compiler cannot create executables
    <tschwinge> See `config.log' for more details.
    <tschwinge> make[1]: *** [configure-target-libquadmath] Error 1
    <tschwinge> make[1]: Leaving directory
`/scratch/thomas/arm-linux-cfi/obj/gcc-first-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu'
    <apinski> semi
    <apinski> how are you configuring?
    <apinski> and what does config.log say inside that directory?
    <tschwinge> configure:3071: checking for C compiler default output file
name
    <tschwinge> configure:3093:
/scratch/thomas/arm-linux-cfi/obj/gcc-first-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/./gcc/xgcc
[...]
    <tschwinge>
/scratch/thomas/arm-linux-cfi/install/arm-none-linux-gnueabi/bin/ld: cannot
find crt1.o: No such file or directory
    <tschwinge>
/scratch/thomas/arm-linux-cfi/install/arm-none-linux-gnueabi/bin/ld: cannot
find crti.o: No such file or directory
    <tschwinge>
/scratch/thomas/arm-linux-cfi/install/arm-none-linux-gnueabi/bin/ld: cannot
find -lc
    <tschwinge>
/scratch/thomas/arm-linux-cfi/install/arm-none-linux-gnueabi/bin/ld: cannot
find crtn.o: No such file or directory
    <tschwinge> apinski: Do you want the whold configure line or something
specific?
    <apinski> the whole configure line
    <apinski> mainly is this a C only one?
    <jakub> apinski: why should it matter?  There is nothing fortran specific
on libquadmath (or, at least, there should not be)
    <tschwinge> --enable-languages=c,lto
    <tschwinge> apinski: http://pastebin.com/46Lys5aF
    <apinski> tschwinge: use --disable-libquadmath
    <jakub> it surprises me that we try to build libquadmath for arm, which
doesn't have __float128
    <apinski> only x86 and ia64 have that, right?
    <jakub> apinski: yeah, i?86, x86_64 and ia64
    <tschwinge> apinski: Thanks you; that helps.


Here's the config.status line again; for reference when the pastebin is
pruned:

configured by /scratch/thomas/arm-linux-cfi/src/gcc-mainline/configure,
generated by GNU Autoconf 2.64,
  with options \" '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu'
'--target=arm-none-linux-gnueabi' '--enable-threads' '--disable-libmudflap'
'--disable-libstdcxx-pch' '--with-gnu-as' '--with-gnu-ld' '--enable-shared'
'--enable-lto' '--enable-symvers=gnu' '--enable-__cxa_atexit' '--disable-nls'
'--prefix=/opt/codesourcery' '--disable-shared' '--disable-threads'
'--disable-libssp' '--without-headers' '--with-newlib'
'--disable-decimal-float' '--disable-libffi'
'--with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc'
'--with-build-sysroot=/scratch/thomas/arm-linux-cfi/install/arm-none-linux-gnueabi/libc'
'--with-gmp=/scratch/thomas/arm-linux-cfi/obj/host-libs-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr'
'--with-mpfr=/scratch/thomas/arm-linux-cfi/obj/host-libs-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr'
'--with-mpc=/scratch/thomas/arm-linux-cfi/obj/host-libs-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr'
'--with-ppl=/scratch/thomas/arm-linux-cfi/obj/host-libs-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr'
'--with-host-libstdcxx=-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm'
'--with-cloog=/scratch/thomas/arm-linux-cfi/obj/host-libs-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr'
'--with-libelf=/scratch/thomas/arm-linux-cfi/obj/host-libs-mainline-0-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr'
'--disable-libgomp' '--enable-poison-system-directories'
'--with-build-time-tools=/scratch/thomas/arm-linux-cfi/install/arm-none-linux-gnueabi/bin'
'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu'
'target_alias=arm-none-linux-gnueabi' 'CC=i686-pc-linux-gnu-gcc'
'CXX=i686-pc-linux-gnu-g++' 'AR=i686-pc-linux-gnu-ar'
'RANLIB=i686-pc-linux-gnu-ranlib' 'AR_FOR_TARGET=arm-none-linux-gnueabi-ar'
'NM_FOR_TARGET=arm-none-linux-gnueabi-nm'
'STRIP_FOR_TARGET=arm-none-linux-gnueabi-strip' '--enable-languages=c,lto'\"



More information about the Gcc-bugs mailing list