Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various enhancements for zopen tools #58

Open
wants to merge 44 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
d95312c
zopen enhancements:
IgorTodorovskiIBM Apr 22, 2024
11eeb20
Add missing header netiniet
IgorTodorovskiIBM Jun 25, 2024
ebe82e0
Add support for getline, getdelim, sysconf, memset
IgorTodorovskiIBM Jun 26, 2024
b32dcd4
Add utimesat and PTHREAD_RWLOCK_INITIALIZER
IgorTodorovskiIBM Jun 27, 2024
7d497c6
Add readlink override to resolve PARMLIB variables like
IgorTodorovskiIBM Jul 11, 2024
8253dfe
Fix getdelim and readlink override
IgorTodorovskiIBM Jul 16, 2024
153ef5f
Fix typo
IgorTodorovskiIBM Jul 16, 2024
b7074a5
Fix getdelim again
IgorTodorovskiIBM Jul 16, 2024
b0cd547
Fix missing }
IgorTodorovskiIBM Jul 16, 2024
276feb4
Address comments
IgorTodorovskiIBM Jul 16, 2024
827486b
Address comments
IgorTodorovskiIBM Jul 16, 2024
4145cf9
Add __threading_support - needed for boost and clang 1.1 builds
IgorTodorovskiIBM Jul 19, 2024
040105d
Update memmem
IgorTodorovskiIBM Jul 22, 2024
8c0764d
Add strverscmp from musl c
IgorTodorovskiIBM Jul 23, 2024
504ba77
Fix readlink and mkostemp - after further testing with zopen tools
IgorTodorovskiIBM Jul 24, 2024
5a1b34b
Fix readlink and mkostemp - after further testing with zopen tools
IgorTodorovskiIBM Jul 24, 2024
b36a272
Add code for profiling instrumentation
IgorTodorovskiIBM Aug 19, 2024
325ed89
Fix typos
IgorTodorovskiIBM Aug 19, 2024
6f56563
Fix typos
IgorTodorovskiIBM Aug 20, 2024
63e621e
replace bzero with calloc (#68)
kishkulk Aug 20, 2024
c098335
revise json
IgorTodorovskiIBM Aug 20, 2024
b548649
Fix tid in instrumentation json
IgorTodorovskiIBM Aug 20, 2024
b1ae73f
Update zos-instrumentation.cc
IgorTodorovskiIBM Aug 20, 2024
51f5dd0
Resolve clang related build issues
IgorTodorovskiIBM Aug 21, 2024
d847fc3
Resolve clang related build issues
IgorTodorovskiIBM Aug 21, 2024
b87bc46
Change dsa to __dsa and use traceEvent objects to make ns the default…
IgorTodorovskiIBM Aug 21, 2024
7738105
Gzip the json file once completed
IgorTodorovskiIBM Aug 21, 2024
0756b23
Only activate __get_stack_start on non-quick startup
IgorTodorovskiIBM Aug 28, 2024
5d413b7
Propagate ZOSLIB_QUICK_STARTUP in cmake
IgorTodorovskiIBM Aug 28, 2024
659b1d5
Change the arch level to arch10 for clang (and arch14 only for zos-ge…
IgorTodorovskiIBM Aug 29, 2024
d2aed54
Add tracing for allocation
IgorTodorovskiIBM Sep 19, 2024
3a4cb7f
Add malloc/free overrides
IgorTodorovskiIBM Sep 19, 2024
9a69e8e
Add export to __readlink
IgorTodorovskiIBM Sep 23, 2024
4e8ca92
Update zos-v2r5-symbolfixes.h
IgorTodorovskiIBM Sep 24, 2024
2dc1f9b
Resolve issue when malloc/free are used as function pointers
IgorTodorovskiIBM Sep 24, 2024
ac3adb8
Add pthread_condattr_setclock to v2r5 symbol list
IgorTodorovskiIBM Oct 9, 2024
6c843ab
Add asprintf and vasprintf to v2r5 symbol list
IgorTodorovskiIBM Oct 9, 2024
ab0e6fa
Update unistd.h - use __asm
IgorTodorovskiIBM Nov 13, 2024
cdd2f75
Fix up product name & remove the c++ copied dir (#70)
perry-ca Nov 15, 2024
3a5c17f
Add dependant code for script command (#71)
sachintu47 Nov 26, 2024
bac1675
Add vasprintf and strcasestr - needed by htop
IgorTodorovskiIBM Jan 3, 2025
a6f5da1
Add a fix for symlinks with $ literals in the beginning
IgorTodorovskiIBM Jan 27, 2025
68f947f
TODO one readlink test that fails on sysplex only
IgorTodorovskiIBM Jan 28, 2025
ab82da4
Update zos-v2r5-symbolfixes.h
IgorTodorovskiIBM Jan 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ else()
list(APPEND zoslib_cflags
-fgnu-keywords
-m64
-march=arch14
-march=arch10
-mzos-target=zosv2r4
-fno-short-enums
-fzos-le-char-mode=ascii)
Expand Down
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ COMMAND /bin/as -mgoff -o ${CELQUOPT_OBJECT} ${CELQUOPT_SOURCE}
VERBATIM
)

if(${CMAKE_C_COMPILER} MATCHES clang)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest checking if ! xlclang, since compiler can also be ibm-clang.

set_source_files_properties(zos-getentropy.cc PROPERTIES COMPILE_FLAGS "-march=arch14")
endif()

add_library(libzoslib OBJECT ${libsrc})

add_library(zoslib SHARED $<TARGET_OBJECTS:libzoslib>)
Expand Down