bug-bash
[Top][All Lists]
Advanced

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

Re: bash-3.1 build feedback


From: Mike Frysinger
Subject: Re: bash-3.1 build feedback
Date: Tue, 13 Dec 2005 04:30:32 +0000
User-agent: Mutt/1.5.11

On Mon, Dec 12, 2005 at 11:51:24AM -0700, Nelson H. F. Beebe wrote:
> Machinetype:            Sun W40z (4 CPUs, 2400 MHz AMD64 Opteron, 8GB RAM); 
> GNU/Linux Red Hat Enterprise Linux AS 4
> Remote gcc version:     gcc (GCC) 3.3.5
> Remote g++ version:     g++ (GCC) 3.3.5
> Configure environment:  CC=gcc CFLAGS=-m32 CXX=g++ CXXFLAGS=-m32 
> LDFLAGS="-Wl,-rpath,/usr/local/lib"
> ...
> gcc -Wl,-rpath,/usr/local/lib -rdynamic -m32 -o mkbuiltins mkbuiltins.o -ldl
> /usr/bin/ld: warning: i386:x86-64 architecture of input file `mkbuiltins.o' 
> is incompatible with i386 output
> ./mkbuiltins -externfile builtext.h -structfile builtins.c \
>     -noproduction -D .   ./alias.def ./bind.def ./break.def ./builtin.def 
> ./caller.def ./cd.def ./colon.def ./command.def ./declare.def ./echo.def 
> ./enable.def ./eval.def ./getopts.def ./exec.def ./exit.def ./fc.def 
> ./fg_bg.def ./hash.def ./help.def ./history.def ./jobs.def ./kill.def 
> ./let.def ./read.def ./return.def ./set.def ./setattr.def ./shift.def 
> ./source.def ./suspend.def ./test.def ./times.def ./trap.def ./type.def 
> ./ulimit.def ./umask.def ./wait.def ./reserved.def ./pushd.def ./shopt.def 
> ./printf.def ./complete.def
> make[1]: *** [builtext.h] Segmentation fault (core dumped)
> 
> This was an attempt to build a 32-bit version of bash on the
> 64-bit/32-bit AMD64.
> 
> Since the 64-bit build succeeded, I used that one.  However, it would
> be nice for the 32-bit one to work as well: we are experimenting to
> see whether the AMD64 could be used as a build master for 32-bit IA-32
> systems.

this is the same thing as cross-compiling which doesnt work correctly
when it comes to generating the signal lists ... the binutils you are
using is older which is why binutils segfaulted ... it should be fixed
in newer versions to error out gracely when attempting to combine 32
and 64 bit objects incorrectly

someone just mentioned in on this list actually which is why i signed
up :)
-mike




reply via email to

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