summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2014-12-22 21:36:14 +0000
committerDavid Mitchell <davem@iabyn.com>2014-12-31 11:28:52 +0000
commita5ba819fc61657341addc515e13a09c715b9597d (patch)
tree563f5cb8864cfc291e2cc6c47e9f6ed218e86322 /Configure
parenta08678bcb2357aeaaca8647b1fbfb92d260c22e6 (diff)
downloadperl-a5ba819fc61657341addc515e13a09c715b9597d.tar.gz
Configure: silence ASan warnings
When run under -fsanitize=undefined, some of the try.c's that are compiled and executed give runtime warnings. Since the intent of these particular executables is to probe beyond certain limits in order to determine those limits, these warnings can be safely ignored. So file them in /dev/null.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/Configure b/Configure
index 7f91d7df62..a8d8b5a039 100755
--- a/Configure
+++ b/Configure
@@ -11599,7 +11599,7 @@ int main()
EOCP
set try
if eval $compile_ok; then
- $run ./try
+ $run ./try 2>/dev/null
yyy=$?
else
echo "(I can't seem to compile the test program--assuming it can't)"
@@ -11699,7 +11699,7 @@ int main()
EOCP
set try
if eval $compile_ok; then
- $run ./try
+ $run ./try 2>/dev/null
castflags=$?
else
echo "(I can't seem to compile the test program--assuming it can't)"
@@ -21453,7 +21453,7 @@ int main (int argc, char *argv[])
EOCP
set try
if eval $compile; then
- eval `$run ./try`
+ eval `$run ./try 2>/dev/null`
else
echo "Cannot determine sGMTIME_max and sGMTIME_min." >&4
fi
@@ -21534,7 +21534,7 @@ int main (int argc, char *argv[])
EOCP
set try
if eval $compile; then
- eval `$run ./try`
+ eval `$run ./try 2>/dev/null`
else
echo "Cannot determine sLOCALTIME_max and sLOCALTIME_min." >&4
fi
@@ -21666,7 +21666,7 @@ int main() {
EOCP
set try
if eval $compile_ok; then
- selectminbits=`$run ./try`
+ selectminbits=`$run ./try 2>/dev/null`
case "$selectminbits" in
'') cat >&4 <<EOM
Cannot figure out on how many bits at a time your select() operates.