Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 582690
Collapse All | Expand All

(-)a/configure (-2 / +3 lines)
Lines 6254-6263 echo >&5 "libc_undefs='$libc_undefs'" Link Here
6254
# defaults to -fstack-protector but this produces an undefined symbol
6254
# defaults to -fstack-protector but this produces an undefined symbol
6255
# other than __stack_chk_fail.  However, compilers like that have not
6255
# other than __stack_chk_fail.  However, compilers like that have not
6256
# been encountered in practice.
6256
# been encountered in practice.
6257
libc_undefs=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail)$'`
6257
libc_undefs=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail|__stack_chk_fail_local)$'`
6258
case "$libc_undefs" in
6258
case "$libc_undefs" in
6259
foobar) libc_cv_predef_stack_protector=no ;;
6259
foobar) libc_cv_predef_stack_protector=no ;;
6260
'__stack_chk_fail
6260
'__stack_chk_fail_local
6261
foobar'|'__stack_chk_fail
6261
foobar') libc_cv_predef_stack_protector=yes ;;
6262
foobar') libc_cv_predef_stack_protector=yes ;;
6262
*) as_fn_error $? "unexpected symbols in test: $libc_undefs" "$LINENO" 5 ;;
6263
*) as_fn_error $? "unexpected symbols in test: $libc_undefs" "$LINENO" 5 ;;
6263
esac
6264
esac
(-)a/configure.ac (-2 / +3 lines)
Lines 1605-1614 echo >&AS_MESSAGE_LOG_FD "libc_undefs='$ Link Here
1605
# defaults to -fstack-protector but this produces an undefined symbol
1605
# defaults to -fstack-protector but this produces an undefined symbol
1606
# other than __stack_chk_fail.  However, compilers like that have not
1606
# other than __stack_chk_fail.  However, compilers like that have not
1607
# been encountered in practice.
1607
# been encountered in practice.
1608
libc_undefs=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail)$'`
1608
libc_undefs=`echo "$libc_undefs" | egrep '^(foobar|__stack_chk_fail|__stack_chk_fail_local)$'`
1609
case "$libc_undefs" in
1609
case "$libc_undefs" in
1610
foobar) libc_cv_predef_stack_protector=no ;;
1610
foobar) libc_cv_predef_stack_protector=no ;;
1611
'__stack_chk_fail
1611
'__stack_chk_fail_local
1612
foobar'|'__stack_chk_fail
1612
foobar') libc_cv_predef_stack_protector=yes ;;
1613
foobar') libc_cv_predef_stack_protector=yes ;;
1613
*) AC_MSG_ERROR([unexpected symbols in test: $libc_undefs]) ;;
1614
*) AC_MSG_ERROR([unexpected symbols in test: $libc_undefs]) ;;
1614
esac],
1615
esac],

Return to bug 582690