This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/68115] [6 Regression] Unsatisfied symbol "__sync_lock_test_and_set_4" in file /test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgomp/../libgfortran/.libs/libgfortran.sl


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68115

--- Comment #5 from Ian Lance Taylor <ian at airs dot com> ---
The HAVE_SYNC_FUNCTIONS test is in libbacktrace/internal.h, and it #define's
the functions.  You can see that that is happening because the warning is about
a macro expansion.  It looks like we just need to add some sort of cast to
disable the warning in this specific case.

For the use when target_subdir is set, my understanding has been that targets
will either define the sync builtins directly or provide a version in the
support libraries.  If that is not the case, then we need to edit
libbacktrace/configure.ac to recognize some cases where the sync functions are
not available.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]