mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
add Makefile.local comments for macOS reduce dependency chains
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -22,6 +22,9 @@ The following are the changes from calc version 2.14.3.1 to date:
|
|||||||
Updated comments in Makefile.local for how to Diagnosing memory,
|
Updated comments in Makefile.local for how to Diagnosing memory,
|
||||||
thread, and crash issues under RHEL and macOS.
|
thread, and crash issues under RHEL and macOS.
|
||||||
|
|
||||||
|
Added comments in Makefile.local for how to reduce dependency chains
|
||||||
|
under macOS
|
||||||
|
|
||||||
|
|
||||||
The following are the changes from calc version 2.14.2.1 to 2.14.3.0:
|
The following are the changes from calc version 2.14.2.1 to 2.14.3.0:
|
||||||
|
|
||||||
|
@@ -26,7 +26,9 @@
|
|||||||
####
|
####
|
||||||
# RHEL Diagnosing memory, thread, and crash issues
|
# RHEL Diagnosing memory, thread, and crash issues
|
||||||
#
|
#
|
||||||
# This comment block was tested for:
|
# For more info see: https://github.com/google/sanitizers/wiki/AddressSanitizer
|
||||||
|
#
|
||||||
|
# This comment block was tested under:
|
||||||
#
|
#
|
||||||
# RHEL9 gcc version 11.3.1 20221121 (Red Hat 11.3.1-4) (GCC)
|
# RHEL9 gcc version 11.3.1 20221121 (Red Hat 11.3.1-4) (GCC)
|
||||||
#
|
#
|
||||||
@@ -38,7 +40,7 @@
|
|||||||
#
|
#
|
||||||
# UNSUPPORTED_FSANITIZE:= -fsanitize=nullability-arg -fsanitize=nullability-assign
|
# UNSUPPORTED_FSANITIZE:= -fsanitize=nullability-arg -fsanitize=nullability-assign
|
||||||
#
|
#
|
||||||
# Uncomment these values to disnose memory, thread, and crash issues on RHEL:
|
# Uncomment these lines:
|
||||||
#
|
#
|
||||||
# DEBUG:= -O0 -g
|
# DEBUG:= -O0 -g
|
||||||
# FSANITIZE:= -fsanitize=undefined -fsanitize=address -fsanitize=bool -fsanitize=bounds
|
# FSANITIZE:= -fsanitize=undefined -fsanitize=address -fsanitize=bool -fsanitize=bounds
|
||||||
@@ -55,7 +57,9 @@
|
|||||||
####
|
####
|
||||||
# macOS Diagnosing memory, thread, and crash issues
|
# macOS Diagnosing memory, thread, and crash issues
|
||||||
#
|
#
|
||||||
# This comment block was tested for:
|
# For more info see: https://github.com/google/sanitizers/wiki/AddressSanitizer
|
||||||
|
#
|
||||||
|
# This comment block was tested under:
|
||||||
#
|
#
|
||||||
# macOS 13.5 with clang version 14.0.3 (clang-1403.0.22.14.1)
|
# macOS 13.5 with clang version 14.0.3 (clang-1403.0.22.14.1)
|
||||||
#
|
#
|
||||||
@@ -67,7 +71,7 @@
|
|||||||
#
|
#
|
||||||
# UNSUPPORTED_FSANITIZE:= -fsanitize-nullability-return
|
# UNSUPPORTED_FSANITIZE:= -fsanitize-nullability-return
|
||||||
#
|
#
|
||||||
# Uncomment these values to disnose memory, thread, and crash issues on macOS:
|
# Uncomment these lines:
|
||||||
#
|
#
|
||||||
# DEBUG:= -O0 -g
|
# DEBUG:= -O0 -g
|
||||||
# FSANITIZE:= -fsanitize=undefined -fsanitize=address -fsanitize=bool -fsanitize=bounds
|
# FSANITIZE:= -fsanitize=undefined -fsanitize=address -fsanitize=bool -fsanitize=bounds
|
||||||
@@ -81,3 +85,13 @@
|
|||||||
# LDFLAGS+= -Wno-invalid-command-line-argument ${FSANITIZE} -fno-omit-frame-pointer
|
# LDFLAGS+= -Wno-invalid-command-line-argument ${FSANITIZE} -fno-omit-frame-pointer
|
||||||
# CALC_ENV+= ASAN_OPTIONS=detect_stack_use_after_return=1
|
# CALC_ENV+= ASAN_OPTIONS=detect_stack_use_after_return=1
|
||||||
####
|
####
|
||||||
|
|
||||||
|
####
|
||||||
|
# To reduce dependency chains under macOS:
|
||||||
|
#
|
||||||
|
# This comment block was tested under:
|
||||||
|
#
|
||||||
|
# macOS 13.5 with clang version 14.0.3 (clang-1403.0.22.14.1)
|
||||||
|
#
|
||||||
|
# LDFLAGS+= '-Wl,-dead_strip_dylibs -Wl,-dead_strip'
|
||||||
|
####
|
||||||
|
Reference in New Issue
Block a user