[Top][All Lists]

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

Re: [Help-bash] cross compile bash failure

From: Chet Ramey
Subject: Re: [Help-bash] cross compile bash failure
Date: Mon, 15 Dec 2014 12:05:04 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 12/15/14, 1:12 AM, root wrote:
> Hi,guy:
> when I crosscompile the bash 4.3.30,and use the fllowing configre:
> ./configure  --host=arm-linux-gnueabihf  CC=arm-linux-gnueabihf-gcc
> --prefix='/root/Desktop/SSS/other/Bash/bash_install' --enable-static-link 
> --without-bash-malloc
> make ,and error happended !
> gcc -c  -DHAVE_CONFIG_H -DSHELL  -I. -I..  -I.. -I../include -I../lib
> -I.    -g -DCROSS_COMPILING mkbuiltins.c
> gcc -rdynamic -g -DCROSS_COMPILING -o mkbuiltins mkbuiltins.o
> ./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 ./mapfile.def
> make[1]: *** [builtext.h] Segmentation fault (core dumped)
> make[1]: *** Deleting file `builtext.h'
> make[1]: Leaving directory `/root/Desktop/SSS/other/Bash/bash-4.3.30/builtins'
> make: *** [builtins/builtext.h] Error 1

It looks like mkbuiltins crashed for some reason.  I'd be able to say more
with a stack traceback from the core dump; I am not set up to try and
reproduce this on any of my systems.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden

reply via email to

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