[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#384939: cross-compile with WITHOUT_LANG=biarch still wants to build biarch (forwarded from Josh Triplett)



--- Begin Message ---
Package: gcc-4.1
Version: 4.1.1-11

josh@josh-mobile:~/src/powerpc$ export GCC_TARGET=powerpc
josh@josh-mobile:~/src/powerpc$ export DEB_CROSS_STANDALONE=yes
josh@josh-mobile:~/src/powerpc$ export WITHOUT_LANG=biarch
josh@josh-mobile:~/src/powerpc$ cd gcc-4.1-4.1.1/
josh@josh-mobile:~/src/powerpc/gcc-4.1-4.1.1$ fakeroot debian/rules control
[...]
josh@josh-mobile:~/src/powerpc/gcc-4.1-4.1.1$ debuild -us -uc -b
[...]
------------------------ Build process variables ------------------------
Package source: gcc-4.1
GCC version: 4.1.2
Base Debian version: 4.1
Configured with: -v
         --enable-languages=c,c++,fortran,objc,obj-c++,treelang
         --prefix=/usr
         --enable-shared
         --with-system-zlib
         --libexecdir=/usr/lib
         --without-included-gettext
         --enable-threads=posix
         --enable-nls
         --program-suffix=-4.1
         --enable-__cxa_atexit
         --enable-clocale=gnu
         --enable-libstdcxx-debug
         --enable-mpfr
         --with-tune=i686
         --enable-checking=release
         i486-linux-gnu

Using shell /bin/bash -e
Architecture: i386 (GNU: i486-linux-gnu)
CPPFLAGS:
CFLAGS: -g -O2
LDFLAGS:
BOOT_CFLAGS: -O2
DEBIAN_BUILDARCH:
Install prefix: /usr
Will build the biarch compilers (32/64, defaulting to 32bit)
Will build the C++ compiler
Will build the ObjC compiler.
Will not build the extra ObjC runtime for garbage collection.
Will build the Obj-C++ compiler
Will build the Fortran 95 compiler.
Will not build the Java compiler: built from separate source
Will not build the Pascal compiler: disabled, still experimental
Will not build the Ada compiler: built from separate source
Will build the Treelang compiler.
Will build the FFI library.
Will build with SSP support.
Will run the testsuite.
Will run the testsuite with -m64: ld returned 1 exit status
Will enable national language support.
-----------------------------------------------------------------------------

I also don't see any obvious indication of cross-compilation in that
output, and subsequent invocations of configure look like they target a
non-cross-compiler:

: # configure
cd /home/josh/src/powerpc/gcc-4.1-4.1.1/build \
          && PATH=/home/josh/src/powerpc/gcc-4.1-4.1.1/bin:$PATH \
                CC="cc" \
                 \

LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}/home/josh/src/powerpc/gcc-4.1-4.1.1/build/gcc/ada/rts
\
                ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib  --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
creating cache ./config.cache
checking host system type... i486-pc-linux-gnu
checking target system type... i486-pc-linux-gnu
checking build system type... i486-pc-linux-gnu

Later parts of the build, such as the fixincludes step, also indicate a
target of i486-pc-linux-gnu.

- Josh Triplett

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: