This is an automated email from the git hooks/post-receive script. ildumi pushed a commit to branch development in repository libtool.
The following commit(s) were added to refs/heads/development by this push: new 46576dfa tests: Skip Fortran/C demo tests 46576dfa is described below commit 46576dfaf4177f6924530d2734e3f079412cf55d Author: Ileana Dumitrescu <ileanadumitresc...@gmail.com> AuthorDate: Fri May 24 21:13:13 2024 +0300 tests: Skip Fortran/C demo tests Using clang with fsanitize results in an incompatible ASan runtime. It results in the warning message "linked against incompatible ASan runtimes". This only occurs with the mixed Fortran/C demo. * tests/f77demo.at: Skip tests for clang compiling with fsanitize. * tests/fcdemo.at: Skip tests for clang compiling with fsanitize. --- tests/f77demo.at | 24 ++++++++++++++++++++++++ tests/fcdemo.at | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/tests/f77demo.at b/tests/f77demo.at index 1026a468..bd2084a2 100644 --- a/tests/f77demo.at +++ b/tests/f77demo.at @@ -295,6 +295,14 @@ AT_CHECK([$GREP 'Welcome to GNU libtool mixed C/Fortran demo!' stdout], AT_SETUP([static library]) +# Using clang with fsanitize results in an incompatible ASan runtime. +# It results in the warning message "linked against incompatible ASan +# runtimes". This only occurs with the mixed Fortran/C demo. +if $LIBTOOL --config | $EGREP '^CC="clang'; +then + AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1) +fi + # Executing the static fprogram might be interactive on MSYS. AT_KEYWORDS([interactive]) @@ -313,6 +321,14 @@ AT_CLEANUP AT_SETUP([shared library]) +# Using clang with fsanitize results in an incompatible ASan runtime. +# It results in the warning message "linked against incompatible ASan +# runtimes". This only occurs with the mixed Fortran/C demo. +if $LIBTOOL --config | $EGREP '^CC="clang'; +then + AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1) +fi + _LT_SETUP LT_AT_CHECK_CONFIG([--disable-static], @@ -328,6 +344,14 @@ AT_CLEANUP AT_SETUP([shared and static together]) +# Using clang with fsanitize results in an incompatible ASan runtime. +# It results in the warning message "linked against incompatible ASan +# runtimes". This only occurs with the mixed Fortran/C demo. +if $LIBTOOL --config | $EGREP '^CC="clang'; +then + AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1) +fi + _LT_SETUP LT_AT_CHECK_CONFIG([], diff --git a/tests/fcdemo.at b/tests/fcdemo.at index 48ff13ac..6f708b3c 100644 --- a/tests/fcdemo.at +++ b/tests/fcdemo.at @@ -309,6 +309,14 @@ AT_CHECK([$GREP 'Welcome to GNU libtool mixed C/Fortran demo!' stdout], AT_SETUP([static library]) +# Using clang with fsanitize results in an incompatible ASan runtime. +# It results in the warning message "linked against incompatible ASan +# runtimes". This only occurs with the mixed Fortran/C demo. +if $LIBTOOL --config | $EGREP '^CC="clang'; +then + AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1) +fi + # Executing the static fprogram might be interactive on MSYS. AT_KEYWORDS([interactive]) @@ -327,6 +335,14 @@ AT_CLEANUP AT_SETUP([shared library]) +# Using clang with fsanitize results in an incompatible ASan runtime. +# It results in the warning message "linked against incompatible ASan +# runtimes". This only occurs with the mixed Fortran/C demo. +if $LIBTOOL --config | $EGREP '^CC="clang'; +then + AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1) +fi + _LT_SETUP LT_AT_CHECK_CONFIG([--disable-static], @@ -342,6 +358,14 @@ AT_CLEANUP AT_SETUP([shared and static together]) +# Using clang with fsanitize results in an incompatible ASan runtime. +# It results in the warning message "linked against incompatible ASan +# runtimes". This only occurs with the mixed Fortran/C demo. +if $LIBTOOL --config | $EGREP '^CC="clang'; +then + AT_CHECK([echo "$LDFLAGS" | $EGREP 'fsanitize=' && (exit 77)], 1) +fi + _LT_SETUP LT_AT_CHECK_CONFIG([],