Re: Compiling bash statically in 4.2/4.3/4.4 with GCC 6.1.0

2017-05-12 Thread Chet Ramey
On 5/12/17 9:55 AM, Eduardo Bustamante wrote: > FWIW, I'm able to compile bash statically with: > > dualbus@debian:~/src/gnu/bash$ ./configure --enable-static-link > --without-bash-malloc > [...] > dualbus@debian:~/src/gnu/bash$ make > [...] During which you get a million warnings about using any

Re: Compiling bash statically in 4.2/4.3/4.4 with GCC 6.1.0

2017-05-12 Thread Eduardo Bustamante
FWIW, I'm able to compile bash statically with: dualbus@debian:~/src/gnu/bash$ ./configure --enable-static-link --without-bash-malloc [...] dualbus@debian:~/src/gnu/bash$ make [...] dualbus@debian:~/src/gnu/bash$ file bash bash: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically

Re: Compiling bash statically in 4.2/4.3/4.4 with GCC 6.1.0

2017-05-11 Thread Chet Ramey
On 5/11/17 10:56 AM, Steve Volumetric wrote: > In addition to my previous email, I also tired older versions of bash, > going back to 4.2 > > I get the exact same error with all of them with the only exception being > that the error occurs on different lines, but it always boils down to this: > >

Compiling bash statically in 4.2/4.3/4.4 with GCC 6.1.0

2017-05-11 Thread Steve Volumetric
In addition to my previous email, I also tired older versions of bash, going back to 4.2 I get the exact same error with all of them with the only exception being that the error occurs on different lines, but it always boils down to this: ./config.h:332:22: error: two or more data types in declar