bug-bash
[Top][All Lists]
Advanced

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

Bash 4.4 on GCC 6.1.0 static build issue


From: Steve Volumetric
Subject: Bash 4.4 on GCC 6.1.0 static build issue
Date: Thu, 11 May 2017 10:45:42 -0400

 Hello,

I get the configure script to accept --enable-static-link seemingly without
issue.
I'm using gcc 6.1.0 and when I do 'make' I get:


rm -f mksyntax
gcc  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"'
-DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-unknown-linux-gnu"'
-DCONF_VENDOR='"unknown"' -DLOCALEDIR='"/p/home/adowns/bin/share/locale"'
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib
-I./lib/intl -I/p/home/adowns/bash-4.4/lib/intl  -g -O2 -Wno-parentheses
-Wno-format-security  -static -L./lib/termcap -static -rdynamic  -g -O2
-Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses
-Wno-format-security  -o mksyntax ./mksyntax.c
In file included from ./mksyntax.c:23:0:
./config.h:356:22: error: two or more data types in declaration specifiers
 #define sig_atomic_t int

I did some googling to see what could be done, and the general consensus
seemed to be to add a semi-colon after 'int'.  So I opened up config.h,
made that adjustment and got the *exact* same error, just with a semi-colon
at the end.  I wanted to stop myself before I get involved with code
changes and see what the maintainers have to say.

Thank you for your time.

-vsteve


reply via email to

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