Skip to content

Commit b58a140

Browse files
committed
Updates to compile MAV against newer versions of gcc
1 parent f8a1497 commit b58a140

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
3.6.8.3 (2014-09-16)
2+
- Fixed configure.ac to compile with newer version of gcc.
3+
- removed #define TRACE_DEBUG so trace debug will not be written
4+
out to /tmp by default.
5+
- Fixed an issue with the check symbol code.
6+
17
3.6.8.2 (2014-05-19)
28
- Added ability to enable QAS API debug Bug# 848
39

check-symbols.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ while [ $# -gt 1 ]; do
3131
# Find Initialized (D)ata, (T)ext, (B)SS (zeroed) and (R)ead-only dynamic
3232
# symbols. _init and _fini are always ignored.
3333
syms=`nm -D --defined-only -- "$MODULE" | cut -d' ' -f2- | grep -E '^(D|T|B|R)' | \
34-
grep -Ev -- "$ALLOW_PATTERN" | grep -Ev '^T _(init|fini)$' || true`
34+
grep -Ev -- "$ALLOW_PATTERN" | grep -Ev '^T _(init|fini)$' | \
35+
grep -Ev '^B _(_bss_start|end)$' | grep -Ev '^D _edata' || true`
3536
if [ "$syms" != "" ]; then
3637
echo >&2
3738
echo "Found unexpected symbols in $MODULE:" >&2

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ AC_PREREQ(2.55)
99
AC_CONFIG_HEADERS([config.h])
1010
AC_CONFIG_AUX_DIR([.])
1111
AC_CONFIG_MACRO_DIR([m4])
12+
13+
m4_pattern_allow([AM_PROG_AR])
14+
AM_PROG_AR
15+
1216
AM_INIT_AUTOMAKE([foreign -Wall])
1317

1418
AC_CONFIG_SRCDIR([mod_auth_vas.c])

0 commit comments

Comments
 (0)