bug-bash
[Top][All Lists]
Advanced

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

Wrong size program used when cross-compiling


From: Dirk Gouders
Subject: Wrong size program used when cross-compiling
Date: Thu, 20 Jan 2005 17:26:21 +0100 (CET)

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd4.11
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='freebsd4.11' -DCONF_MACHTYPE='i386-portbld-freebsd4.11' 
-DCONF_VENDOR='portbld' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' 
-DSHELL  -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  -D_THREAD_SAFE  
-I/usr/local/include -O -pipe
uname output: FreeBSD musashi.et.bocholt.fh-gelsenkirchen.de 4.11-PRERELEASE 
FreeBSD 4.11-PRERELEASE #0: Tue Dec  7 10:22:14 CET 2004     
address@hidden:/usr/src/sys/compile/MUSASHI  i386
Machine Type: i386-portbld-freebsd4.11

Bash Version: 3.0
Patch Level: 16
Release Status: release

Description:
    I have problems when cross-compiling bash on an i686 machine for
    an x86_64 machine:

    At the end of a make the program size is used and it fails,
    because it does not recognize the binary format of the just
    created bash binary.

    In my case the program x86_64-unknown-linux-gnu-size of the
    cross-compiler toolchain should be used, but unfortunately, the
    size program is hard-coded in Makefile.in and cannot be adjusted
    via the configure script.  

Repeat-By:
    Try to cross-compile bash.

Fix:
    I would have provided one, but the distribution package does not
    include Makefile.am and I do not know where I can get CVS access.
    An anonymous check-out on savannah.gnu.org:/cvsroot/bash did not
    provide me the sources...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]