bug-bash
[Top][All Lists]
Advanced

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

Re: bash 3.2 and bash 4.0 (RC1) fail to build statically


From: Chet Ramey
Subject: Re: bash 3.2 and bash 4.0 (RC1) fail to build statically
Date: Mon, 02 Feb 2009 08:52:27 -0500
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

address@hidden wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: i486
> OS: linux-gnu
> Compiler: gcc
> 
> Description:
>       http://pastebin.com/f476b80da
>     configured via: http://pastebin.com/m62b92718
>     
>     Adding --enable-minimal doesn't fix the issue which means these versions
>     basically can't be used as a statically-linked root shell?  Ideally we'd
>     be able to have a *fully* functional Bash statically linked though ;)

I was able to successfully compile and link after configuring
--enable-static-link --without-bash-malloc (there's some problem with libc
and the bash malloc when you try a static link).

You're going to have to deal with the warnings about requiring the dynamic
libraries at runtime to use the getpwent/getgrent/getservent families.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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