bug-bash
[Top][All Lists]
Advanced

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

Compile time bug with --enable-static-link option in configure


From: raphael . grapinet
Subject: Compile time bug with --enable-static-link option in configure
Date: Thu, 10 Nov 2011 10:20:09 +0100 (CET)

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' 
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' 
-DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib  -D_GNU_SOURCE 
-DRECYCLES_PIDS -DSYSLOG_HISTORY  -g -O2
uname output: Linux p******l 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29 
10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-unknown-linux-gnu

Bash Version: 4.2
Patch Level: 10
Release Status: release

Description:
        The computer I used to compil is a Vmware VM running RHEL 6.1 x64.
        I used this configure command :
        ./configure --with-bash-malloc=no --with-afs --enable-static-link
        and this make command :
        make "CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DSYSLOG_HISTORY `getconf 
LFS_CFLAGS`"
        Error output of gcc :
        l10nflist.c:64: erreur: static declaration of ‘stpcpy’ follows 
non-static declaration
        
        gcc --version=gcc (GCC) 4.4.5 20110214 (Red Hat 4.4.5-6)
        
        I want a statically linked bash with the history logged through SYSLOG.
        It seems that configure doesn't complain.

Repeat-By:
        Running the same commands :
        ./configure --with-bash-malloc=no --with-afs --enable-static-link
        make "CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DSYSLOG_HISTORY `getconf 
LFS_CFLAGS`"




reply via email to

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