jts / nanopolish

Signal-level algorithms for MinION data
MIT License
559 stars 159 forks source link

Errors compiling on apple silicon #981

Closed arturomarin closed 2 years ago

arturomarin commented 2 years ago

Hello,

I am trying to compile Nanopolish on Apple silicon. I use the following commands:

git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish
make

For both x86_64 and arm64 it gives me the following error:

cache.c:25754:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:25826:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:25901:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:25977:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26050:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26125:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26197:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26273:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26345:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26417:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26492:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26564:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26640:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26713:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26788:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26860:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:26932:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:27008:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
cache.c:27083:23: error: implicit declaration of function 'resize_configs_are_equal' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        } else if ( ! resize_configs_are_equal(&test_auto_size_ctl, \
                      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [cache.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [lib/libhdf5.a] Error 2

I would like to at least be able to compile it for arm64. Can anybody help me?

hasindu2008 commented 2 years ago

Try

export CFLAGS="-O3  -fsigned-char -D_FILE_OFFSET_BITS=64"
make
arturomarin commented 2 years ago

Thanks for trying to help me. It continue giving me the same error. I add a file with the output of the terminal. Errors_Nanopolish_arm64.txt

I have hardly any experience in C but, Could this problem be fixed by changing something in the Makefile?

jts commented 2 years ago

Hi @arturomarin,

I have an M1 macbook pro now, and have compiled nanopolish but the changes are considerably involved. I plan to modify the makefile to do all of it automatically but haven't had time yet (I am teaching this term). I've had this request a few times so I'll try to prioritize this.

arturomarin commented 2 years ago

Hi @jts,

Thanks for Nanopolish and for your interest in fixing this. If I can help you with something, testing code that a newbie can try or whatever, let me know.

hasindu2008 commented 2 years ago

@arturomarin Meanwhile, if you are after call-methylation or eventalign, could you perhaps check if f5c compiles on mac M1?

jts commented 2 years ago

I've just pushed a new branch called m1-build. It contains a series of hacks that I made to get it compiling on my M1 pro. This version will not compile on linux and some things may be broken. I intended to clean this up but haven't found time, so I just wanted to make it available in case you want to try it.

arturomarin commented 2 years ago

Hi @hasindu2008 ,

I don't work with this, and right now I don't have much time to compile extra code... I'm still installing all the programs I need on my new laptop and seeing how to work better. But if you need access to Apple M1 computers to develop, maybe you can use the new AWS instances.

https://aws.amazon.com/about-aws/whats-new/2021/12/amazon-ec2-m1-mac-instances-macos/?nc1=h_ls

Best,

arturomarin commented 2 years ago

Hi @jts ,

thank you. Of course I'm interested. Nanopolish is a critical part of my virus analysis pipeline, and I'm interested in getting it to work on the Apple M1. If this helps you to develop a version for Apple M1 it would be great. I don't know what I have to do to get this branch. When I go to the address "https://github.com/jts/nanopolish/tree/m1-build" in the "code" tab it says "https://github.com/jts/nanopolish.git", and when using Git I think it downloads the normal version of Nanopolish.

I have also tried with: git clone --recursive https://github.com/jts/nanopolish/tree/m1-build

but it gives me an error:

Cloning into 'm1-build'...
fatal: repository 'https://github.com/jts/nanopolish/tree/m1-build/' not found
rdeborja commented 2 years ago

@arturomarin can you try cloning the normal version of nanopolish first then switch to the m1-build branch using the git checkout command:

git clone --recursive git@github.com:jts/nanopolish.git
cd nanopolish
git checkout m1-build
arturomarin commented 2 years ago

Hi @rdeborja ,

thanks for trying to help me. The command git clone --recursive git@github.com:jts/nanopolish.git

produces the following error

Cloning into 'nanopolish'...
The authenticity of host 'github.com (140.82.114.4)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I have tried the following

git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish
git checkout m1-build

The last command gives me a warning

warning: unable to rmdir 'fast5': Directory not empty
Branch 'm1-build' set up to track remote branch 'm1-build' from 'origin'.
Switched to a new branch 'm1-build'

I have run make, but finally got another error

clang: error: unsupported option '-fopenmp'

I am attaching all the output of the make command, in case it can help. Any suggestion?

Error_Nanopolish_m1-build.txt

rdeborja commented 2 years ago

@arturomarin sorry for the mixup, I use ssh keys andgit clone --recursive git@github.com:jts/nanopolish.git worked for me.

To get make to work, I had to install libomp using homebrew:

brew install libomp

If you don't have homebrew installed, the changes I made to the Makefile won't work as they require it. You might have to google the m1 specific installation.

To get the Makefile to compile, I changed a few lines. I appended the specific path for libomp include and library files to CXXFLAGS and CFLAGS, add -Xclang to CXXFLAGS and add the -lomp library to the LIBS parameter.

LIBS = -lz -lomp
CXXFLAGS ?= -g -O3 -isysroot $(SDK) -I/usr/include -L/usr/lib -I/opt/homebrew/Cellar/libomp/13.0.1/include -L/opt/homebrew/Cellar/libomp/13.0.1/lib
CXXFLAGS += -std=c++11 -Xclang -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 #D_FILE_OFFSET_BITS=64 makes nanopolish work in 32 bit systems
CFLAGS ?= -O3 -std=c99 -isysroot $(SDK) -I/usr/include -L/usr/lib -fsigned-char -D_FILE_OFFSET_BITS=64 -I/opt/homebrew/Cellar/libomp/13.0.1/include -L/opt/homebrew/Cellar/libomp/13.0.1/lib

Note that this is using the m1-build branch that Jared originally created.

jts commented 2 years ago

Hi,

I've had time to package this up and I have something that is worth testing. Could you try this from a clean install?

git clone --recursive git@github.com:jts/nanopolish.git
cd nanopolish
git checkout 0.14-rc
git submodule update --init --recursive
make CC=gcc-11 CXX=g++-11 CPP=cpp-11

This requires gcc to be installed (through homebrew or equivalent) since clang does not support openmp, which nanopolish currently requires. The middle two commands won't be required when I merge this in, they just grab the feature branch with the changes, then synch up the htslib.

arturomarin commented 2 years ago

Hi,

I can't connect to the repository

git clone --recursive git@github.com:jts/nanopolish.git
Cloning into 'nanopolish'...
The authenticity of host 'github.com (140.82.112.4)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
rdeborja commented 2 years ago

@arturomarin it looks like there's something wrong with the ssh key you setup. You can either fix it or use the web URL:

git clone --recursive https://github.com/jts/nanopolish.git
mmullistb commented 2 years ago

@jts Thanks for the work on this. I tried the following: git clone --recursive https://github.com/jts/nanopolish.git cd nanopolish git checkout 0.14-rc git submodule update --init --recursive make CC=gcc-11 CXX=g++-11 CPP=cpp-11

Things seemed to be working fine until the following error occurred: gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -msse2 -DHAVE_KALLOC ksw2_ll_sse.c -o ksw2_ll_sse.o gcc-11: error: unrecognized command-line option '-msse2' make[1]: *** [ksw2_ll_sse.o] Error 1 make: *** [minimap2/libminimap2.a] Error 255

rdeborja commented 2 years ago

@mmullistb try adding arm_neon=1 aarch64=1 to the make command:

make CC=gcc-11 CXX=g++-11 CPP=cpp-11  arm_neon=1 aarch64=1
jts commented 2 years ago

Could you also post the full output from the make command, and what gcc -dumpmachine reports?

mmullistb commented 2 years ago

gcc -dumpmachine reports 'aarch64-apple-darwin20'

Make output make CC=gcc-11 CXX=g++-11 CPP=cpp-11 if [ ! -e hdf5-1.13.0.tar.gz ]; then \ version_major_minor=`echo "1.13.0" | sed -E 's/\.[0-9]+$//'`; \ wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${version_major_minor}/hdf5-1.13.0/src/hdf5-1.13.0.tar.gz; \ fi --2022-04-15 16:58:28-- https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.13/hdf5-1.13.0/src/hdf5-1.13.0.tar.gz Resolving support.hdfgroup.org (support.hdfgroup.org)... 50.28.50.143 Connecting to support.hdfgroup.org (support.hdfgroup.org)|50.28.50.143|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 13921144 (13M) [application/x-gzip] Saving to: ‘hdf5-1.13.0.tar.gz’ hdf5-1.13.0.tar.gz 100%[===================>] 13.28M 936KB/s in 15s 2022-04-15 16:58:43 (912 KB/s) - ‘hdf5-1.13.0.tar.gz’ saved [13921144/13921144] tar -xzf hdf5-1.13.0.tar.gz || exit 255 cd hdf5-1.13.0 && \ ./configure CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib" CPPFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib" --enable-threadsafe --disable-hl --libdir=`pwd`/../lib --includedir=`pwd`/../include --prefix=`pwd`/.. || exit 255 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... bin/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... arm-apple-darwin21.4.0 checking host system type... arm-apple-darwin21.4.0 checking shell variables initial values... done checking if basename works... yes checking if xargs works... yes checking for cached host... none checking enable warnings as errors... no checking for config arm-apple-darwin21.4.0... no checking for config arm-apple-darwin21.4.0... no checking for config apple-darwin21.4.0... no checking for config apple-darwin21.4.0... no checking for config arm-darwin21.4.0... no checking for config arm-darwin21.4.0... no checking for config arm-apple... no checking for config darwin21.4.0... no checking for config darwin21.4.0... no checking for config apple... found compiler 'gcc-11' is GNU gcc-11.2.0 compiler 'gfortran' is GNU gfortran-11.2.0 compiler 'g++-11' is GNU g++-11.2.0 checking for config ./config/site-specific/host-mmullis-mba... no checking for clang sanitizer checks... checking build mode... production checking for gcc... gcc-11 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc-11 accepts -g... yes checking for gcc-11 option to accept ISO C89... none needed checking whether gcc-11 understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc-11... gcc3 checking if unsupported combinations of configure options are allowed... no checking how to run the C preprocessor... cpp-11 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for ssize_t... yes checking whether byte ordering is bigendian... no checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of unsigned... 4 checking size of long... 8 checking size of long long... 8 checking size of __int64... 0 checking size of float... 4 checking size of double... 8 checking size of long double... 8 checking size of __float128... 0 checking size of _Quad... 0 checking quadmath.h usability... no checking quadmath.h presence... no checking for quadmath.h... no checking maximum decimal precision for C... 17 checking if Fortran interface enabled... no checking whether we are using the GNU C++ compiler... yes checking whether g++-11 accepts -g... yes checking dependency style of g++-11... gcc3 checking how to run the C++ preprocessor... g++-11 -E checking if c++ interface enabled... no checking if the high-level library is enabled... no checking if the high-level tools are enabled... no checking whether to use new references with dimension scales... no checking for ar... ar checking whether make sets $(MAKE)... (cached) yes checking for tr... /usr/bin/tr checking if srcdir= and time commands work together... yes checking if Java JNI interface enabled... no checking if building tests is disabled... no checking if building tools is disabled... no checking if building doxygen is enabled... no Doxygen support is disabled checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc-11... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786432 checking how to convert arm-apple-darwin21.4.0 file names to arm-apple-darwin21.4.0 format... func_convert_file_noop checking how to convert arm-apple-darwin21.4.0 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc-11 object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc-11 supports -fno-rtti -fno-exceptions... no checking for gcc-11 option to produce PIC... -fno-common -DPIC checking if gcc-11 PIC flag -fno-common -DPIC works... yes checking if gcc-11 static flag -static works... no checking if gcc-11 supports -c -o file.o... yes checking if gcc-11 supports -c -o file.o... (cached) yes checking whether the gcc-11 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin21.4.0 dyld checking how to hardcode library paths into programs... immediate checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking if we should install only statically linked executables... no checking if -Wl,-rpath should be used to link shared libs in nondefault directories... yes checking for ceil in -lm... yes checking for dlopen in -ldl... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking features.h usability... no checking features.h presence... no checking for features.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for unistd.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking if libtool needs -no-undefined flag to build shared libraries... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of int8_t... 1 checking size of uint8_t... 1 checking size of int_least8_t... 1 checking size of uint_least8_t... 1 checking size of int_fast8_t... 1 checking size of uint_fast8_t... 1 checking size of int16_t... 2 checking size of uint16_t... 2 checking size of int_least16_t... 2 checking size of uint_least16_t... 2 checking size of int_fast16_t... 2 checking size of uint_fast16_t... 2 checking size of int32_t... 4 checking size of uint32_t... 4 checking size of int_least32_t... 4 checking size of uint_least32_t... 4 checking size of int_fast32_t... 4 checking size of uint_fast32_t... 4 checking size of int64_t... 8 checking size of uint64_t... 8 checking size of int_least64_t... 8 checking size of uint_least64_t... 8 checking size of int_fast64_t... 8 checking size of uint_fast64_t... 8 checking size of bool... 1 checking size of off_t... 8 checking size of ptrdiff_t... 8 checking size of size_t... 8 checking size of ssize_t... 8 checking size of time_t... 8 checking if dev_t is scalar... yes checking for dmalloc library... suppressed checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for compress2 in -lz... yes checking for compress2... yes checking for szlib... suppressed checking for thread safe support... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_self in -lpthread... yes checking Pthreads supports system scope... yes checking whether CLOCK_MONOTONIC is declared... yes checking for tm_gmtoff in struct tm... yes checking for global timezone variable... yes checking for st_blocks in struct stat... yes checking for _getvideoconfig... no checking for gettextinfo... no checking for GetConsoleScreenBufferInfo... no checking for getpwuid... yes checking for _scrsize... no checking for ioctl... yes checking for struct videoconfig... no checking for struct text_info... no checking for TIOCGWINSZ... yes checking for TIOCGETD... yes checking for library containing clock_gettime... none required checking for alarm... yes checking for asprintf... yes checking for clock_gettime... yes checking for fcntl... yes checking for flock... yes checking for fork... yes checking for gethostname... yes checking for getrusage... yes checking for gettimeofday... yes checking for lstat... yes checking for rand_r... yes checking for random... yes checking for setsysinfo... no checking for siglongjmp... yes checking for sigsetjmp... yes checking for sigprocmask... yes checking for srandom... yes checking for strdup... yes checking for symlink... yes checking for tmpfile... yes checking for vasprintf... yes checking for waitpid... yes checking for __attribute__ extension... yes checking for C99 designated initialization support... yes checking how to print long long... %lld and %llu checking enable build diagnostics... no checking enable debugging symbols... no checking enable asserts... no checking enable developer warnings... no checking profiling... no checking optimization level... high checking enable file locking... best-effort checking for internal debug output... none checking whether function stack tracking is enabled... no checking for API tracing... no checking whether a memory checking tool will be used... no checking whether internal memory allocation sanity checking is used... no checking for parallel support files... skipped checking parallel tools... no checking if the map API (H5M) is enabled... no checking whether O_DIRECT is declared... no checking for posix_memalign... yes checking if the direct I/O virtual file driver (VFD) is enabled... no checking if the Mirror virtual file driver (VFD) is enabled... no checking if the Read-Only S3 virtual file driver (VFD) is enabled... no checking for libhdfs... suppressed checking for custom examples path definition... ${prefix}/share/hdf5_examples checking for custom plugin default path definition... /usr/local/hdf5/lib/plugin checking whether exception handling functions is checked during data conversions... yes checking whether data accuracy is guaranteed during data conversions... yes checking if the machine has window style path name... no checking if using special algorithm to convert long double to (unsigned) long values... no checking if using special algorithm to convert (unsigned) long to long double values... no checking if correctly converting long double to (unsigned) long long values... yes checking if correctly converting (unsigned) long long to long double values... yes checking if the system is IBM ppc64le and cannot correctly convert some long double values... no checking additional programs should be built... no checking if deprecated public symbols are available... yes checking which version of public symbols to use by default... v114 checking whether to perform strict file format checks... no checking for pread... yes checking for pwrite... yes checking whether to use pread/pwrite instead of read/write in certain VFDs... yes checking whether to have library information embedded in the executables... yes checking if alignment restrictions are strictly enforced... no configure: creating ./config.lt config.lt: creating libtool checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/libhdf5.settings config.status: creating Makefile config.status: creating doxygen/Doxyfile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating test/H5srcdir_str.h config.status: creating test/testabort_fail.sh config.status: creating test/testcheck_version.sh config.status: creating test/testerror.sh config.status: creating test/testexternal_env.sh config.status: creating test/testflushrefresh.sh config.status: creating test/testlibinfo.sh config.status: creating test/testlinks_env.sh config.status: creating test/testswmr.sh config.status: creating test/testvds_env.sh config.status: creating test/testvdsswmr.sh config.status: creating test/test_filter_plugin.sh config.status: creating test/test_mirror.sh config.status: creating test/test_usecases.sh config.status: creating test/test_vol_plugin.sh config.status: creating testpar/Makefile config.status: creating testpar/testpflush.sh config.status: creating utils/Makefile config.status: creating utils/mirror_vfd/Makefile config.status: creating utils/test/Makefile config.status: creating utils/tools/Makefile config.status: creating utils/tools/h5dwalk/Makefile config.status: creating utils/tools/test/Makefile config.status: creating utils/tools/test/h5dwalk/Makefile config.status: creating utils/tools/test/h5dwalk/copy_demo_files.sh config.status: creating utils/tools/test/h5dwalk/testh5dwalk.sh config.status: creating tools/Makefile config.status: creating tools/lib/Makefile config.status: creating tools/libtest/Makefile config.status: creating tools/src/Makefile config.status: creating tools/src/h5dump/Makefile config.status: creating tools/src/h5import/Makefile config.status: creating tools/src/h5diff/Makefile config.status: creating tools/src/h5jam/Makefile config.status: creating tools/src/h5repack/Makefile config.status: creating tools/src/h5ls/Makefile config.status: creating tools/src/h5copy/Makefile config.status: creating tools/src/misc/Makefile config.status: creating tools/src/h5stat/Makefile config.status: creating tools/test/Makefile config.status: creating tools/test/h5dump/Makefile config.status: creating tools/test/h5dump/h5dump_plugin.sh config.status: creating tools/test/h5dump/testh5dump.sh config.status: creating tools/test/h5dump/testh5dumppbits.sh config.status: creating tools/test/h5dump/testh5dumpvds.sh config.status: creating tools/test/h5dump/testh5dumpxml.sh config.status: creating tools/test/h5ls/Makefile config.status: creating tools/test/h5ls/h5ls_plugin.sh config.status: creating tools/test/h5ls/testh5ls.sh config.status: creating tools/test/h5ls/testh5lsvds.sh config.status: creating tools/test/h5import/Makefile config.status: creating tools/test/h5import/h5importtestutil.sh config.status: creating tools/test/h5diff/Makefile config.status: creating tools/test/h5diff/h5diff_plugin.sh config.status: creating tools/test/h5diff/testh5diff.sh config.status: creating tools/test/h5diff/testph5diff.sh config.status: creating tools/src/h5format_convert/Makefile config.status: creating tools/test/h5format_convert/Makefile config.status: creating tools/test/h5format_convert/testh5fc.sh config.status: creating tools/test/h5jam/Makefile config.status: creating tools/test/h5jam/testh5jam.sh config.status: creating tools/test/h5repack/Makefile config.status: creating tools/test/h5repack/h5repack.sh config.status: creating tools/test/h5repack/h5repack_plugin.sh config.status: creating tools/test/h5copy/Makefile config.status: creating tools/test/h5copy/testh5copy.sh config.status: creating tools/test/misc/Makefile config.status: creating tools/test/misc/testh5clear.sh config.status: creating tools/test/misc/testh5mkgrp.sh config.status: creating tools/test/misc/testh5repart.sh config.status: creating tools/test/misc/vds/Makefile config.status: creating tools/test/h5stat/Makefile config.status: creating tools/test/h5stat/testh5stat.sh config.status: creating tools/src/h5perf/Makefile config.status: creating tools/test/perform/Makefile config.status: creating examples/Makefile config.status: creating examples/run-c-ex.sh config.status: creating examples/testh5cc.sh config.status: creating bin/h5cc config.status: creating bin/Makefile config.status: creating c++/Makefile config.status: creating c++/src/Makefile config.status: creating c++/src/h5c++ config.status: creating c++/test/Makefile config.status: creating c++/test/H5srcdir_str.h config.status: creating c++/examples/Makefile config.status: creating c++/examples/run-c++-ex.sh config.status: creating c++/examples/testh5c++.sh config.status: creating fortran/Makefile config.status: creating fortran/src/h5fc config.status: creating fortran/src/Makefile config.status: creating fortran/src/H5fort_type_defines.h config.status: creating fortran/test/Makefile config.status: creating fortran/testpar/Makefile config.status: creating fortran/examples/Makefile config.status: creating fortran/examples/run-fortran-ex.sh config.status: creating fortran/examples/testh5fc.sh config.status: creating java/Makefile config.status: creating java/src/Makefile config.status: creating java/src/jni/Makefile config.status: creating java/test/Makefile config.status: creating java/test/junit.sh config.status: creating java/examples/Makefile config.status: creating java/examples/intro/Makefile config.status: creating java/examples/intro/JavaIntroExample.sh config.status: creating java/examples/datasets/Makefile config.status: creating java/examples/datasets/JavaDatasetExample.sh config.status: creating java/examples/datatypes/Makefile config.status: creating java/examples/datatypes/JavaDatatypeExample.sh config.status: creating java/examples/groups/Makefile config.status: creating java/examples/groups/JavaGroupExample.sh config.status: creating hl/Makefile config.status: creating hl/src/Makefile config.status: creating hl/test/Makefile config.status: creating hl/test/H5srcdir_str.h config.status: creating hl/tools/Makefile config.status: creating hl/tools/gif2h5/Makefile config.status: creating hl/tools/gif2h5/h52giftest.sh config.status: creating hl/tools/h5watch/Makefile config.status: creating hl/tools/h5watch/testh5watch.sh config.status: creating hl/examples/Makefile config.status: creating hl/examples/run-hlc-ex.sh config.status: creating hl/c++/Makefile config.status: creating hl/c++/src/Makefile config.status: creating hl/c++/test/Makefile config.status: creating hl/c++/examples/Makefile config.status: creating hl/c++/examples/run-hlc++-ex.sh config.status: creating hl/fortran/Makefile config.status: creating hl/fortran/src/Makefile config.status: creating hl/fortran/test/Makefile config.status: creating hl/fortran/examples/Makefile config.status: creating hl/fortran/examples/run-hlfortran-ex.sh config.status: creating src/H5config.h config.status: executing pubconf commands creating src/H5pubconf.h Post process src/libhdf5.settings config.status: executing depfiles commands config.status: executing libtool commands config.status: executing .classes commands sed: -I or -i may not be used with stdin SUMMARY OF THE HDF5 CONFIGURATION ================================= General Information: ------------------- HDF5 Version: 1.13.0 Configured on: Fri Apr 15 17:02:23 PDT 2022 Configured by: mmullis@mmullis-mba Host system: arm-apple-darwin21.4.0 Uname information: Darwin mmullis-mba 21.4.0 Darwin Kernel Version 21.4.0: Mon Feb 21 20:36:53 PST 2022; root:xnu-8020.101.4~2/RELEASE_ARM64_T8101 arm64 Byte sex: little-endian Installation point: /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/.. Compiling Options: ------------------ Build Mode: production Debugging Symbols: no Asserts: no Profiling: no Optimization Level: high Linking Options: ---------------- Libraries: static, shared Statically Linked Executables: LDFLAGS: H5_LDFLAGS: AM_LDFLAGS: Extra libraries: -lpthread -lz -ldl -lm Archiver: ar AR_FLAGS: cr Ranlib: ranlib Languages: ---------- C: yes C Compiler: /opt/homebrew/bin/gcc-11 ( gcc-11 (Homebrew GCC 11.2.0_3) 11.2.0) CPPFLAGS: -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib H5_CPPFLAGS: -DNDEBUG -UH5_DEBUG_API AM_CPPFLAGS: C Flags: -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib H5 C Flags: -std=c99 -Wall -Wcast-qual -Wconversion -Wextra -Wfloat-equal -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-include-dirs -Wno-c++-compat -Wno-format-nonliteral -Wshadow -Wundef -Wwrite-strings -pedantic -Wlarger-than=2560 -Wlogical-op -Wframe-larger-than=16384 -Wpacked-bitfield-compat -Wsync-nand -Wstrict-overflow=5 -Wno-unsuffixed-float-constants -Wdouble-promotion -Wtrampolines -Wstack-usage=8192 -Wmaybe-uninitialized -Wdate-time -Warray-bounds=2 -Wc99-c11-compat -Wduplicated-cond -Whsa -Wnormalized -Wnull-dereference -Wunused-const-variable -Walloca -Walloc-zero -Wduplicated-branches -Wformat-overflow=2 -Wformat-truncation=1 -Wrestrict -Wattribute-alias -Wcast-align=strict -Wshift-overflow=2 -Wattribute-alias=2 -Wmissing-profile -Wc11-c2x-compat -fstdarg-opt -fdiagnostics-urls=never -fno-diagnostics-color -s -Wbad-function-cast -Wimplicit-function-declaration -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wpointer-sign -Wpointer-to-int-cast -Wint-to-pointer-cast -Wredundant-decls -Wstrict-prototypes -Wswitch -Wunused-function -Wunused-variable -Wunused-parameter -Wcast-align -Wunused-but-set-variable -Wformat -Wincompatible-pointer-types -Wint-conversion -Wshadow -Wcast-function-type -Wmaybe-uninitialized -Wno-aggregate-return -Wno-inline -Wno-missing-format-attribute -Wno-missing-noreturn -Wno-overlength-strings -Wno-jump-misses-init -Wno-suggest-attribute=const -Wno-suggest-attribute=noreturn -Wno-suggest-attribute=pure -Wno-suggest-attribute=format -Wno-suggest-attribute=cold -Wno-suggest-attribute=malloc -O3 AM C Flags: Shared C Library: yes Static C Library: yes Fortran: no C++: no Java: no Features: --------- Parallel HDF5: no Parallel Filtered Dataset Writes: no Large Parallel I/O: no High-level library: no Dimension scales w/ new references: no Build HDF5 Tests: yes Build HDF5 Tools: yes Threadsafety: yes Default API mapping: v114 With deprecated public symbols: yes I/O filters (external): deflate(zlib) MPE: no Map (H5M) API: no Direct VFD: no Mirror VFD: no (Read-Only) S3 VFD: no (Read-Only) HDFS VFD: no dmalloc: no Packages w/ extra debug output: none API tracing: no Using memory checker: no Memory allocation sanity checks: no Function stack tracing: no Use file locking: best-effort Strict file format checks: no Optimization instrumentation: no /Applications/Xcode.app/Contents/Developer/usr/bin/make -C hdf5-1.13.0 && /Applications/Xcode.app/Contents/Developer/usr/bin/make -C hdf5-1.13.0 install Making all in src /Applications/Xcode.app/Contents/Developer/usr/bin/make all-am CC H5.lo CC H5checksum.lo CC H5dbg.lo CC H5make_libsettings.o CCLD H5make_libsettings ld: warning: option -s is obsolete and being ignored LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo | \ sed -e 's/-L/:/g' -e 's/ //g'`" \ ./H5make_libsettings H5lib_settings.c || \ (test $HDF5_Make_Ignore && echo "*** Error ignored") || \ (rm -f H5lib_settings.c ; exit 1) CC H5lib_settings.lo H5lib_settings.c:31:6: warning: size of 'H5libhdf5_settings' 4714 bytes exceeds maximum object size 2560 [-Wlarger-than=] 31 | char H5libhdf5_settings[]= | ^~~~~~~~~~~~~~~~~~ CC H5system.lo CC H5timer.lo CC H5trace.lo CC H5A.lo CC H5Abtree2.lo CC H5Adense.lo CC H5Adeprec.lo CC H5Aint.lo CC H5Atest.lo CC H5AC.lo CC H5ACdbg.lo CC H5ACproxy_entry.lo CC H5B.lo CC H5Bcache.lo CC H5Bdbg.lo H5Bdbg.c: In function 'H5B_debug': H5Bdbg.c:114:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 114 | "Address:", bt->child[u]); | ^~~~~~~~~~ H5Bdbg.c:119:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 119 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), "Left Key:"); | ^~~~~~~~~ H5Bdbg.c:121:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 121 | (void)(type->debug_key)(stream, indent + 6, MAX(0, fwidth - 6), H5B_NKEY(bt, shared, u), udata); | ^ H5Bdbg.c:124:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 124 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), "Right Key:"); | ^~~~~~~~~ H5Bdbg.c:127:37: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 127 | udata); | ^~~~~ CC H5B2.lo CC H5B2cache.lo CC H5B2dbg.lo H5B2dbg.c: In function 'H5B2__hdr_debug': H5B2dbg.c:136:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 136 | hdr->node_info[u].max_nrec, hdr->node_info[u].split_nrec, hdr->node_info[u].merge_nrec); | ^~~ H5B2dbg.c: In function 'H5B2__int_debug': H5B2dbg.c:222:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 222 | internal->node_ptrs[u].addr); | ^~~~~~~~ H5B2dbg.c:226:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 226 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), temp_str); | ^~~~~~~~~ H5B2dbg.c:229:29: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 229 | hdr->cb_ctx); | ^~~ H5B2dbg.c:236:15: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 236 | internal->node_ptrs[u].addr); | ^~~~~~~~ H5B2dbg.c: In function 'H5B2__leaf_debug': H5B2dbg.c:320:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 320 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), temp_str); | ^~~~~~~~~ H5B2dbg.c:323:29: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 323 | hdr->cb_ctx); | ^~~ CC H5B2hdr.lo CC H5B2int.lo CC H5B2internal.lo CC H5B2leaf.lo CC H5B2stat.lo CC H5B2test.lo CC H5C.lo H5C.c: In function 'H5C__autoadjust__ageout__remove_all_markers': H5C.c:9237:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 9237 | } /* H5C__remove_entry() */ | ^ H5C.c:9237:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__mark_flush_dep_clean': H5C.c:9237:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__autoadjust__ageout__insert_new_marker': H5C.c:9237:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__autoadjust__ageout__remove_excess_markers': H5C.c:9237:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c:9237:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__autoadjust__ageout__cycle_epoch_marker': H5C.c:9237:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__mark_flush_dep_serialized': H5C.c:9237:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__mark_flush_dep_clean': H5C.c:8225:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 8225 | H5C__mark_flush_dep_clean(H5C_cache_entry_t *entry) | ^~~~~~~~~~~~~~~~~~~~~~~~~ H5C.c:8225:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c:8225:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__mark_flush_dep_serialized': H5C.c:8273:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 8273 | H5C__mark_flush_dep_serialized(H5C_cache_entry_t *entry_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5C.c:8273:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c:8273:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5C.c: In function 'H5C__flush_invalidate_cache': H5C.c:5329:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5329 | H5C__flush_invalidate_cache(H5F_t *f, unsigned flags) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC H5Cdbg.lo CC H5Cepoch.lo CC H5Cimage.lo H5Cimage.c: In function 'H5C__prep_for_file_close__setup_image_entries_array': H5Cimage.c:3487:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3487 | } /* H5C__write_cache_image() */ | ^ H5Cimage.c:3487:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Cimage.c: In function 'H5C__deserialize_prefetched_entry': H5Cimage.c:3487:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Cimage.c:463:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 463 | H5C__deserialize_prefetched_entry(H5F_t *f, H5C_t *cache_ptr, H5C_cache_entry_t **entry_ptr_ptr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Cimage.c:463:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Cimage.c:463:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Clog.lo CC H5Clog_json.lo CC H5Clog_trace.lo CC H5Cprefetched.lo CC H5Cquery.lo CC H5Ctag.lo CC H5Ctest.lo CC H5CS.lo CC H5CX.lo CC H5D.lo CC H5Dbtree.lo CC H5Dbtree2.lo CC H5Dchunk.lo H5Dchunk.c: In function 'H5D__chunk_allocate': H5Dchunk.c:4424:83: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 4424 | if (H5D__fill_init(&fb_info, NULL, (H5MM_allocate_t)H5D__chunk_mem_alloc, (void *)pline, | ^ H5Dchunk.c:4425:62: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 4425 | (H5MM_free_t)H5D__chunk_mem_free, (void *)pline, &dset->shared->dcpl_cache.fill, | ^ H5Dchunk.c: In function 'H5D__chunk_iter': H5Dchunk.c:7542:25: warning: variable 'layout' set but not used [-Wunused-but-set-variable] 7542 | const H5O_layout_t *layout = NULL; /* Dataset layout */ | ^~~~~~ H5Dchunk.c: In function 'H5D__chunk_update_old_edge_chunks': H5Dchunk.c:7636:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7636 | } /* end H5D__chunk_get_offset_copy() */ | ^ H5Dchunk.c:7636:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c: In function 'H5D__chunk_allocate': H5Dchunk.c:7636:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Dchunk.c: In function 'H5D__chunk_update_old_edge_chunks': H5Dchunk.c:4769:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4769 | H5D__chunk_update_old_edge_chunks(H5D_t *dset, hsize_t old_dim[]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Dchunk.c: In function 'H5D__chunk_allocate': H5Dchunk.c:4298:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4298 | H5D__chunk_allocate(const H5D_io_info_t *io_info, hbool_t full_overwrite, const hsize_t old_dim[]) | ^~~~~~~~~~~~~~~~~~~ H5Dchunk.c: In function 'H5D__chunk_copy_cb': H5Dchunk.c:6066:33: warning: potential null pointer dereference [-Wnull-dereference] 6066 | H5MM_memcpy(buf, ent->chunk, nbytes); | ~~~^~~~~~~ H5Dchunk.c:6066:33: warning: potential null pointer dereference [-Wnull-dereference] CC H5Dcompact.lo CC H5Dcontig.lo CC H5Ddbg.lo CC H5Ddeprec.lo CC H5Dearray.lo CC H5Defl.lo CC H5Dfarray.lo CC H5Dfill.lo CC H5Dint.lo H5Dint.c: In function 'H5D__init_type': H5Dint.c:569:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 569 | dset->shared->type = (H5T_t *)type; /* (Cast away const OK - QAK) */ | ^ In file included from H5Dint.c:23: H5Dint.c: In function 'H5D_nameof': H5Dint.c:2213:49: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2213 | FUNC_LEAVE_NOAPI(dataset ? &(dataset->path) : NULL) H5private.h:2447:13: note: in definition of macro 'FUNC_LEAVE_NOAPI' 2447 | return (ret_value); \ | ^~~~~~~~~ CC H5Dio.lo H5Dio.c: In function 'H5D__read': H5Dio.c:190:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 190 | buf = (void *)adj_buf; /* Casting away 'const' OK -QAK */ | ^ CC H5Dlayout.lo CC H5Dnone.lo CC H5Doh.lo CC H5Dscatgath.lo CC H5Dselect.lo CC H5Dsingle.lo CC H5Dtest.lo CC H5Dvirtual.lo CC H5E.lo CC H5Edeprec.lo CC H5Eint.lo CC H5EA.lo CC H5EAcache.lo CC H5EAdbg.lo H5EAdbg.c: In function 'H5EA__iblock_debug': H5EAdbg.c:225:42: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 225 | ((uint8_t *)iblock->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < | ^ H5EAdbg.c:242:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 242 | iblock->dblk_addrs[u]); | ^~~~~~ H5EAdbg.c:257:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 257 | iblock->sblk_addrs[u]); | ^~~~~~ H5EAdbg.c: In function 'H5EA__sblock_debug': H5EAdbg.c:346:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 346 | sblock->dblk_addrs[u]); | ^~~~~~ H5EAdbg.c: In function 'H5EA__dblock_debug': H5EAdbg.c:425:38: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 425 | ((uint8_t *)dblock->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < 0) | ^ CC H5EAdblkpage.lo CC H5EAdblock.lo CC H5EAhdr.lo CC H5EAiblock.lo CC H5EAint.lo CC H5EAsblock.lo CC H5EAstat.lo CC H5EAtest.lo CC H5ES.lo CC H5ESevent.lo CC H5ESint.lo CC H5ESlist.lo CC H5F.lo CC H5Faccum.lo CC H5Fcwfs.lo CC H5Fdbg.lo H5Fdbg.c: In function 'H5F_debug': H5Fdbg.c:119:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 119 | H5G__ent_debug(f->shared->sblock->root_ent, stream, indent + 3, MAX(0, fwidth - 3), NULL); | ^~~~~~~~~~~~~~ H5Fdbg.c:134:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 134 | H5G__ent_debug(&root_ent, stream, indent + 3, MAX(0, fwidth - 3), NULL); | ^~~~~~~~~~~~~~ CC H5Fdeprec.lo CC H5Fefc.lo CC H5Ffake.lo CC H5Fint.lo CC H5Fio.lo CC H5Fmount.lo CC H5Fquery.lo CC H5Fsfile.lo CC H5Fspace.lo CC H5Fsuper.lo CC H5Fsuper_cache.lo CC H5Ftest.lo CC H5FA.lo CC H5FAcache.lo CC H5FAdbg.lo H5FAdbg.c: In function 'H5FA__dblock_debug': H5FAdbg.c:241:54: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 241 | (hdr->cparam.cls->nat_elmt_size * u)) < 0) | ^ H5FAdbg.c:259:42: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 259 | ((uint8_t *)dblock->elmts) + (hdr->cparam.cls->nat_elmt_size * u)) < | ^ CC H5FAdblock.lo CC H5FAdblkpage.lo CC H5FAhdr.lo CC H5FAint.lo CC H5FAstat.lo CC H5FAtest.lo CC H5FD.lo H5FD.c: In function 'H5FDget_vfd_handle': H5FD.c:1898:22: warning: null pointer dereference [-Wnull-dereference] 1898 | *file_handle = NULL; | ^ CC H5FDcore.lo CC H5FDfamily.lo H5FDfamily.c: In function 'H5FD__family_get_eof': H5FDfamily.c:1582:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1582 | } /* end H5FD__family_delete() */ | ^ H5FDfamily.c:1122:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1122 | H5FD__family_get_eof(const H5FD_t *_file, H5FD_mem_t type) | ^~~~~~~~~~~~~~~~~~~~ H5FDfamily.c:1122:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5FDint.lo CC H5FDlog.lo CC H5FDmulti.lo CC H5FDperform.lo CC H5FDsec2.lo H5FDsec2.c: In function 'H5FD__sec2_ctl': H5FDsec2.c:1076:18: warning: unused variable 'file' [-Wunused-variable] 1076 | H5FD_sec2_t *file = (H5FD_sec2_t *)_file; | ^~~~ CC H5FDspace.lo CC H5FDsplitter.lo CC H5FDstdio.lo CC H5FDtest.lo CC H5FL.lo H5FL.c: In function 'H5FL_blk_free': H5FL.c:1052:14: warning: potential null pointer dereference [-Wnull-dereference] 1052 | free_list->onlist++; | ~~~~~~~~~^~~~~~~~ H5FL.c:1048:32: warning: potential null pointer dereference [-Wnull-dereference] 1048 | temp->next = free_list->list; /* Note: Overwrites the size field in union */ | ~~~~~~~~~^~~~~~ H5FL.c:1049:21: warning: potential null pointer dereference [-Wnull-dereference] 1049 | free_list->list = temp; | ~~~~~~~~~~~~~~~~^~~~~~ H5FL.c:1052:22: warning: potential null pointer dereference [-Wnull-dereference] 1052 | free_list->onlist++; | ~~~~~~~~~~~~~~~~~^~ CC H5FO.lo CC H5FS.lo CC H5FScache.lo CC H5FSdbg.lo H5FSdbg.c: In function 'H5FS_sects_debug': H5FSdbg.c:258:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 258 | if (H5HF_sects_debug(f, client_addr, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ H5FSdbg.c:263:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 263 | if (H5MF_sects_debug(f, fs_addr, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ CC H5FSint.lo CC H5FSsection.lo CC H5FSstat.lo CC H5FStest.lo CC H5G.lo CC H5Gbtree2.lo CC H5Gcache.lo CC H5Gcompact.lo CC H5Gdense.lo CC H5Gdeprec.lo CC H5Gent.lo H5Gent.c: In function 'H5G__ent_copy': H5Gent.c:322:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 322 | H5G__ent_reset((H5G_entry_t *)src); | ^ H5Gent.c: In function 'H5G__ent_debug': H5Gent.c:516:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 516 | nested_fwidth = MAX(0, fwidth - 3); | ^~~~~~~~~~~~~ CC H5Gint.lo In file included from H5Gint.c:34: H5Gint.c: In function 'H5G_nameof': H5Gint.c:697:41: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 697 | FUNC_LEAVE_NOAPI(grp ? &(grp->path) : NULL) H5private.h:2447:13: note: in definition of macro 'FUNC_LEAVE_NOAPI' 2447 | return (ret_value); \ | ^~~~~~~~~ CC H5Glink.lo CC H5Gloc.lo H5Gloc.c: In function 'H5G__loc_insert': H5Gloc.c:581:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 581 | lnk.name = (char *)name; | ^ H5Gloc.c: In function 'H5G__loc_set_comment_cb': H5Gloc.c:931:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 931 | comment.s = (char *)udata->comment; | ^ CC H5Gname.lo H5Gname.c: In function 'H5G_name_copy': H5Gname.c:450:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 450 | H5G_name_reset((H5G_name_t *)src); | ^ CC H5Gnode.lo H5Gnode.c: In function 'H5G__node_copy': H5Gnode.c:1231:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1231 | grp_loc.oloc = (H5O_loc_t *)src_oloc; | ^ H5Gnode.c: In function 'H5G_node_debug': H5Gnode.c:1489:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1489 | fwidth = MAX(0, fwidth - 3); | ^~~~~~ CC H5Gobj.lo H5Gobj.c: In function 'H5G__obj_create_real': H5Gobj.c:247:68: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 247 | if (H5O_msg_create(oloc, H5O_LINFO_ID, 0, H5O_UPDATE_TIME, (void *)linfo) < 0) | ^ H5Gobj.c:252:74: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 252 | if (H5O_msg_create(oloc, H5O_GINFO_ID, H5O_MSG_FLAG_CONSTANT, 0, (void *)ginfo) < 0) | ^ H5Gobj.c:258:78: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 258 | if (H5O_msg_create(oloc, H5O_PLINE_ID, H5O_MSG_FLAG_CONSTANT, 0, (void *)pline) < 0) | ^ H5Gobj.c: In function 'H5G__obj_stab_to_new_cb': H5Gobj.c:402:52: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 402 | if (H5G_obj_insert(udata->grp_oloc, lnk->name, (H5O_link_t *)lnk, FALSE, H5O_TYPE_UNKNOWN, NULL) < 0) | ^ CC H5Goh.lo CC H5Groot.lo CC H5Gstab.lo CC H5Gtest.lo CC H5Gtraverse.lo H5Gtraverse.c: In function 'H5G__traverse_real': H5Gtraverse.c:718:53: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 718 | if (H5O_msg_reset(H5O_GINFO_ID, (void *)ginfo) < 0) | ^ H5Gtraverse.c:722:53: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 722 | if (H5O_msg_reset(H5O_LINFO_ID, (void *)linfo) < 0) | ^ H5Gtraverse.c:726:53: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 726 | if (H5O_msg_reset(H5O_PLINE_ID, (void *)pline) < 0) | ^ CC H5HF.lo CC H5HFbtree2.lo CC H5HFcache.lo H5HFcache.c: In function 'H5HF__cache_hdr_serialize': H5HFcache.c:745:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 745 | hdr->f = f; | ^ H5HFcache.c: In function 'H5HF__cache_iblock_serialize': H5HFcache.c:1331:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1331 | hdr->f = f; | ^ CC H5HFdbg.lo H5HFdbg.c: In function 'H5HF_hdr_print': H5HFdbg.c:288:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 288 | H5HF__dtable_debug(&hdr->man_dtable, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~~~ H5HFdbg.c:295:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 295 | "Compressed size of root direct block:", hdr->pline_root_direct_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFdbg.c:297:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 297 | "Filter mask for root direct block:", hdr->pline_root_direct_filter_mask); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFdbg.c:299:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 299 | H5O_debug_id(H5O_PLINE_ID, hdr->f, &(hdr->pline), stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~ H5HFdbg.c:308:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 308 | "Root indirect block flags:", hdr->root_iblock_flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFdbg.c:310:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 310 | "Root indirect block pointer:", (void *)hdr->root_iblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFdbg.c: In function 'H5HF_dblock_debug_cb': H5HFdbg.c:422:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 422 | temp_str, start, len); | ^~~~~~~~ H5HFdbg.c: In function 'H5HF_iblock_print': H5HFdbg.c:621:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 621 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), temp_str); | ^~~~~~~~~ H5HFdbg.c:629:27: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 629 | iblock->filt_ents[off].filter_mask); | ^~~~~~ H5HFdbg.c:632:27: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 632 | iblock->ents[off].addr); | ^~~~~~ H5HFdbg.c:646:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 646 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), temp_str); | ^~~~~~~~~ H5HFdbg.c:652:27: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 652 | iblock->ents[off].addr); | ^~~~~~ H5HFdbg.c:657:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 657 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), ""); | ^~~~~~~~~ H5HFdbg.c:665:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 665 | "Reference count:", iblock->rc); | ^~~~~~~~~~~~~~~~~~ H5HFdbg.c:669:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 669 | "Parent indirect block address:", (void *)iblock->parent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5HFdbg.c: In function 'H5HF_sects_debug_cb': H5HFdbg.c:775:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 775 | if (H5FS_sect_debug(udata->fspace, _sect, udata->stream, udata->indent + 3, MAX(0, udata->fwidth - 3)) < | ^~ CC H5HFdblock.lo CC H5HFdtable.lo CC H5HFhdr.lo CC H5HFhuge.lo CC H5HFiblock.lo CC H5HFiter.lo CC H5HFman.lo CC H5HFsection.lo H5HFsection.c: In function 'H5HF__sect_row_debug': H5HFsection.c:2047:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2047 | H5HF__sect_indirect_debug(sect->u.row.under, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ CC H5HFspace.lo CC H5HFstat.lo CC H5HFtest.lo CC H5HFtiny.lo CC H5HG.lo CC H5HGcache.lo CC H5HGdbg.lo H5HGdbg.c: In function 'H5HG_debug': H5HGdbg.c:123:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 123 | "Obffset in block:", (unsigned long)(h->obj[u].begin - h->chunk)); | ^~~~~~~~~~~~~~~~~~~ H5HGdbg.c:125:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 125 | "Reference count:", h->obj[u].nrefs); | ^~~~~~~~~~~~~~~~~~ H5HGdbg.c:128:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 128 | (unsigned long)H5HG_ALIGN(h->obj[u].size)); | ^ CC H5HGquery.lo CC H5HL.lo CC H5HLcache.lo In function 'H5HL__hdr_deserialize', inlined from 'H5HL__cache_prefix_get_final_load_size' at H5HLcache.c:365:9: H5HLcache.c:184:13: warning: 'heap.free_block' may be used uninitialized [-Wmaybe-uninitialized] 184 | if (heap->free_block != H5HL_FREE_NULL && heap->free_block >= heap->dblk_size) | ~~~~^~~~~~~~~~~~ H5HLcache.c: In function 'H5HL__cache_prefix_get_final_load_size': H5HLcache.c:353:27: note: 'heap' declared here 353 | H5HL_t heap; /* Local heap */ | ^~~~ CC H5HLdbg.lo H5HLdbg.c: In function 'H5HL_debug': H5HLdbg.c:87:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 87 | freelist->offset, freelist->size); | ^~~~~~~~ CC H5HLint.lo CC H5HLprfx.lo CC H5HLdblk.lo CC H5HP.lo CC H5I.lo CC H5Idbg.lo CC H5Iint.lo CC H5Itest.lo CC H5L.lo H5L.c: In function 'H5L__create_hard_api_common': H5L.c:510:57: warning: potential null pointer dereference [-Wnull-dereference] 510 | (*tmp_vol_obj_ptr_ptr)->connector = link_vol_obj->connector; | ~~~~~~~~~~~~^~~~~~~~~~~ H5L.c: In function 'H5Lmove': H5L.c:170:41: warning: potential null pointer dereference [-Wnull-dereference] 170 | tmp_vol_obj.connector = vol_obj2->connector; | ~~~~~~~~^~~~~~~~~~~ H5L.c: In function 'H5Lcopy': H5L.c:274:41: warning: potential null pointer dereference [-Wnull-dereference] 274 | tmp_vol_obj.connector = vol_obj2->connector; | ~~~~~~~~^~~~~~~~~~~ CC H5Ldeprec.lo CC H5Lexternal.lo CC H5Lint.lo H5Lint.c: In function 'H5L__link_cb': H5Lint.c:599:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 599 | udata->lnk->name = (char *)name; | ^ H5Lint.c: In function 'H5L__move_dest_cb': H5Lint.c:1379:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1379 | udata->lnk->name = (char *)name; | ^ H5Lint.c: In function 'H5L__link_copy_file': H5Lint.c:2126:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 2126 | lnk_grp_loc.oloc = (H5O_loc_t *)src_oloc; /* Casting away const OK -QAK */ | ^ CC H5M.lo CC H5MF.lo CC H5MFaggr.lo CC H5MFdbg.lo H5MFdbg.c: In function 'H5MF__sects_debug_cb': H5MFdbg.c:123:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 123 | if (H5FS_sect_debug(udata->fspace, _sect, udata->stream, udata->indent + 3, MAX(0, udata->fwidth - 3)) < | ^~ CC H5MFsection.lo CC H5MM.lo CC H5MP.lo CC H5MPtest.lo CC H5O.lo CC H5Odeprec.lo CC H5Oainfo.lo CC H5Oalloc.lo CC H5Oattr.lo H5Oattr.c: In function 'H5O__attr_debug': H5Oattr.c:850:15: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 850 | "Encoded Size:", (unsigned long)(mesg->shared->dt_size)); | ^~~~~~~~~~~~~~~ H5Oattr.c:851:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 851 | if ((H5O_MSG_DTYPE->debug)(f, mesg->shared->dt, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ H5Oattr.c:856:15: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 856 | "Encoded Size:", (unsigned long)(mesg->shared->ds_size)); | ^~~~~~~~~~~~~~~ H5Oattr.c:857:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 857 | if (H5S_debug(f, mesg->shared->ds, stream, indent + 3, MAX(0, fwidth - 3)) < 0) | ^~ CC H5Oattribute.lo CC H5Obogus.lo CC H5Obtreek.lo CC H5Ocache.lo H5Ocache.c: In function 'H5O__chunk_deserialize': H5Ocache.c:1437:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1437 | mesg->raw = (uint8_t *)chunk_image; /* Casting away const OK - QAK */ | ^ H5Ocache.c: In function 'H5O__chunk_serialize': H5Ocache.c:1642:31: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1642 | if (H5O_msg_flush((H5F_t *)f, oh, curr_msg) < 0) | ^ CC H5Ocache_image.lo CC H5Ochunk.lo CC H5Ocont.lo CC H5Ocopy.lo CC H5Ocopy_ref.lo CC H5Odbg.lo H5Odbg.c: In function 'H5O__debug_real': H5Odbg.c:360:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 360 | "Address:", oh->chunk[i].addr); | ^~~~~~~~~~ H5Odbg.c:375:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 375 | HDfprintf(stream, "%*s%-*s %zu\n", indent + 3, "", MAX(0, fwidth - 3), "Size in bytes:", chunk_size); | ^~~~~~~~~ H5Odbg.c:377:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 377 | HDfprintf(stream, "%*s%-*s %zu\n", indent + 3, "", MAX(0, fwidth - 3), "Gap:", oh->chunk[i].gap); | ^~~~~~~~~ H5Odbg.c:405:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 405 | sequence[oh->mesg[i].type->id]++); | ^~~~~~~~ H5Odbg.c:407:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 407 | "Dirty:", oh->mesg[i].dirty ? "TRUE" : "FALSE"); | ^~~~~~~~ H5Odbg.c:408:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 408 | HDfprintf(stream, "%*s%-*s ", indent + 3, "", MAX(0, fwidth - 3), "Message flags:"); | ^~~~~~~~~ H5Odbg.c:457:27: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 457 | "*** ADDITIONAL UNKNOWN FLAGS --->", oh->mesg[i].flags & ~H5O_MSG_FLAG_BITS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Odbg.c:463:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 463 | "Chunk number:", oh->mesg[i].chunkno); | ^~~~~~~~~~~~~~~ H5Odbg.c:469:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 469 | (size_t)(oh->mesg[i].raw - oh->chunk[chunkno].image), oh->mesg[i].raw_size); | ^ H5Odbg.c:482:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 482 | HDfprintf(stream, "%*s%-*s\n", indent + 3, "", MAX(0, fwidth - 3), "Message Information:"); | ^~~~~~~~~ H5Odbg.c:484:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 484 | (debug_type->debug)(f, oh->mesg[i].native, stream, indent + 6, MAX(0, fwidth - 6)); | ^ CC H5Odrvinfo.lo CC H5Odtype.lo H5Odtype.c: In function 'H5O__dtype_debug': H5Odtype.c:1752:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1752 | "Byte offset:", (unsigned long)(dt->shared->u.compnd.memb[i].offset)); | ^~~~~~~~~~~~~~ H5Odtype.c:1753:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1753 | H5O__dtype_debug(f, dt->shared->u.compnd.memb[i].type, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~ H5Odtype.c:1758:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1758 | H5O__dtype_debug(f, dt->shared->parent, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~ H5Odtype.c:1972:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1972 | H5O__dtype_debug(f, dt->shared->parent, stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~~~~~ CC H5Oefl.lo H5Oefl.c: In function 'H5O__efl_debug': H5Oefl.c:544:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 544 | "Name:", mesg->slot[u].name); | ^~~~~~~ H5Oefl.c:547:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 547 | "Name offset:", mesg->slot[u].name_offset); | ^~~~~~~~~~~~~~ H5Oefl.c:550:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 550 | "Offset of data in file:", (intmax_t)(mesg->slot[u].offset)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ H5Oefl.c:553:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 553 | "Bytes reserved for data:", (mesg->slot[u].size)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC H5Ofill.lo CC H5Oflush.lo CC H5Ofsinfo.lo CC H5Oginfo.lo CC H5Oint.lo CC H5Olayout.lo CC H5Olinfo.lo CC H5Olink.lo CC H5Omessage.lo In file included from H5Omessage.c:40: H5Omessage.c: In function 'H5O_msg_size_f': H5Opkg.h:114:11: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 114 | (((V) == H5O_VERSION_1) ? H5O_ALIGN_OLD(2 + /*message type */ \ | ~~~~~^~~~~~~~~~~~~~~~~ H5Opkg.h:127:15: note: in expansion of macro 'H5O_SIZEOF_MSGHDR_VERS' 127 | (unsigned)H5O_SIZEOF_MSGHDR_VERS(MAX((H5F_STORE_MSG_CRT_IDX(F) ? H5O_VERSION_LATEST : H5O_VERSION_1), \ | ^~~~~~~~~~~~~~~~~~~~~~ H5Omessage.c:1372:26: note: in expansion of macro 'H5O_SIZEOF_MSGHDR_F' 1372 | ret_value += (size_t)H5O_SIZEOF_MSGHDR_F( | ^~~~~~~~~~~~~~~~~~~ CC H5Omtime.lo CC H5Oname.lo CC H5Onull.lo CC H5Opline.lo H5Opline.c: In function 'H5O__pline_debug': H5Opline.c:663:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 663 | "Filter identification:", (unsigned)(pline->filter[i].id)); | ^~~~~~~~~~~~~~~~~~~~~~~~ H5Opline.c:666:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 666 | "Filter name:", pline->filter[i].name); | ^~~~~~~~~~~~~~ H5Opline.c:668:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 668 | HDfprintf(stream, "%*s%-*s NONE\n", indent + 3, "", MAX(0, fwidth - 3), "Filter name:"); | ^~~~~~~~~ H5Opline.c:670:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 670 | "Flags:", pline->filter[i].flags); | ^~~~~~~~ H5Opline.c:672:19: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 672 | "Num CD values:", pline->filter[i].cd_nelmts); | ^~~~~~~~~~~~~~~~ H5Opline.c:680:23: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 680 | pline->filter[i].cd_values[j]); | ^~~~~ CC H5Orefcount.lo CC H5Osdspace.lo CC H5Oshared.lo CC H5Oshmesg.lo CC H5Ostab.lo CC H5Otest.lo CC H5Ounknown.lo CC H5P.lo CC H5Pacpl.lo CC H5Pdapl.lo CC H5Pdcpl.lo CC H5Pdeprec.lo CC H5Pdxpl.lo CC H5Pencdec.lo CC H5Pfapl.lo In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:194, from H5private.h:39, from H5Pfapl.c:32: H5Pfapl.c: In function 'H5Pget_driver_config_str': H5private.h:1420:28: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1420 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ H5Pfapl.c:1639:13: note: in expansion of macro 'HDstrncpy' 1639 | HDstrncpy(config_buf, config_str, MIN(config_str_len + 1, buf_size)); | ^~~~~~~~~ In file included from H5Pfapl.c:32: H5private.h:1411:21: note: length computed here 1411 | #define HDstrlen(S) strlen(S) | ^~~~~~~~~ H5Pfapl.c:1636:33: note: in expansion of macro 'HDstrlen' 1636 | size_t config_str_len = HDstrlen(config_str); | ^~~~~~~~ CC H5Pfcpl.lo CC H5Pfmpl.lo CC H5Pgcpl.lo CC H5Pint.lo CC H5Plapl.lo CC H5Plcpl.lo CC H5Pmapl.lo CC H5Pmcpl.lo CC H5Pocpl.lo CC H5Pocpypl.lo CC H5Pstrcpl.lo CC H5Ptest.lo CC H5PB.lo CC H5PL.lo CC H5PLint.lo CC H5PLpath.lo CC H5PLplugin_cache.lo CC H5R.lo CC H5Rdeprec.lo CC H5Rint.lo CC H5UC.lo CC H5RS.lo CC H5S.lo CC H5Sall.lo H5Sall.c: In function 'H5S__all_shape_same': H5Sall.c:1188:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1188 | } /* end H5Sselect_all() */ | ^ H5Sall.c:910:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 910 | H5S__all_shape_same(H5S_t *space1, H5S_t *space2) | ^~~~~~~~~~~~~~~~~~~ H5Sall.c:910:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Sall.c:910:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Sdbg.lo H5Sdbg.c: In function 'H5S_debug': H5Sdbg.c:96:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 96 | H5O_debug_id(H5O_SDSPACE_ID, f, &(mesg->extent), stream, indent + 3, MAX(0, fwidth - 3)); | ^~~~~~~~~~~~ CC H5Sdeprec.lo CC H5Shyper.lo H5Shyper.c: In function 'H5S__hyper_proj_int_iterate': H5Shyper.c:11546:43: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 11546 | H5S__hyper_spans_nelem_helper((H5S_hyper_span_info_t *)ss_span_info, 0, udata->op_gen) * count, | ^ H5Shyper.c:72:27: note: in definition of macro 'H5S_HYPER_PROJ_INT_ADD_SKIP' 72 | (UDATA)->skip += (ADD); \ | ^~~ H5Shyper.c: In function 'H5S__hyper_iter_coords': H5Shyper.c:12392:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 12392 | } /* end H5Sget_regular_hyperslab() */ | ^ H5Shyper.c:12392:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_iter_init': H5Shyper.c:12392:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c:12392:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_shape_same': H5Shyper.c:12392:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_iter_get_seq_list': H5Shyper.c:1714:42: warning: potential null pointer dereference [-Wnull-dereference] 1714 | abs_arr[fast_dim] = curr_span->low + span_elmts; | ~~~~~~~~~^~~~~ H5Shyper.c:1717:47: warning: potential null pointer dereference [-Wnull-dereference] 1717 | if (abs_arr[fast_dim] <= curr_span->high) { | ~~~~~~~~~^~~~~~ H5Shyper.c: In function 'H5S__hyper_iter_coords': H5Shyper.c:799:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 799 | H5S__hyper_iter_coords(const H5S_sel_iter_t *iter, hsize_t *coords) | ^~~~~~~~~~~~~~~~~~~~~~ H5Shyper.c:799:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_project_simple': H5Shyper.c:6637:47: warning: potential null pointer dereference [-Wnull-dereference] 6637 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ H5Shyper.c:6637:54: warning: potential null pointer dereference [-Wnull-dereference] 6637 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ H5Shyper.c:6637:47: warning: potential null pointer dereference [-Wnull-dereference] 6637 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ H5Shyper.c:6637:54: warning: potential null pointer dereference [-Wnull-dereference] 6637 | new_space->select.sel_info.hslab->span_lst->count++; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ H5Shyper.c:6729:21: warning: potential null pointer dereference [-Wnull-dereference] 6729 | prev_span->down = base_space->select.sel_info.hslab->span_lst; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ H5Shyper.c: In function 'H5S__hyper_iter_init': H5Shyper.c:562:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 562 | H5S__hyper_iter_init(H5S_t *space, H5S_sel_iter_t *iter) | ^~~~~~~~~~~~~~~~~~~~ H5Shyper.c:562:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_shape_same': H5Shyper.c:5597:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5597 | H5S__hyper_shape_same(H5S_t *space1, H5S_t *space2) | ^~~~~~~~~~~~~~~~~~~~~ H5Shyper.c:5597:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c:5597:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Shyper.c: In function 'H5S__hyper_serialize': H5Shyper.c:4125:54: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4125 | while (temp_dim >= 0 && complete == FALSE) { H5Shyper.c:3946:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3946 | H5S__hyper_serialize(H5S_t *space, uint8_t **p) | ^~~~~~~~~~~~~~~~~~~~ H5Shyper.c: In function 'H5S__get_select_hyper_blocklist': H5Shyper.c:4705:41: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4705 | while (temp_dim >= 0 && !done) { | ^~~~~ H5Shyper.c:4594:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4594 | H5S__get_select_hyper_blocklist(H5S_t *space, hsize_t startblock, hsize_t numblocks, hsize_t *buf) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC H5Snone.lo CC H5Spoint.lo H5Spoint.c: In function 'H5S__point_shape_same': H5Spoint.c:2420:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2420 | } /* end H5Sselect_elements() */ | ^ H5Spoint.c:2420:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Spoint.c: In function 'H5S__point_offset': H5Spoint.c:2420:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Spoint.c:1694:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1694 | H5S__point_offset(const H5S_t *space, hsize_t *offset) | ^~~~~~~~~~~~~~~~~ H5Spoint.c:1694:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Spoint.c:1694:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Sselect.lo H5Sselect.c: In function 'H5S_select_shape_same': H5Sselect.c:3242:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3242 | } /* end H5Ssel_iter_close() */ | ^ H5Sselect.c:1741:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1741 | H5S_select_shape_same(H5S_t *space1, H5S_t *space2) | ^~~~~~~~~~~~~~~~~~~~~ H5Sselect.c:1741:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Sselect.c:1741:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Stest.lo CC H5SL.lo H5SL.c: In function 'H5SL_remove': H5SL.c:2276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2276 | } /* end H5SL_close() */ | ^ H5SL.c:2276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5SL.c:2276:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5SM.lo CC H5SMbtree2.lo CC H5SMcache.lo CC H5SMmessage.lo CC H5SMtest.lo CC H5T.lo H5T.c: In function 'H5T_nameof': H5T.c:5551:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 5551 | ret_value = &(dt->path); | ^ H5T.c: In function 'H5T_cmp': H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 6291 | } /* end H5T_own_vol_obj() */ | ^ H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function 'H5T__unregister': H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function 'H5T__path_find_real': H5T.c:6291:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function 'H5T_cmp': H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4482 | H5T_cmp(const H5T_t *dt1, const H5T_t *dt2, hbool_t superset) | ^~~~~~~ H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4652:16: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4652 | if (dt2->shared->u.enumer.nmembs > 1) { | ^ H5T.c:4635:16: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4635 | if (dt1->shared->u.enumer.nmembs > 1) { | ^ H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4482 | H5T_cmp(const H5T_t *dt1, const H5T_t *dt2, hbool_t superset) | ^~~~~~~ H5T.c:4482:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:4546:89: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4546 | for (i = (int)dt1->shared->u.compnd.nmembs - 1, swapped = TRUE; swapped && i >= 0; --i) { | ~~~~~~~~^~~~~~~~~ H5T.c:4558:89: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4558 | for (i = (int)dt2->shared->u.compnd.nmembs - 1, swapped = TRUE; swapped && i >= 0; --i) { | ~~~~~~~~^~~~~~~~~ H5T.c: In function 'H5Tunregister': H5T.c:2870:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2870 | H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func) | ^~~~~~~~~~~~~ H5T.c:2870:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2870:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2870:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2870:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:2870:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c: In function 'H5T__path_find_real': H5T.c:5011:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5011 | H5T__path_find_real(const H5T_t *src, const H5T_t *dst, const char *name, H5T_conv_func_t *conv) | ^~~~~~~~~~~~~~~~~~~ H5T.c:5011:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5T.c:5011:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Tarray.lo CC H5Tbit.lo CC H5Tcommit.lo CC H5Tcompound.lo CC H5Tconv.lo H5Tconv.c: In function 'H5T__conv_struct': H5Tconv.c:9542:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 9542 | } /* end H5T_reclaim_cb() */ | ^ H5Tconv.c: In function 'H5T__conv_struct_opt': H5Tconv.c:9542:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:9542:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c: In function 'H5T__conv_struct': H5Tconv.c:2201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2201 | H5T__conv_struct(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, size_t buf_stride, | ^~~~~~~~~~~~~~~~ H5Tconv.c:2201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2201:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c: In function 'H5T__conv_struct_opt': H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2428 | H5T__conv_struct_opt(hid_t src_id, hid_t dst_id, H5T_cdata_t *cdata, size_t nelmts, size_t buf_stride, | ^~~~~~~~~~~~~~~~~~~~ H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] H5Tconv.c:2428:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC H5Tcset.lo CC H5Tdbg.lo CC H5Tdeprec.lo CC H5Tenum.lo CC H5Tfields.lo CC H5Tfixed.lo CC H5Tfloat.lo CC H5detect.o CCLD H5detect ld: warning: option -s is obsolete and being ignored LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo | \ sed -e 's/-L/:/g' -e 's/ //g'`" \ ./H5detect H5Tinit.c || \ (test $HDF5_Make_Ignore && echo "*** Error ignored") || \ (rm -f H5Tinit.c ; exit 1) CC H5Tinit.lo CC H5Tnative.lo H5Tnative.c: In function 'H5T__get_native_float': H5Tnative.c:739:23: warning: duplicated 'if' condition [-Wduplicated-cond] 739 | else if (size <= sizeof(long double)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ H5Tnative.c:735:23: note: previously used here 735 | else if (size <= sizeof(double)) { | ~~~~~^~~~~~~~~~~~~~~~~ CC H5Toffset.lo CC H5Toh.lo CC H5Topaque.lo CC H5Torder.lo CC H5Tref.lo H5Tref.c: In function 'H5T__ref_mem_write': H5Tref.c:641:82: warning: unused parameter 'dst_size' [-Wunused-parameter] 641 | H5VL_object_t H5_ATTR_UNUSED *dst_file, void *dst_buf, size_t dst_size, | ~~~~~~~^~~~~~~~ H5Tref.c: In function 'H5T__ref_disk_isnull': H5Tref.c:788:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 788 | if (H5VL_blob_specific(src_file, (void *)p, &vol_cb_args) < 0) | ^ CC H5Tpad.lo CC H5Tprecis.lo CC H5Tstrpad.lo CC H5Tvisit.lo CC H5Tvlen.lo H5Tvlen.c: In function 'H5T__vlen_disk_delete': H5Tvlen.c:1038:42: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 1038 | if (H5VL_blob_specific(file, (void *)vl, &vol_cb_args) < 0) /* Casting away 'const' OK -QAK */ | ^ CC H5TS.lo CC H5VL.lo CC H5VLcallback.lo CC H5VLdyn_ops.lo CC H5VLint.lo CC H5VLnative.lo CC H5VLnative_attr.lo CC H5VLnative_blob.lo CC H5VLnative_dataset.lo CC H5VLnative_datatype.lo CC H5VLnative_file.lo CC H5VLnative_group.lo CC H5VLnative_link.lo CC H5VLnative_introspect.lo CC H5VLnative_object.lo CC H5VLnative_token.lo CC H5VLpassthru.lo CC H5VLtest.lo CC H5VM.lo CC H5WB.lo CC H5Z.lo CC H5Zdeflate.lo CC H5Zfletcher32.lo CC H5Znbit.lo CC H5Zshuffle.lo CC H5Zscaleoffset.lo CC H5Zszip.lo CC H5Ztrans.lo CCLD libhdf5.la Making all in test CC h5test.lo CC testframe.lo CC cache_common.lo cache_common.c: In function 'free_icr': cache_common.c:5321:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5321 | } /* validate_mdc_config() */ | ^ cache_common.c:5321:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'hl_row_major_scan_forward': cache_common.c:3882:40: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3882 | if ((pass) && (do_inserts) && ((idx + lag) >= 0) && ((idx + lag) <= max_indices[type]) && | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cache_common.c:5321:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5321 | } /* validate_mdc_config() */ | ^ cache_common.c:5321:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'hl_row_major_scan_backward': cache_common.c:4234:40: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4234 | if ((pass) && (do_inserts) && ((idx + lag) >= 0) && ((idx + lag) <= local_max_index) && | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ cache_common.c: In function 'row_major_scan_forward': cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3516 | row_major_scan_forward(H5F_t *file_ptr, int32_t max_index, int32_t lag, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~ cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3516:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'hl_row_major_scan_forward': cache_common.c:3848:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3848 | hl_row_major_scan_forward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:3848:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'row_major_scan_backward': cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3940 | row_major_scan_backward(H5F_t *file_ptr, int32_t max_index, int32_t lag, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:3940:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'hl_row_major_scan_backward': cache_common.c:4200:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4200 | hl_row_major_scan_backward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:4200:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4200:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4200:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4200:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c:4200:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache_common.c: In function 'hl_col_major_scan_backward': cache_common.c:4591:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4591 | hl_col_major_scan_backward(H5F_t *file_ptr, int32_t max_index, hbool_t verbose, hbool_t reset_stats, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c: In function 'check_and_validate_cache_hit_rate': cache_common.c:4989:24: warning: potential null pointer dereference [-Wnull-dereference] 4989 | cache_accesses = cache_ptr->cache_accesses; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:4988:24: warning: potential null pointer dereference [-Wnull-dereference] 4988 | cache_hits = cache_ptr->cache_hits; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c: In function 'check_and_validate_cache_size': cache_common.c:5116:34: warning: potential null pointer dereference [-Wnull-dereference] 5116 | expected_cur_num_entries = cache_ptr->index_len; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5115:34: warning: potential null pointer dereference [-Wnull-dereference] 5115 | expected_cur_size = cache_ptr->index_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5114:34: warning: potential null pointer dereference [-Wnull-dereference] 5114 | expected_min_clean_size = cache_ptr->min_clean_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cache_common.c:5113:34: warning: potential null pointer dereference [-Wnull-dereference] 5113 | expected_max_size = cache_ptr->max_cache_size; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC swmr_common.lo CC external_common.lo CCLD libh5test.la CC filter_plugin1_dsets.lo CCLD libfilter_plugin1_dsets.la CC filter_plugin2_dsets.lo CCLD libfilter_plugin2_dsets.la CC filter_plugin3_dsets.lo CCLD libfilter_plugin3_dsets.la CC filter_plugin4_groups.lo CCLD libfilter_plugin4_groups.la CC null_vfd_plugin.lo CCLD libnull_vfd_plugin.la CC null_vol_connector.lo CCLD libnull_vol_connector.la CC testhdf5.o CC tarray.o tarray.c: In function 'test_array_vlen_atomic': tarray.c:1142:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 1142 | for (k = 0; k < (i + j + 1); k++) | ^~~ tarray.c: In function 'test_array_vlen_array': tarray.c:1363:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 1363 | for (k = 0; k < (i + j + 1); k++) | ^~~ CC tattr.o CC tchecksum.o CC tconfig.o CC tfile.o tfile.c: In function 'test_libver_macros': tfile.c:7429:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7429 | VERIFY(H5_VERSION_GE(major - 1, minor, release), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7430:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7430 | VERIFY(H5_VERSION_GE(major - 1, minor + 1, release), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7430:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7431:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7431 | VERIFY(H5_VERSION_GE(major - 1, minor, release + 1), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7431:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7432:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7432 | VERIFY(H5_VERSION_GE(major, minor - 1, release), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7433:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7433 | VERIFY(H5_VERSION_GE(major, minor - 1, release + 1), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7433:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7435:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7435 | VERIFY(H5_VERSION_GE(major, minor, release - 1), TRUE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7438:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7438 | VERIFY(H5_VERSION_GE(major + 1, minor - 1, release), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7439:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7439 | VERIFY(H5_VERSION_GE(major + 1, minor - 1, release - 1), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7439:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7440:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7440 | VERIFY(H5_VERSION_GE(major, minor + 1, release), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7441:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7441 | VERIFY(H5_VERSION_GE(major, minor + 1, release - 1), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7441:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7442:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7442 | VERIFY(H5_VERSION_GE(major, minor, release + 1), FALSE, "H5_VERSION_GE"); | ^~~~~~ tfile.c:7446:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7446 | VERIFY(H5_VERSION_LE(major + 1, minor - 1, release), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7447:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7447 | VERIFY(H5_VERSION_LE(major + 1, minor - 1, release - 1), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7447:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7448:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7448 | VERIFY(H5_VERSION_LE(major, minor + 1, release), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7449:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7449 | VERIFY(H5_VERSION_LE(major, minor + 1, release - 1), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7449:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7450:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7450 | VERIFY(H5_VERSION_LE(major, minor, release + 1), TRUE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7452:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7452 | VERIFY(H5_VERSION_LE(major - 1, minor, release), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7453:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7453 | VERIFY(H5_VERSION_LE(major - 1, minor + 1, release), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7453:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7454:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7454 | VERIFY(H5_VERSION_LE(major - 1, minor + 1, release + 1), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7454:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7454:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7455:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7455 | VERIFY(H5_VERSION_LE(major, minor - 1, release), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7456:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7456 | VERIFY(H5_VERSION_LE(major, minor - 1, release + 1), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c:7456:5: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tfile.c:7458:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 7458 | VERIFY(H5_VERSION_LE(major, minor, release - 1), FALSE, "H5_VERSION_LE"); | ^~~~~~ tfile.c: In function 'test_sects_freespace': tfile.c:8136:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 8136 | } | ^ CC tgenprop.o CC th5o.o CC th5s.o CC tcoords.o tcoords.c: In function 'test_multiple_ends': tcoords.c:383:13: warning: size of 'data_buf' 69120 bytes exceeds maximum object size 2560 [-Wlarger-than=] 383 | int data_buf[4][5][3][4][2][3][6][2]; | ^~~~~~~~ tcoords.c:419:13: warning: size of 'mem5_buffer' 7680 bytes exceeds maximum object size 2560 [-Wlarger-than=] 419 | int mem5_buffer[4][5][1][4][2][1][6][2]; | ^~~~~~~~~~~ tcoords.c:375:1: warning: stack usage is 82096 bytes [-Wstack-usage=] 375 | test_multiple_ends(hid_t file, hbool_t is_chunked) | ^~~~~~~~~~~~~~~~~~ tcoords.c:640:1: warning: the frame size of 81936 bytes is larger than 16384 bytes [-Wframe-larger-than=] 640 | } | ^ CC theap.o CC tid.o tid.c: In function 'test_id_type_list': tid.c:1393:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1393 | } | ^ tid.c: In function 'test_remove_clear_type': tid.c:1393:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] tid.c: In function 'rct_free_cb': tid.c:1393:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC titerate.o titerate.c: In function 'aiter_cb': titerate.c:1208:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1208 | } | ^ titerate.c:1208:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] titerate.c: In function 'liter_cb': titerate.c:1208:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] titerate.c:1208:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC tmeta.o CC tmisc.o CC trefer.o CC trefer_deprec.o CC trefstr.o CC tselect.o CC tskiplist.o CC tsohm.o CC ttime.o CC tunicode.o CC tvlstr.o CC tvltypes.o CCLD testhdf5 ld: warning: option -s is obsolete and being ignored CC cache.o cache.c: In function 'check_flush_cache__flush_ops': cache.c:6206:41: warning: size of 'spec' 2592 bytes exceeds maximum object size 2560 [-Wlarger-than=] 6206 | struct fo_flush_cache_test_spec spec[6] = { | ^~~~ cache.c:6439:41: warning: size of 'spec' 2592 bytes exceeds maximum object size 2560 [-Wlarger-than=] 6439 | struct fo_flush_cache_test_spec spec[6] = { | ^~~~ cache.c:6962:41: warning: size of 'spec' 4320 bytes exceeds maximum object size 2560 [-Wlarger-than=] 6962 | struct fo_flush_cache_test_spec spec[10] = { | ^~~~ cache.c:7358:41: warning: size of 'spec' 4320 bytes exceeds maximum object size 2560 [-Wlarger-than=] 7358 | struct fo_flush_cache_test_spec spec[10] = { | ^~~~ cache.c: In function 'check_flush_cache__flush_op_eviction_test': cache.c:8430:34: warning: size of 'expected' 6160 bytes exceeds maximum object size 2560 [-Wlarger-than=] 8430 | struct expected_entry_status expected[10 + 31 + 14] = { | ^~~~~~~~ cache.c: In function 'check_flush_cache__single_entry': cache.c:11623:11: warning: size of 'spec' 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] 11623 | } spec[256] = | ^~~~ cache.c: In function 'check_metadata_blizzard_absence': cache.c:26891:34: warning: size of 'expected' 16800 bytes exceeds maximum object size 2560 [-Wlarger-than=] 26891 | struct expected_entry_status expected[150] = | ^~~~~~~~ cache.c: In function 'check_metadata_cork': cache.c:32879:34: warning: size of 'expected' 16800 bytes exceeds maximum object size 2560 [-Wlarger-than=] 32879 | struct expected_entry_status expected[150] = | ^~~~~~~~ cache.c: In function 'cedds__expunge_dirty_entry_in_flush_test': cache.c:33694:34: warning: size of 'expected' 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] 33694 | struct expected_entry_status expected[36] = | ^~~~~~~~ cache.c: In function 'cedds__H5C_make_space_in_cache': cache.c:33908:34: warning: size of 'expected' 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] 33908 | struct expected_entry_status expected[36] = | ^~~~~~~~ cache.c: In function 'cedds__H5C__autoadjust__ageout__evict_aged_out_entries': cache.c:34265:34: warning: size of 'expected' 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] 34265 | struct expected_entry_status expected[36] = | ^~~~~~~~ cache.c: In function 'check_flush_cache__single_entry': cc1: warning: size of '*lC4' 8192 bytes exceeds maximum object size 2560 [-Wlarger-than=] cache.c: In function 'cedds__H5C_make_space_in_cache': cc1: warning: size of '*lC30' 4032 bytes exceeds maximum object size 2560 [-Wlarger-than=] cache.c: In function 'check_flush_cache__flush_op_eviction_test': cache.c:35979:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 35979 | } /* main() */ | ^ cache.c: In function 'check_flush_cache__single_entry': cache.c:10565:1: warning: stack usage is 8384 bytes [-Wstack-usage=] 10565 | check_flush_cache__single_entry(H5F_t *file_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c: In function 'check_flush_cache__flush_ops': cache.c:4830:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4830 | check_flush_cache__flush_ops(H5F_t *file_ptr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c:4830:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] cache.c: In function 'check_metadata_blizzard_absence': cache.c:26871:1: warning: stack usage is 16944 bytes [-Wstack-usage=] 26871 | check_metadata_blizzard_absence(hbool_t fill_via_insertion, unsigned paged) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c:27698:1: warning: the frame size of 16816 bytes is larger than 16384 bytes [-Wframe-larger-than=] 27698 | } /* check_metadata_blizzard_absence() */ | ^ cache.c: In function 'check_metadata_cork': cache.c:32858:1: warning: stack usage is 16928 bytes [-Wstack-usage=] 32858 | check_metadata_cork(hbool_t fill_via_insertion, unsigned paged) | ^~~~~~~~~~~~~~~~~~~ cache.c:33554:1: warning: the frame size of 16800 bytes is larger than 16384 bytes [-Wframe-larger-than=] 33554 | } /* check_metadata_cork() */ | ^ CCLD cache ld: warning: option -s is obsolete and being ignored CC cache_api.o CCLD cache_api ld: warning: option -s is obsolete and being ignored CC cache_image.o CC genall5.o CCLD cache_image ld: warning: option -s is obsolete and being ignored CC cache_tagging.o cache_tagging.c: In function 'check_dense_attribute_tags': cache_tagging.c:1088:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1088 | check_dense_attribute_tags(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cache_tagging.c:1088:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CCLD cache_tagging ld: warning: option -s is obsolete and being ignored CC lheap.o CCLD lheap ld: warning: option -s is obsolete and being ignored CC ohdr.o CCLD ohdr ld: warning: option -s is obsolete and being ignored CC stab.o CCLD stab ld: warning: option -s is obsolete and being ignored CC gheap.o CCLD gheap ld: warning: option -s is obsolete and being ignored CC evict_on_close.o CCLD evict_on_close ld: warning: option -s is obsolete and being ignored CC farray.o CCLD farray ld: warning: option -s is obsolete and being ignored CC earray.o CCLD earray ld: warning: option -s is obsolete and being ignored CC btree2.o CCLD btree2 ld: warning: option -s is obsolete and being ignored CC fheap.o CCLD fheap ld: warning: option -s is obsolete and being ignored CC pool.o CCLD pool ld: warning: option -s is obsolete and being ignored CC accum.o CCLD accum ld: warning: option -s is obsolete and being ignored CC hyperslab.o CCLD hyperslab ld: warning: option -s is obsolete and being ignored CC istore.o CCLD istore ld: warning: option -s is obsolete and being ignored CC bittests.o CCLD bittests ld: warning: option -s is obsolete and being ignored CC dt_arith.o dt_arith.c: In function 'my_isnan': dt_arith.c:2697:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2697 | retval = (x != x); | ^~ dt_arith.c:2702:21: warning: comparing floating-point with '==' or '!=' is unsafe [-Wfloat-equal] 2702 | retval = (x != x); | ^~ CCLD dt_arith ld: warning: option -s is obsolete and being ignored CC page_buffer.o CCLD page_buffer ld: warning: option -s is obsolete and being ignored CC dtypes.o CCLD dtypes ld: warning: option -s is obsolete and being ignored CC dsets.o dsets.c: In function 'make_random_offset_and_increment': dsets.c:7861:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 7861 | maxinc = MIN(nelts - 1, LONG_MAX - nelts); | ^~~~~~ CCLD dsets ld: warning: option -s is obsolete and being ignored CC chunk_info.o CCLD chunk_info ld: warning: option -s is obsolete and being ignored CC cmpd_dset.o CCLD cmpd_dset ld: warning: option -s is obsolete and being ignored CC cmpd_dtransform.o CCLD cmpd_dtransform ld: warning: option -s is obsolete and being ignored CC filter_fail.o CCLD filter_fail ld: warning: option -s is obsolete and being ignored CC extend.o CCLD extend ld: warning: option -s is obsolete and being ignored CC direct_chunk.o CCLD direct_chunk ld: warning: option -s is obsolete and being ignored CC external.o CCLD external ld: warning: option -s is obsolete and being ignored CC efc.o CCLD efc ld: warning: option -s is obsolete and being ignored CC objcopy.o CCLD objcopy ld: warning: option -s is obsolete and being ignored CC objcopy_ref.o objcopy_ref.c: In function 'compare_data': objcopy_ref.c:942:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 942 | ref_buf1 = (H5R_ref_t *)buf1; | ^ objcopy_ref.c:943:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 943 | ref_buf2 = (H5R_ref_t *)buf2; | ^ CCLD objcopy_ref ld: warning: option -s is obsolete and being ignored CC links.o CCLD links ld: warning: option -s is obsolete and being ignored CC unlink.o CCLD unlink ld: warning: option -s is obsolete and being ignored CC twriteorder.o CCLD twriteorder ld: warning: option -s is obsolete and being ignored CC big.o CCLD big ld: warning: option -s is obsolete and being ignored CC mtime.o CCLD mtime ld: warning: option -s is obsolete and being ignored CC fillval.o CCLD fillval ld: warning: option -s is obsolete and being ignored CC mount.o CCLD mount ld: warning: option -s is obsolete and being ignored CC flush1.o CCLD flush1 ld: warning: option -s is obsolete and being ignored CC flush2.o CCLD flush2 ld: warning: option -s is obsolete and being ignored CC app_ref.o app_ref.c: In function 'main': app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 199 | } | ^ app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:199:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:113:5: note: in expansion of macro 'RAND_INC' 113 | RAND_INC(T_FILE) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:119:5: note: in expansion of macro 'RAND_INC' 119 | RAND_INC(T_PLIST) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:125:5: note: in expansion of macro 'RAND_INC' 125 | RAND_INC(T_PCLASS) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:131:5: note: in expansion of macro 'RAND_INC' 131 | RAND_INC(T_TYPE) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:137:5: note: in expansion of macro 'RAND_INC' 137 | RAND_INC(T_SPACE) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:144:5: note: in expansion of macro 'RAND_INC' 144 | RAND_INC(T_DSET) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:151:5: note: in expansion of macro 'RAND_INC' 151 | RAND_INC(T_ATTR) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:157:5: note: in expansion of macro 'RAND_INC' 157 | RAND_INC(T_GROUP) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:163:5: note: in expansion of macro 'RAND_INC' 163 | RAND_INC(T_ECLASS) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:169:5: note: in expansion of macro 'RAND_INC' 169 | RAND_INC(T_EMSG) | ^~~~~~~~ app_ref.c:35:19: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 35 | for (i = 0; i < ninc; i++) \ | ~~^~~~~~ app_ref.c:175:5: note: in expansion of macro 'RAND_INC' 175 | RAND_INC(T_ESTACK) | ^~~~~~~~ CCLD app_ref ld: warning: option -s is obsolete and being ignored CC enum.o CCLD enum ld: warning: option -s is obsolete and being ignored CC set_extent.o set_extent.c: In function 'test_random_rank4': set_extent.c:2256:23: warning: size of 'rbuf' 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2256 | static int rbuf[10][10][10][10]; /* Read buffer */ | ^~~~ set_extent.c:2257:23: warning: size of 'wbuf' 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2257 | static int wbuf[10][10][10][10]; /* Write buffer */ | ^~~~ set_extent.c:2258:23: warning: size of 'dim_log' 3232 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2258 | static hsize_t dim_log[RAND4_NITER + 1][4]; /* Log of dataset dimensions */ | ^~~~~~~ set_extent.c: In function 'test_random_rank4_vl': set_extent.c:2453:23: warning: size of 'rbuf' 160000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2453 | static hvl_t rbuf[10][10][10][10]; /* Read buffer */ | ^~~~ set_extent.c:2454:23: warning: size of 'wbuf' 160000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2454 | static hvl_t wbuf[10][10][10][10]; /* Write buffer */ | ^~~~ set_extent.c:2455:23: warning: size of 'dim_log' 3232 bytes exceeds maximum object size 2560 [-Wlarger-than=] 2455 | static hsize_t dim_log[RAND4_NITER + 1][4]; /* Log of dataset dimensions */ | ^~~~~~~ CCLD set_extent ld: warning: option -s is obsolete and being ignored CC ttsafe.o CC ttsafe_dcreate.o CC ttsafe_error.o CC ttsafe_cancel.o CC ttsafe_acreate.o CC ttsafe_attr_vlen.o CCLD ttsafe ld: warning: option -s is obsolete and being ignored CC enc_dec_plist.o CCLD enc_dec_plist ld: warning: option -s is obsolete and being ignored CC enc_dec_plist_cross_platform.o CCLD enc_dec_plist_cross_platform ld: warning: option -s is obsolete and being ignored CC getname.o CCLD getname ld: warning: option -s is obsolete and being ignored CC vfd.o CCLD vfd ld: warning: option -s is obsolete and being ignored CC ros3.o CCLD ros3 ld: warning: option -s is obsolete and being ignored CC s3comms.o CCLD s3comms ld: warning: option -s is obsolete and being ignored CC hdfs.o CCLD hdfs ld: warning: option -s is obsolete and being ignored CC ntypes.o ntypes.c:29:7: warning: size of 'ipoints2' 80000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 29 | int ipoints2[DIM0][DIM1], icheck2[DIM0][DIM1]; | ^~~~~~~~ ntypes.c:29:29: warning: size of 'icheck2' 80000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 29 | int ipoints2[DIM0][DIM1], icheck2[DIM0][DIM1]; | ^~~~~~~ ntypes.c:30:7: warning: size of 'spoints2' 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 30 | short spoints2[DIM0][DIM1], scheck2[DIM0][DIM1]; | ^~~~~~~~ ntypes.c:30:29: warning: size of 'scheck2' 40000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 30 | short spoints2[DIM0][DIM1], scheck2[DIM0][DIM1]; | ^~~~~~~ ntypes.c:31:7: warning: size of 'ipoints3' 400000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 31 | int ipoints3[DIM0][DIM1][5], icheck3[DIM0][DIM1][5]; | ^~~~~~~~ ntypes.c:31:32: warning: size of 'icheck3' 400000 bytes exceeds maximum object size 2560 [-Wlarger-than=] 31 | int ipoints3[DIM0][DIM1][5], icheck3[DIM0][DIM1][5]; | ^~~~~~~ CCLD ntypes ld: warning: option -s is obsolete and being ignored CC dangle.o CCLD dangle ld: warning: option -s is obsolete and being ignored CC dtransform.o dtransform.c: In function 'main': dtransform.c:349:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 349 | TEST_TYPE_CONTIG(dxpl_id_utrans_inv, char, H5T_NATIVE_CHAR, "char", transformData, 0); | ^~~~~~~~~~~~~~~~ dtransform.c:349:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:349:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:349:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:350:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 350 | TEST_TYPE_CONTIG(dxpl_id_utrans_inv, unsigned char, H5T_NATIVE_UCHAR, "uchar", transformData, 0); | ^~~~~~~~~~~~~~~~ dtransform.c:350:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:350:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:350:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:351:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 351 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, signed char, H5T_NATIVE_SCHAR, "schar", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:351:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:351:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:351:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:352:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 352 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, short, H5T_NATIVE_SHORT, "short", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:352:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:352:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:352:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:353:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 353 | TEST_TYPE_CONTIG(dxpl_id_utrans_inv, unsigned short, H5T_NATIVE_USHORT, "ushort", transformData, 0); | ^~~~~~~~~~~~~~~~ dtransform.c:353:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:353:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:353:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:354:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 354 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, int, H5T_NATIVE_INT, "int", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:354:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:354:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:354:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:356:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 356 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, long, H5T_NATIVE_LONG, "long", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:356:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:356:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:356:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:358:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 358 | TEST_TYPE_CONTIG(dxpl_id_c_to_f, long long, H5T_NATIVE_LLONG, "llong", windchillFfloat, 1); | ^~~~~~~~~~~~~~~~ dtransform.c:358:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:358:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:358:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:364:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 364 | TEST_TYPE_CHUNK(dxpl_id_utrans_inv, char, H5T_NATIVE_CHAR, "char", transformData, 0); | ^~~~~~~~~~~~~~~ dtransform.c:364:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:365:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 365 | TEST_TYPE_CHUNK(dxpl_id_utrans_inv, unsigned char, H5T_NATIVE_UCHAR, "uchar", transformData, 0); | ^~~~~~~~~~~~~~~ dtransform.c:365:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:366:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 366 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, signed char, H5T_NATIVE_SCHAR, "schar", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:366:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:367:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 367 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, short, H5T_NATIVE_SHORT, "short", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:367:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:368:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 368 | TEST_TYPE_CHUNK(dxpl_id_utrans_inv, unsigned short, H5T_NATIVE_USHORT, "ushort", transformData, 0); | ^~~~~~~~~~~~~~~ dtransform.c:368:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:369:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 369 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, int, H5T_NATIVE_INT, "int", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:369:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:371:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 371 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, long, H5T_NATIVE_LONG, "long", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:371:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:373:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 373 | TEST_TYPE_CHUNK(dxpl_id_c_to_f, long long, H5T_NATIVE_LLONG, "llong", windchillFfloat, 1); | ^~~~~~~~~~~~~~~ dtransform.c:373:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 973 | } | ^ dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:973:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 303 | main(void) | ^~~~ dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] dtransform.c:303:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CCLD dtransform ld: warning: option -s is obsolete and being ignored CC reserved.o CCLD reserved ld: warning: option -s is obsolete and being ignored CC cross_read.o CCLD cross_read ld: warning: option -s is obsolete and being ignored CC freespace.o CCLD freespace ld: warning: option -s is obsolete and being ignored CC mf.o CCLD mf ld: warning: option -s is obsolete and being ignored CC vds.o CCLD vds ld: warning: option -s is obsolete and being ignored CC file_image.o CCLD file_image ld: warning: option -s is obsolete and being ignored CC unregister.o CCLD unregister ld: warning: option -s is obsolete and being ignored CC cache_logging.o CCLD cache_logging ld: warning: option -s is obsolete and being ignored CC cork.o cork.c: In function 'verify_named_cork': cork.c:932:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 932 | verify_named_cork(hbool_t swmr) | ^~~~~~~~~~~~~~~~~ cork.c:932:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CCLD cork ld: warning: option -s is obsolete and being ignored CC swmr.o CCLD swmr ld: warning: option -s is obsolete and being ignored CC thread_id.o CCLD thread_id ld: warning: option -s is obsolete and being ignored CC vol.o CCLD vol ld: warning: option -s is obsolete and being ignored CC timer.o CCLD timer ld: warning: option -s is obsolete and being ignored CC event_set.o CCLD event_set ld: warning: option -s is obsolete and being ignored CC error_test.o CCLD error_test ld: warning: option -s is obsolete and being ignored CC err_compat.o CCLD err_compat ld: warning: option -s is obsolete and being ignored CC tcheck_version.o tcheck_version.c: In function 'parse': tcheck_version.c:61:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 61 | parse(int ac, char **av) | ^~~~~ CCLD tcheck_version ld: warning: option -s is obsolete and being ignored CC testmeta.o CCLD testmeta ld: warning: option -s is obsolete and being ignored CC accum_swmr_reader.o CCLD accum_swmr_reader ld: warning: option -s is obsolete and being ignored CC atomic_writer.o CCLD atomic_writer ld: warning: option -s is obsolete and being ignored CC atomic_reader.o CCLD atomic_reader ld: warning: option -s is obsolete and being ignored CC external_env.o CCLD external_env ld: warning: option -s is obsolete and being ignored CC links_env.o CCLD links_env ld: warning: option -s is obsolete and being ignored CC filenotclosed.o CCLD filenotclosed ld: warning: option -s is obsolete and being ignored CC del_many_dense_attrs.o del_many_dense_attrs.c: In function 'main': del_many_dense_attrs.c:59:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 59 | main(void) | ^~~~ del_many_dense_attrs.c:59:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] del_many_dense_attrs.c:59:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] del_many_dense_attrs.c:59:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CCLD del_many_dense_attrs ld: warning: option -s is obsolete and being ignored CC flushrefresh.o CCLD flushrefresh ld: warning: option -s is obsolete and being ignored CC use_append_chunk.o CC use_common.o CCLD use_append_chunk ld: warning: option -s is obsolete and being ignored CC use_append_chunk_mirror.o CCLD use_append_chunk_mirror ld: warning: option -s is obsolete and being ignored CC use_append_mchunks.o CCLD use_append_mchunks ld: warning: option -s is obsolete and being ignored CC use_disable_mdc_flushes.o CCLD use_disable_mdc_flushes ld: warning: option -s is obsolete and being ignored CC swmr_generator.o CCLD swmr_generator ld: warning: option -s is obsolete and being ignored CC swmr_start_write.o CCLD swmr_start_write ld: warning: option -s is obsolete and being ignored CC swmr_reader.o CCLD swmr_reader ld: warning: option -s is obsolete and being ignored CC swmr_writer.o CCLD swmr_writer ld: warning: option -s is obsolete and being ignored CC swmr_remove_reader.o CCLD swmr_remove_reader ld: warning: option -s is obsolete and being ignored CC swmr_remove_writer.o CCLD swmr_remove_writer ld: warning: option -s is obsolete and being ignored CC swmr_addrem_writer.o CCLD swmr_addrem_writer ld: warning: option -s is obsolete and being ignored CC swmr_sparse_reader.o swmr_sparse_reader.c: In function 'read_records': swmr_sparse_reader.c:262:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 262 | if (HDtime(NULL) >= (time_t)(start_time + (time_t)TIMEOUT)) { | ^~ CCLD swmr_sparse_reader ld: warning: option -s is obsolete and being ignored CC swmr_sparse_writer.o CCLD swmr_sparse_writer ld: warning: option -s is obsolete and being ignored CC vds_env.o vds_env.c: In function 'test_vds_prefix_second': vds_env.c:45:1: warning: stack usage is 9648 bytes [-Wstack-usage=] 45 | test_vds_prefix_second(unsigned config, hid_t fapl) | ^~~~~~~~~~~~~~~~~~~~~~ CCLD vds_env ld: warning: option -s is obsolete and being ignored CC vds_swmr_gen.o CCLD vds_swmr_gen ld: warning: option -s is obsolete and being ignored CC vds_swmr_reader.o CCLD vds_swmr_reader ld: warning: option -s is obsolete and being ignored CC vds_swmr_writer.o vds_swmr_writer.c: In function 'main': vds_swmr_writer.c:117:26: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 117 | while (HDtime(0) < delay) CCLD vds_swmr_writer ld: warning: option -s is obsolete and being ignored CC filter_plugin.o CCLD filter_plugin ld: warning: option -s is obsolete and being ignored CC vfd_plugin.o CCLD vfd_plugin ld: warning: option -s is obsolete and being ignored CC vol_plugin.o CCLD vol_plugin ld: warning: option -s is obsolete and being ignored Making all in bin Making all in tools Making all in lib CC h5tools.lo h5tools.c: In function 'init_acc_pos': h5tools.c:2300:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2300 | } | ^ CC h5tools_dump.lo CC h5tools_str.lo h5tools_str.c: In function 'h5tools_str_sprint': h5tools_str.c:709:46: warning: duplicated 'if' condition [-Wduplicated-cond] 709 | else if (sizeof(long double) == nsize) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~ h5tools_str.c:702:41: note: previously used here 702 | else if (sizeof(double) == nsize) { | ~~~~~~~~~~~~~~~^~~~~~~~ CC h5tools_utils.lo CC h5diff.lo CC h5diff_array.lo CC h5diff_attr.lo CC h5diff_dset.lo CC h5diff_util.lo h5diff_util.c: In function 'print_dimensions': h5diff_util.c:365:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 365 | } | ^ h5diff_util.c:30:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 30 | print_dimensions(int rank, hsize_t *dims) | ^~~~~~~~~~~~~~~~ h5diff_util.c:30:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC h5trav.lo CC h5tools_filters.lo CC h5tools_ref.lo CC h5tools_type.lo CC io_timer.lo CCLD libh5tools.la Making all in src Making all in h5diff CC h5diff_main.o CC h5diff_common.o CCLD h5diff ld: warning: option -s is obsolete and being ignored Making all in h5ls CC h5ls.o CCLD h5ls ld: warning: option -s is obsolete and being ignored Making all in h5dump CC h5dump.o CC h5dump_ddl.o h5dump_ddl.c: In function 'attr_search': h5dump_ddl.c:2112:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 2112 | } | ^ h5dump_ddl.c:2112:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5dump_ddl.c:1308:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1308 | attr_search(hid_t oid, const char *attr_name, const H5A_info_t H5_ATTR_UNUSED *ainfo, void *_op_data) | ^~~~~~~~~~~ h5dump_ddl.c:1308:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC h5dump_xml.o CCLD h5dump ld: warning: option -s is obsolete and being ignored Making all in misc CC h5debug.o CCLD h5debug ld: warning: option -s is obsolete and being ignored CC h5repart.o CCLD h5repart ld: warning: option -s is obsolete and being ignored CC h5mkgrp.o CCLD h5mkgrp ld: warning: option -s is obsolete and being ignored CC h5clear.o CCLD h5clear ld: warning: option -s is obsolete and being ignored CC h5delete.o CCLD h5delete ld: warning: option -s is obsolete and being ignored Making all in h5import CC h5import.o h5import.c: In function 'processConfigurationFile': h5import.c:5092:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 5092 | } | ^ h5import.c:5092:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:5092:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function 'processStrHDFData': h5import.c:5092:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function 'processStrData': h5import.c:5092:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function 'process': h5import.c:5092:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function 'processStrHDFData': h5import.c:1090:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1090 | processStrHDFData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~~~~ h5import.c:1090:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:1126:22: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 1126 | while (j < in->path.count - 1) { | ~~^~~~~~~~~~~~~~~~~~~~ h5import.c:1090:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1090 | processStrHDFData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~~~~ h5import.c: In function 'processStrData': h5import.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 948 | processStrData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~ h5import.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:1000:22: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 1000 | while (j < in->path.count - 1) { | ~~^~~~~~~~~~~~~~~~~~~~ h5import.c:948:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 948 | processStrData(FILE *strm, struct Input *in, hid_t file_id) | ^~~~~~~~~~~~~~ h5import.c: In function 'processConfigurationFile': h5import.c:1381:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1381 | processConfigurationFile(char *infile, struct Input *in) | ^~~~~~~~~~~~~~~~~~~~~~~~ h5import.c:1381:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:1381:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c: In function 'process': h5import.c:4589:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4589 | process(struct Options *opt) | ^~~~~~~ h5import.c:4589:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] h5import.c:4649:30: warning: assuming signed overflow does not occur when simplifying range test [-Wstrict-overflow] 4649 | while (j < in->path.count - 1) { | ~~^~~~~~~~~~~~~~~~~~~~ h5import.c:4589:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 4589 | process(struct Options *opt) | ^~~~~~~ CCLD h5import ld: warning: option -s is obsolete and being ignored Making all in h5repack CC h5repack.lo h5repack.c: In function 'h5repack_addfilter': h5repack.c:939:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 939 | } /* end get_sfilter() */ | ^ CC h5repack_copy.lo CC h5repack_filters.lo CC h5repack_opttable.lo CC h5repack_parse.lo CC h5repack_refs.lo h5repack_refs.c: In function 'copy_refs_attr': h5repack_refs.c:440:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 440 | copy_refs_attr(hid_t loc_in, hid_t loc_out, trav_table_t *travt, hid_t fidout) /* for saving references */ | ^~~~~~~~~~~~~~ CC h5repack_verify.lo CCLD libh5repack.la CC h5repack_main.o CCLD h5repack ld: warning: option -s is obsolete and being ignored Making all in h5jam CC h5jam.o CCLD h5jam ld: warning: option -s is obsolete and being ignored CC h5unjam.o CCLD h5unjam ld: warning: option -s is obsolete and being ignored Making all in h5copy CC h5copy.o CCLD h5copy ld: warning: option -s is obsolete and being ignored Making all in h5format_convert CC h5format_convert.o CCLD h5format_convert ld: warning: option -s is obsolete and being ignored Making all in h5stat CC h5stat.o CCLD h5stat ld: warning: option -s is obsolete and being ignored Making all in h5perf CC sio_perf.o sio_perf.c: In function 'output_all_info': sio_perf.c:1301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1301 | } /* end usage() */ | ^ sio_perf.c:1301:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_perf.c: In function 'main': sio_perf.c:188:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 188 | main(int argc, const char *argv[]) | ^~~~ sio_perf.c:188:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_perf.c:188:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_perf.c:188:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_perf.c:188:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] CC sio_engine.o sio_engine.c: In function 'set_vfd': sio_engine.c:1167:21: warning: size of 'sv' 7168 bytes exceeds maximum object size 2560 [-Wlarger-than=] 1167 | char sv[H5FD_MEM_NTYPES][1024]; | ^~ sio_engine.c:1181:13: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1181 | memb_addr[mt] = (haddr_t)MAX(mt - 1, 0) * (HADDR_MAX / 10); | ^~~~~~~~~ sio_engine.c: In function 'do_write': sio_engine.c:1328:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 1328 | } | ^ sio_engine.c: In function 'do_read': sio_engine.c:1328:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_engine.c: In function 'do_sio': sio_engine.c:129:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 129 | do_sio(parameters param, results *res) | ^~~~~~ sio_engine.c:129:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_engine.c:129:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] sio_engine.c:129:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:194, from ../../../src/H5private.h:39, from sio_perf.h:18, from sio_engine.c:33: In function 'sio_create_filename', inlined from 'do_sio' at sio_engine.c:205:5: ../../../src/H5private.h:1420:28: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 1420 | #define HDstrncpy(X, Y, Z) strncpy(X, Y, Z) | ^~~~~~~ sio_engine.c:348:13: note: in expansion of macro 'HDstrncpy' 348 | HDstrncpy(fullname, prefix, size); | ^~~~~~~~~ CCLD h5perf_serial ld: warning: option -s is obsolete and being ignored make[4]: Nothing to be done for `all-am'. Making all in test Making all in h5diff CC dynlib_diff.lo CCLD libdynlibdiff.la CC h5diffgentest.o h5diffgentest.c: In function 'write_attr_strings': h5diffgentest.c:5672:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 5672 | for (l = 0; l < i + 1; l++) | ^~~ h5diffgentest.c:6071:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 6071 | for (l = 0; l < i + 1; l++) | ^~~ h5diffgentest.c: In function 'write_attr_in': h5diffgentest.c:6661:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 6661 | for (l = 0; l < i + 1; l++) | ^~~ h5diffgentest.c:7061:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 7061 | for (l = 0; l < i + 1; l++) | ^~~ h5diffgentest.c: In function 'write_dset_in': h5diffgentest.c:7552:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 7552 | for (l = 0; l < i + 1; l++) { | ^~~ h5diffgentest.c:7731:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 7731 | for (l = 0; l < i + 1; l++) { | ^~~ CCLD h5diffgentest ld: warning: option -s is obsolete and being ignored Making all in h5ls CC dynlib_ls.lo CCLD libdynlibls.la Making all in h5dump CC dynlib_dump.lo CCLD libdynlibdump.la CC h5dumpgentest.o h5dumpgentest.c: In function 'gent_vldatatypes': h5dumpgentest.c:2694:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 2694 | for (j = 0; j < i + 1; j++) | ^~~ h5dumpgentest.c:2721:9: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 2721 | for (j = 0; j < i + 1; j++) | ^~~ h5dumpgentest.c: In function 'gent_vldatatypes5': h5dumpgentest.c:2997:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 2997 | for (j = 0; j < i + 5; j++) | ^~~ h5dumpgentest.c: In function 'gent_array6': h5dumpgentest.c:3445:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 3445 | for (k = 0; k < (i + j + 1); k++) | ^~~ h5dumpgentest.c: In function 'gent_array7': h5dumpgentest.c:3507:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 3507 | for (k = 0; k < (i + j + 1); k++) | ^~~ h5dumpgentest.c: In function 'gent_multi': h5dumpgentest.c:3885:9: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 3885 | memb_addr[mt] = (haddr_t)MAX(mt - 1, 0) * (HADDR_MAX / 10); | ^~~~~~~~~ h5dumpgentest.c: In function 'write_attr_in': h5dumpgentest.c:4264:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 4264 | for (l = 0; l < i + 1; l++) | ^~~ h5dumpgentest.c:4394:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 4394 | for (l = 0; l < i + 1; l++) | ^~~ h5dumpgentest.c: In function 'write_dset_in': h5dumpgentest.c:4693:13: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 4693 | for (l = 0; l < i + 1; l++) | ^~~ h5dumpgentest.c:4830:17: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 4830 | for (l = 0; l < i + 1; l++) | ^~~ h5dumpgentest.c: In function 'main': h5dumpgentest.c:11353:1: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow] 11353 | main(void) | ^~~~ CCLD h5dumpgentest ld: warning: option -s is obsolete and being ignored CC binread.o CCLD binread ld: warning: option -s is obsolete and being ignored Making all in misc Making all in vds CC UC_1_one_dim_gen.o CCLD UC_1_one_dim_gen ld: warning: option -s is obsolete and being ignored CC UC_2_two_dims_gen.o CCLD UC_2_two_dims_gen ld: warning: option -s is obsolete and being ignored CC UC_3_gaps_gen.o CCLD UC_3_gaps_gen ld: warning: option -s is obsolete and being ignored CC UC_4_printf_gen.o CCLD UC_4_printf_gen ld: warning: option -s is obsolete and being ignored CC UC_5_stride_gen.o CCLD UC_5_stride_gen ld: warning: option -s is obsolete and being ignored CC h5repart_gentest.o CCLD h5repart_gentest ld: warning: option -s is obsolete and being ignored CC h5clear_gentest.o h5clear_gentest.c: In function 'gen_enhance_files': h5clear_gentest.c:207:5: warning: assuming signed overflow does not occur when reducing constant in comparison [-Wstrict-overflow] 207 | for (i = 0 + u; i < 3 + u; i++) { | ^~~ CCLD h5clear_gentest ld: warning: option -s is obsolete and being ignored CC talign.o CCLD talign ld: warning: option -s is obsolete and being ignored CC repart_test.o CCLD repart_test ld: warning: option -s is obsolete and being ignored CC clear_open_chk.o CCLD clear_open_chk ld: warning: option -s is obsolete and being ignored Making all in h5import CC h5importtest.o CCLD h5importtest ld: warning: option -s is obsolete and being ignored Making all in h5repack CC dynlib_rpk.lo CCLD libdynlibadd.la CC dynlib_vrpk.lo CCLD libdynlibvers.la CC h5repacktst.o CCLD h5repacktst ld: warning: option -s is obsolete and being ignored CC testh5repack_detect_szip.o CCLD testh5repack_detect_szip ld: warning: option -s is obsolete and being ignored CC h5repackgentest.o CCLD h5repackgentest ld: warning: option -s is obsolete and being ignored Making all in h5jam CC tellub.o CCLD tellub ld: warning: option -s is obsolete and being ignored CC h5jamgentest.o CCLD h5jamgentest ld: warning: option -s is obsolete and being ignored CC getub.o CCLD getub ld: warning: option -s is obsolete and being ignored Making all in h5copy CC h5copygentest.o CCLD h5copygentest ld: warning: option -s is obsolete and being ignored Making all in h5format_convert CC h5fc_gentest.o CCLD h5fc_gentest ld: warning: option -s is obsolete and being ignored CC h5fc_chk_idx.o CCLD h5fc_chk_idx ld: warning: option -s is obsolete and being ignored Making all in h5stat CC h5stat_gentest.o CCLD h5stat_gentest ld: warning: option -s is obsolete and being ignored Making all in perform CC iopipe.o CCLD iopipe ld: warning: option -s is obsolete and being ignored CC chunk.o CCLD chunk ld: warning: option -s is obsolete and being ignored CC chunk_cache.o CCLD chunk_cache ld: warning: option -s is obsolete and being ignored CC overhead.o CCLD overhead ld: warning: option -s is obsolete and being ignored CC zip_perf.o CCLD zip_perf ld: warning: option -s is obsolete and being ignored CC perf_meta.o CCLD perf_meta ld: warning: option -s is obsolete and being ignored make[4]: Nothing to be done for `all-am'. make[3]: Nothing to be done for `all-am'. Making all in utils Making all in test CC swmr_check_compat_vfd.o CCLD swmr_check_compat_vfd ld: warning: option -s is obsolete and being ignored Making all in tools Making all in test make[5]: Nothing to be done for `all-am'. make[4]: Nothing to be done for `all-am'. make[3]: Nothing to be done for `all-am'. Making all in . make[2]: Nothing to be done for `all-am'. Making install in src ../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libhdf5.la '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib' libtool: install: /usr/bin/install -c .libs/libhdf5.300.dylib /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib/libhdf5.300.dylib libtool: install: (cd /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib && { ln -s -f libhdf5.300.dylib libhdf5.dylib || { rm -f libhdf5.dylib && ln -s libhdf5.300.dylib libhdf5.dylib; }; }) libtool: install: /usr/bin/install -c .libs/libhdf5.lai /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib/libhdf5.la libtool: install: /usr/bin/install -c .libs/libhdf5.a /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib/libhdf5.a libtool: install: chmod 644 /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib/libhdf5.a libtool: install: ranlib /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib/libhdf5.a ../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../include' /usr/bin/install -c -m 644 hdf5.h H5api_adpt.h H5overflow.h H5pubconf.h H5public.h H5version.h H5Apublic.h H5ACpublic.h H5Cpublic.h H5Dpublic.h H5Epubgen.h H5Epublic.h H5ESpublic.h H5Fpublic.h H5FDpublic.h H5FDcore.h H5FDdirect.h H5FDfamily.h H5FDhdfs.h H5FDlog.h H5FDmirror.h H5FDmpi.h H5FDmpio.h H5FDmulti.h H5FDros3.h H5FDsec2.h H5FDsplitter.h H5FDstdio.h H5FDwindows.h H5Gpublic.h H5Ipublic.h H5Lpublic.h H5Mpublic.h H5MMpublic.h H5Opublic.h H5Ppublic.h H5PLextern.h H5PLpublic.h H5Rpublic.h H5Spublic.h '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../include' /usr/bin/install -c -m 644 H5Tpublic.h H5VLconnector.h H5VLconnector_passthru.h H5VLnative.h H5VLpassthru.h H5VLpublic.h H5Zpublic.h H5ESdevelop.h H5FDdevelop.h H5Idevelop.h H5Ldevelop.h H5Tdevelop.h H5TSdevelop.h H5Zdevelop.h '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../include' ../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib' /usr/bin/install -c -m 644 libhdf5.settings '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../lib' Making install in test make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. Making install in bin ../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /usr/bin/install -c h5redeploy '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' make[3]: Nothing to be done for `install-data-am'. Making install in tools Making install in lib make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in src Making install in h5diff ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5diff '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5diff /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5diff make[5]: Nothing to be done for `install-data-am'. Making install in h5ls ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5ls '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5ls /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5ls make[5]: Nothing to be done for `install-data-am'. Making install in h5dump ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5dump '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5dump /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5dump make[5]: Nothing to be done for `install-data-am'. Making install in misc ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5debug h5repart h5mkgrp h5clear h5delete '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5debug /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5debug libtool: install: /usr/bin/install -c .libs/h5repart /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5repart libtool: install: /usr/bin/install -c .libs/h5mkgrp /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5mkgrp libtool: install: /usr/bin/install -c .libs/h5clear /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5clear libtool: install: /usr/bin/install -c .libs/h5delete /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5delete make[5]: Nothing to be done for `install-data-am'. Making install in h5import ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5import '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5import /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5import make[5]: Nothing to be done for `install-data-am'. Making install in h5repack ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5repack '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5repack /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5repack make[5]: Nothing to be done for `install-data-am'. Making install in h5jam ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5jam h5unjam '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5jam /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5jam libtool: install: /usr/bin/install -c .libs/h5unjam /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5unjam make[5]: Nothing to be done for `install-data-am'. Making install in h5copy ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5copy '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5copy /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5copy make[5]: Nothing to be done for `install-data-am'. Making install in h5format_convert ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5format_convert '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5format_convert /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5format_convert make[5]: Nothing to be done for `install-data-am'. Making install in h5stat ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5stat '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5stat /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5stat make[5]: Nothing to be done for `install-data-am'. Making install in h5perf ../../../bin/install-sh -c -d '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' /bin/sh ../../../libtool --mode=install /usr/bin/install -c h5perf_serial '/Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin' libtool: install: /usr/bin/install -c .libs/h5perf_serial /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../bin/h5perf_serial make[5]: Nothing to be done for `install-data-am'. make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in test Making install in h5diff make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in h5ls make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in h5dump make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in misc Making install in vds make[6]: Nothing to be done for `install-exec-am'. make[6]: Nothing to be done for `install-data-am'. make[6]: Nothing to be done for `install-exec-am'. make[6]: Nothing to be done for `install-data-am'. Making install in h5import make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in h5repack make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in h5jam make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in h5copy make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in h5format_convert make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in h5stat make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. Making install in perform make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in utils Making install in test make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in tools Making install in test make[6]: Nothing to be done for `install-exec-am'. make[6]: Nothing to be done for `install-data-am'. make[5]: Nothing to be done for `install-exec-am'. make[5]: Nothing to be done for `install-data-am'. make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in . make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. for d in examples ; do \ (cd $d && /Applications/Xcode.app/Contents/Developer/usr/bin/make install-examples) || exit 1; \ done ../bin/mkdirs /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c + /usr/bin/install -c ./h5_write.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_read.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_extend_write.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_chunk_read.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_compound.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_crtgrpd.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_subset.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_cmprss.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_rdwt.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_crtgrpar.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_extend.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_crtatt.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_crtgrp.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_crtdat.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_group.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_select.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_attribute.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_mount.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_drivers.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_reference_deprec.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_ref_extern.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_ref_compat.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_ref2reg_deprec.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_extlink.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_elink_unix2win.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_shared_mesg.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_debug_trace.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./ph5example.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_vds.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_vds-exc.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_vds-exclim.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_vds-eiger.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_vds-simpleIO.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_vds-percival.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_vds-percival-unlim.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./h5_vds-percival-unlim-maxmin.c /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c run-c-ex.sh /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/c/. + /usr/bin/install -c ./README /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/. + /usr/bin/install -c ./run-all-ex.sh /Users/mmullis/Downloads/nanopolish/hdf5-1.13.0/../share/hdf5_examples/. if [ ! -e 3.3.7.tar.bz2 ]; then \ wget https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.bz2; \ fi --2022-04-15 17:10:28-- https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.bz2 Resolving gitlab.com (gitlab.com)... 172.65.251.78 Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/octet-stream] Saving to: ‘eigen-3.3.7.tar.bz2’ eigen-3.3.7.tar.bz2 [ <=> ] 1.59M 1.08MB/s in 1.5s 2022-04-15 17:10:30 (1.08 MB/s) - ‘eigen-3.3.7.tar.bz2’ saved [1663474] tar -xjf eigen-3.3.7.tar.bz2 || exit 255 mv eigen-3.3.7 eigen || exit 255 rm -f ./.depend g++-11 -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -MM src/nanopolish_call_methylation.cpp src/nanopolish_call_variants.cpp src/nanopolish_detect_polyi.cpp src/nanopolish_fast5_check.cpp src/nanopolish_haplotype.cpp src/nanopolish_index.cpp src/nanopolish_methyltrain.cpp src/nanopolish_phase_reads.cpp src/nanopolish_polya_estimator.cpp src/nanopolish_raw_loader.cpp src/nanopolish_read_db.cpp src/nanopolish_scorereads.cpp src/nanopolish_squiggle_read.cpp src/nanopolish_train_poremodel_from_basecalls.cpp src/nanopolish_variant_db.cpp src/nanopolish_vcf2fasta.cpp src/training_core.cpp src/hmm/nanopolish_duration_model.cpp src/hmm/nanopolish_profile_hmm.cpp src/hmm/nanopolish_profile_hmm_r7.cpp src/hmm/nanopolish_profile_hmm_r9.cpp src/hmm/nanopolish_transition_parameters.cpp src/common/fs_support.cpp src/common/logsum.cpp src/common/nanopolish_alphabet.cpp src/common/nanopolish_bam_processor.cpp src/common/nanopolish_bam_utils.cpp src/common/nanopolish_common.cpp src/common/nanopolish_iupac.cpp src/common/nanopolish_klcs.cpp src/common/nanopolish_variant.cpp src/alignment/nanopolish_alignment_db.cpp src/alignment/nanopolish_anchor.cpp src/alignment/nanopolish_eventalign.cpp src/pore_model/nanopolish_model_names.cpp src/pore_model/nanopolish_pore_model_set.cpp src/pore_model/nanopolish_poremodel.cpp src/io/nanopolish_fast5_io.cpp src/io/nanopolish_fast5_loader.cpp src/io/nanopolish_fast5_processor.cpp src/basemods/nanopolish_basemods.cpp src/thirdparty/fet.c src/thirdparty/stdaln.c src/thirdparty/scrappie/event_detection.c src/thirdparty/scrappie/scrappie_common.c > ./.depend; g++-11 -o src/main/nanopolish.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/main/nanopolish.cpp g++-11 -o src/nanopolish_call_methylation.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_call_methylation.cpp g++-11 -o src/nanopolish_call_variants.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_call_variants.cpp g++-11 -o src/nanopolish_detect_polyi.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_detect_polyi.cpp g++-11 -o src/nanopolish_fast5_check.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_fast5_check.cpp g++-11 -o src/nanopolish_haplotype.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_haplotype.cpp g++-11 -o src/nanopolish_index.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_index.cpp g++-11 -o src/nanopolish_methyltrain.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_methyltrain.cpp g++-11 -o src/nanopolish_phase_reads.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_phase_reads.cpp g++-11 -o src/nanopolish_polya_estimator.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_polya_estimator.cpp g++-11 -o src/nanopolish_raw_loader.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_raw_loader.cpp g++-11 -o src/nanopolish_read_db.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_read_db.cpp g++-11 -o src/nanopolish_scorereads.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_scorereads.cpp g++-11 -o src/nanopolish_squiggle_read.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_squiggle_read.cpp g++-11 -o src/nanopolish_train_poremodel_from_basecalls.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_train_poremodel_from_basecalls.cpp g++-11 -o src/nanopolish_variant_db.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_variant_db.cpp g++-11 -o src/nanopolish_vcf2fasta.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/nanopolish_vcf2fasta.cpp g++-11 -o src/training_core.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/training_core.cpp g++-11 -o src/hmm/nanopolish_duration_model.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/hmm/nanopolish_duration_model.cpp g++-11 -o src/hmm/nanopolish_profile_hmm.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/hmm/nanopolish_profile_hmm.cpp g++-11 -o src/hmm/nanopolish_profile_hmm_r7.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/hmm/nanopolish_profile_hmm_r7.cpp g++-11 -o src/hmm/nanopolish_profile_hmm_r9.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/hmm/nanopolish_profile_hmm_r9.cpp g++-11 -o src/hmm/nanopolish_transition_parameters.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/hmm/nanopolish_transition_parameters.cpp g++-11 -o src/common/fs_support.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/common/fs_support.cpp g++-11 -o src/common/logsum.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/common/logsum.cpp g++-11 -o src/common/nanopolish_alphabet.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/common/nanopolish_alphabet.cpp g++-11 -o src/common/nanopolish_bam_processor.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/common/nanopolish_bam_processor.cpp g++-11 -o src/common/nanopolish_bam_utils.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/common/nanopolish_bam_utils.cpp g++-11 -o src/common/nanopolish_common.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/common/nanopolish_common.cpp g++-11 -o src/common/nanopolish_iupac.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/common/nanopolish_iupac.cpp g++-11 -o src/common/nanopolish_klcs.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/common/nanopolish_klcs.cpp g++-11 -o src/common/nanopolish_variant.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/common/nanopolish_variant.cpp g++-11 -o src/alignment/nanopolish_alignment_db.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/alignment/nanopolish_alignment_db.cpp g++-11 -o src/alignment/nanopolish_anchor.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/alignment/nanopolish_anchor.cpp g++-11 -o src/alignment/nanopolish_eventalign.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/alignment/nanopolish_eventalign.cpp g++-11 -o src/pore_model/nanopolish_model_names.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/pore_model/nanopolish_model_names.cpp g++-11 -o src/pore_model/nanopolish_pore_model_set.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/pore_model/nanopolish_pore_model_set.cpp g++-11 -o src/pore_model/nanopolish_poremodel.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/pore_model/nanopolish_poremodel.cpp g++-11 -o src/io/nanopolish_fast5_io.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/io/nanopolish_fast5_io.cpp g++-11 -o src/io/nanopolish_fast5_loader.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/io/nanopolish_fast5_loader.cpp g++-11 -o src/io/nanopolish_fast5_processor.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/io/nanopolish_fast5_processor.cpp g++-11 -o src/basemods/nanopolish_basemods.o -c -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -fPIC src/basemods/nanopolish_basemods.cpp gcc-11 -o src/thirdparty/fet.o -c -O3 -std=c99 -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -I./include -fPIC src/thirdparty/fet.c gcc-11 -o src/thirdparty/stdaln.o -c -O3 -std=c99 -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -I./include -fPIC src/thirdparty/stdaln.c src/thirdparty/stdaln.c: In function 'aln_local_core': src/thirdparty/stdaln.c:756:17: warning: 'free' called on pointer '*(int **)((char *)s_array+ ivtmp*8)' with nonzero offset 4 [-Wfree-nonheap-object] 756 | free(s_array[i]); | ^~~~~~~~~~~~~~~~ gcc-11 -o src/thirdparty/scrappie/event_detection.o -c -O3 -std=c99 -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -I./include -fPIC src/thirdparty/scrappie/event_detection.c gcc-11 -o src/thirdparty/scrappie/scrappie_common.o -c -O3 -std=c99 -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -I./include -fPIC src/thirdparty/scrappie/scrappie_common.c cp etc/htslib_config.h htslib/config.h /Applications/Xcode.app/Contents/Developer/usr/bin/make -C htslib CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib" LDFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib" htslib_default_libs="-lz -lm -lbz2" NONCONFIGURE_OBJS="" || exit 255 Makefile:122: htscodecs.mk: No such file or directory echo '# Default htscodecs.mk generated by Makefile' > htscodecs.mk echo 'include $(HTSPREFIX)htscodecs_bundled.mk' >> htscodecs.mk gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o kfunc.o kfunc.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o kstring.o kstring.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o bcf_sr_sort.o bcf_sr_sort.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o bgzf.o bgzf.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o errmod.o errmod.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o faidx.o faidx.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o header.o header.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o hfile.o hfile.c echo '#define HTS_VERSION_TEXT "1.15.1"' > version.h echo '#define HTS_CC "gcc-11"' > config_vars.h echo '#define HTS_CPPFLAGS ""' >> config_vars.h echo '#define HTS_CFLAGS "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib"' >> config_vars.h echo '#define HTS_LDFLAGS "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib"' >> config_vars.h echo '#define HTS_LIBS "-lz -lm -lbz2"' >> config_vars.h Updating htscodecs/htscodecs/version.h : #define HTSCODECS_VERSION_TEXT "1.2.2" gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o hts.o hts.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o hts_expr.o hts_expr.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o hts_os.o hts_os.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o md5.o md5.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o multipart.o multipart.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o probaln.o probaln.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o realn.o realn.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o regidx.o regidx.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o region.o region.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o sam.o sam.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o synced_bcf_reader.o synced_bcf_reader.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o vcf_sweep.o vcf_sweep.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o tbx.o tbx.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o textutils.o textutils.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o thread_pool.o thread_pool.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o vcf.o vcf.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o vcfutils.o vcfutils.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/cram_codecs.o cram/cram_codecs.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/cram_decode.o cram/cram_decode.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/cram_encode.o cram/cram_encode.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/cram_external.o cram/cram_external.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/cram_index.o cram/cram_index.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/cram_io.o cram/cram_io.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/cram_stats.o cram/cram_stats.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/mFILE.o cram/mFILE.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/open_trace_file.o cram/open_trace_file.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/pooled_alloc.o cram/pooled_alloc.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o cram/string_alloc.o cram/string_alloc.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o htscodecs/htscodecs/arith_dynamic.o htscodecs/htscodecs/arith_dynamic.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o htscodecs/htscodecs/fqzcomp_qual.o htscodecs/htscodecs/fqzcomp_qual.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o htscodecs/htscodecs/htscodecs.o htscodecs/htscodecs/htscodecs.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o htscodecs/htscodecs/pack.o htscodecs/htscodecs/pack.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o htscodecs/htscodecs/rANS_static4x16pr.o htscodecs/htscodecs/rANS_static4x16pr.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o htscodecs/htscodecs/rANS_static.o htscodecs/htscodecs/rANS_static.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o htscodecs/htscodecs/rle.o htscodecs/htscodecs/rle.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o htscodecs/htscodecs/tokenise_name3.o htscodecs/htscodecs/tokenise_name3.c ar -rc libhts.a kfunc.o kstring.o bcf_sr_sort.o bgzf.o errmod.o faidx.o header.o hfile.o hts.o hts_expr.o hts_os.o md5.o multipart.o probaln.o realn.o regidx.o region.o sam.o synced_bcf_reader.o vcf_sweep.o tbx.o textutils.o thread_pool.o vcf.o vcfutils.o cram/cram_codecs.o cram/cram_decode.o cram/cram_encode.o cram/cram_external.o cram/cram_index.o cram/cram_io.o cram/cram_stats.o cram/mFILE.o cram/open_trace_file.o cram/pooled_alloc.o cram/string_alloc.o htscodecs/htscodecs/arith_dynamic.o htscodecs/htscodecs/fqzcomp_qual.o htscodecs/htscodecs/htscodecs.o htscodecs/htscodecs/pack.o htscodecs/htscodecs/rANS_static4x16pr.o htscodecs/htscodecs/rANS_static.o htscodecs/htscodecs/rle.o htscodecs/htscodecs/tokenise_name3.o ranlib libhts.a gcc-11 -dynamiclib -install_name /usr/local/lib/libhts.3.dylib -current_version 3.1.15 -compatibility_version 3.1.15 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o libhts.dylib kfunc.o kstring.o bcf_sr_sort.o bgzf.o errmod.o faidx.o header.o hfile.o hts.o hts_expr.o hts_os.o md5.o multipart.o probaln.o realn.o regidx.o region.o sam.o synced_bcf_reader.o vcf_sweep.o tbx.o textutils.o thread_pool.o vcf.o vcfutils.o cram/cram_codecs.o cram/cram_decode.o cram/cram_encode.o cram/cram_external.o cram/cram_index.o cram/cram_io.o cram/cram_stats.o cram/mFILE.o cram/open_trace_file.o cram/pooled_alloc.o cram/string_alloc.o htscodecs/htscodecs/arith_dynamic.o htscodecs/htscodecs/fqzcomp_qual.o htscodecs/htscodecs/htscodecs.o htscodecs/htscodecs/pack.o htscodecs/htscodecs/rANS_static4x16pr.o htscodecs/htscodecs/rANS_static.o htscodecs/htscodecs/rle.o htscodecs/htscodecs/tokenise_name3.o -lz -lm -lbz2 ln -sf libhts.dylib libhts.3.dylib gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o bgzip.o bgzip.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o bgzip bgzip.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o htsfile.o htsfile.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o htsfile htsfile.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o tabix.o tabix.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o tabix tabix.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/hts_endian.o test/hts_endian.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/hts_endian test/hts_endian.o -lz -lm -lbz2 gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/fieldarith.o test/fieldarith.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/fieldarith test/fieldarith.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/hfile.o test/hfile.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/hfile test/hfile.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/pileup.o test/pileup.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/pileup test/pileup.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/pileup_mod.o test/pileup_mod.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/pileup_mod test/pileup_mod.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/plugins-dlhts.o test/plugins-dlhts.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/plugins-dlhts test/plugins-dlhts.o -lz -lm -lbz2 gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/sam.o test/sam.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/sam test/sam.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_bgzf.o test/test_bgzf.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_bgzf test/test_bgzf.o libhts.a -lz -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_expr.o test/test_expr.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_expr test/test_expr.o libhts.a -lz -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_kfunc.o test/test_kfunc.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_kfunc test/test_kfunc.o libhts.a -lz -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_kstring.o test/test_kstring.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_kstring test/test_kstring.o libhts.a -lz -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_mod.o test/test_mod.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_mod test/test_mod.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_realn.o test/test_realn.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_realn test/test_realn.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test-regidx.o test/test-regidx.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test-regidx test/test-regidx.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_str2int.o test/test_str2int.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_str2int test/test_str2int.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_view.o test/test_view.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_view test/test_view.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_index.o test/test_index.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_index test/test_index.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test-vcf-api.o test/test-vcf-api.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test-vcf-api test/test-vcf-api.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test-vcf-sweep.o test/test-vcf-sweep.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test-vcf-sweep test/test-vcf-sweep.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test-bcf-sr.o test/test-bcf-sr.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test-bcf-sr test/test-bcf-sr.o libhts.a -lz -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/fuzz/hts_open_fuzzer.o test/fuzz/hts_open_fuzzer.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test-bcf-translate.o test/test-bcf-translate.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test-bcf-translate test/test-bcf-translate.o libhts.a -lz -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test-parse-reg.o test/test-parse-reg.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test-parse-reg test/test-parse-reg.o libhts.a -lz -lm -lbz2 -lpthread gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -I. -c -o test/test_introspection.o test/test_introspection.c gcc-11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -o test/test_introspection test/test_introspection.o libhts.a -lz -lm -lbz2 -lpthread sed -e '/^static_libs=/s/@static_LIBS@/-lz -lm -lbz2/;s#@[^-][^@]*@##g' htslib.pc.in > htslib.pc.tmp sed -n '/^static_libs=/s/[^=]*=/HTSLIB_static_LIBS = /p;/^static_ldflags=/s/[^=]*=/HTSLIB_static_LDFLAGS = /p' htslib.pc.tmp > htslib_static.mk sed -e 's#@-includedir@#'`pwd`'#g;s#@-libdir@#'`pwd`'#g' htslib.pc.tmp > htslib-uninstalled.pc /Applications/Xcode.app/Contents/Developer/usr/bin/make -C minimap2 CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib" libminimap2.a || exit 255 gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC kthread.c -o kthread.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC kalloc.c -o kalloc.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC misc.c -o misc.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC bseq.c -o bseq.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC sketch.c -o sketch.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC sdust.c -o sdust.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC options.c -o options.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC index.c -o index.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC chain.c -o chain.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC align.c -o align.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC hit.c -o hit.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC map.c -o map.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC format.c -o format.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC pe.c -o pe.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC esterr.c -o esterr.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -DHAVE_KALLOC splitidx.c -o splitidx.o gcc-11 -c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -L/usr/lib -msse2 -DHAVE_KALLOC ksw2_ll_sse.c -o ksw2_ll_sse.o gcc-11: error: unrecognized command-line option '-msse2' make[1]: *** [ksw2_ll_sse.o] Error 1 make: *** [minimap2/libminimap2.a] Error 255
mmullistb commented 2 years ago

make CC=gcc-11 CXX=g++-11 CPP=cpp-11 arm_neon=1 aarch64=1

Worked for me! Thanks for the help!

jts commented 2 years ago

Thanks. I was checking for arm64 in the output of gcc -dumpmachine to set the ARM-specific flags. I'll check for aarch64 too.

jts commented 2 years ago

@mmullistb, this case should now be detected by the makefile, do you mind trying to build again from a clean clone?

mmullistb commented 2 years ago

Awesome, thanks! I'll test it out tomorrow and let you know how it works.

arturomarin commented 2 years ago

It seems work for me too, even though I don't use exactly the same commands.

the commands I used were:

git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish
git checkout 0.14-rc
git submodule update --init --recursive
make CC=/opt/homebrew/bin/aarch64-apple-darwin21-gcc-11 CXX=/opt/homebrew/bin/aarch64-apple-darwin21-g++-11 CPP=/opt/homebrew/bin/cpp-11

I add the output of the terminal in the file "Install_Output.txt"

Install_Output.txt

I have also tried to install version 0.14 with the commands that appear in https://github.com/jts/nanopolish

git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish
make

but clang gives me errors, I guess I would have to use "make CC=/opt/homebrew/bin/aarch64-apple-darwin21-gcc-11 CXX=/opt/homebrew/bin/aarch64-apple-darwin21-g++-11 CPP =/opt/homebrew/bin/cpp-11" right?

I add the terminal output of this second test to the file "Test_2.txt"

Test_2.txt

All the best,

jts commented 2 years ago

I guess I would have to use "make CC=/opt/homebrew/bin/aarch64-apple-darwin21-gcc-11 CXX=/opt/homebrew/bin/aarch64-apple-darwin21-g++-11 CPP =/opt/homebrew/bin/cpp-11"

That's right, we don't currently support clang so you need to use GCC. Glad you got it working and thanks for the feedback!

arturomarin commented 2 years ago

ok, thank you very much!

AndreaYCT commented 5 months ago

Hi,

I've tried all of these and I still can not install nanopolish on my iMac m1.

The error msg is: -11 CPP=/opt/homebrew/bin/cpp-11 if [ ! -e hdf5-1.13.0.tar.gz ]; then \ version_major_minor=echo "1.13.0" | sed -E 's/.[0-9]+$//'`; \ wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${version_major_minor}/hdf5-1.13.0/src/hdf5-1.13.0.tar.gz; \ fi --2024-04-02 17:01:20-- https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.13/hdf5-1.13.0/src/hdf5-1.13.0.tar.gz Resolving support.hdfgroup.org (support.hdfgroup.org)... 50.28.50.143 Connecting to support.hdfgroup.org (support.hdfgroup.org)|50.28.50.143|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2024-04-02 17:01:21 ERROR 404: Not Found.

make: *** [lib/libhdf5.a] Error 8`

rdeborja commented 5 months ago

@AndreaYCT

This is a problem with the version of HDF5 as the FTP site hosting the bundled file will cleanup files and remove older versions. To fix this, you can go into the Makefile and edit line 31: (https://github.com/jts/nanopolish/blob/9d6590a0d2fd818e0fa0edbd82c824d6a7242f7c/Makefile#L31

And change it to

HDF5_VERSION ?= 1.13.3
AndreaYCT commented 5 months ago

@rdeborja, hi,

So I tried git clone --recursive https://github.com/jts/nanopolish.git cd nanopolish nano Makefile

Confirm:

ifeq ($(MAC), 1) HDF5_VERSION ?= 1.13.3 else HDF5_VERSION ?= 1.8.14 endif " Them "make"

It installs "hdf5-1.13.3.tar.gz" but have some error msgs: tar -xjf eigen-3.3.7.tar.bz2 || exit 255 mv eigen-3.3.7 eigen || exit 255 rm -f ./.depend c++ -g -O3 -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/usr/lib -I./include -I./htslib -I./minimap2 -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./src/basemods -I./eigen/ -I./slow5lib/include/ -MM src/nanopolish_call_methylation.cpp src/nanopolish_call_variants.cpp src/nanopolish_detect_polyi.cpp src/nanopolish_fast5_check.cpp src/nanopolish_haplotype.cpp src/nanopolish_index.cpp src/nanopolish_methyltrain.cpp src/nanopolish_phase_reads.cpp src/nanopolish_polya_estimator.cpp src/nanopolish_raw_loader.cpp src/nanopolish_read_db.cpp src/nanopolish_scorereads.cpp src/nanopolish_squiggle_read.cpp src/nanopolish_train_poremodel_from_basecalls.cpp src/nanopolish_variant_db.cpp src/nanopolish_vcf2fasta.cpp src/training_core.cpp src/hmm/nanopolish_duration_model.cpp src/hmm/nanopolish_profile_hmm.cpp src/hmm/nanopolish_profile_hmm_r7.cpp src/hmm/nanopolish_profile_hmm_r9.cpp src/hmm/nanopolish_transition_parameters.cpp src/common/fs_support.cpp src/common/logsum.cpp src/common/nanopolish_alphabet.cpp src/common/nanopolish_bam_processor.cpp src/common/nanopolish_bam_utils.cpp src/common/nanopolish_common.cpp src/common/nanopolish_iupac.cpp src/common/nanopolish_klcs.cpp src/common/nanopolish_variant.cpp src/alignment/nanopolish_alignment_db.cpp src/alignment/nanopolish_anchor.cpp src/alignment/nanopolish_eventalign.cpp src/pore_model/nanopolish_model_names.cpp src/pore_model/nanopolish_pore_model_set.cpp src/pore_model/nanopolish_poremodel.cpp src/io/nanopolish_fast5_io.cpp src/io/nanopolish_fast5_loader.cpp src/io/nanopolish_fast5_processor.cpp src/basemods/nanopolish_basemods.cpp src/thirdparty/fet.c src/thirdparty/stdaln.c src/thirdparty/scrappie/event_detection.c src/thirdparty/scrappie/scrappie_common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: error: unsupported option '-fopenmp' make: *** [.depend] Error 1

So it did not work. I guess there are other issues?

Thanks for the reply

@AndreaYCT

This is a problem with the version of HDF5 as the FTP site hosting the bundled file will cleanup files and remove older versions. To fix this, you can go into the Makefile and edit line 31: (

https://github.com/jts/nanopolish/blob/9d6590a0d2fd818e0fa0edbd82c824d6a7242f7c/Makefile#L31

And change it to

HDF5_VERSION ?= 1.13.3

@AndreaYCT

This is a problem with the version of HDF5 as the FTP site hosting the bundled file will cleanup files and remove older versions. To fix this, you can go into the Makefile and edit line 31: (

https://github.com/jts/nanopolish/blob/9d6590a0d2fd818e0fa0edbd82c824d6a7242f7c/Makefile#L31

And change it to

HDF5_VERSION ?= 1.13.3
rdeborja commented 5 months ago

Hi @AndreaYCT

Did you checkout the build specifically for apple silicon? As per your listed steps, you'll need to include a step to checkout the m1-build branch as shown below:

git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish 
git checkout m1-build
nano Makefile
AndreaYCT commented 5 months ago

@rdeborja ,

Thanks for the detail. I'll try now. On the other hand, i found the installation of eigen is different from MAKEFILE. Will it be the problem too?

Manual of eigen:

$ wget https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.gz
$ tar -xzvf eigen-3.3.7.tar.gz

Hi @AndreaYCT

Did you checkout the build specifically for apple silicon? As per your listed steps, you'll need to include a step to checkout the m1-build branch as shown below:

git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish 
git checkout m1-build
nano Makefile
AndreaYCT commented 5 months ago

Hi, @rdeborja

I got same error.

if [ ! -e 3.3.7.tar.bz2 ]; then \ wget https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.bz2; \ fi --2024-04-03 11:11:33-- https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.tar.bz2 Resolving gitlab.com (gitlab.com)... 172.65.251.78 Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/octet-stream] Saving to: ‘eigen-3.3.7.tar.bz2’

eigen-3.3.7.tar.bz2 [ <=> ] 1.59M --.-KB/s in 0.1s

2024-04-03 11:11:34 (11.4 MB/s) - ‘eigen-3.3.7.tar.bz2’ saved [1663474]

tar -xjf eigen-3.3.7.tar.bz2 || exit 255 mv eigen-3.3.7 eigen || exit 255 rm -f ./.depend c++ -g -O3 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/usr/include -L/usr/lib -std=c++11 -fopenmp -fsigned-char -D_FILE_OFFSET_BITS=64 -I./include -I./htslib -I./minimap2 -I./fast5/include -I./src -I./src/hmm -I./src/thirdparty -I./src/thirdparty/scrappie -I./src/common -I./src/alignment -I./src/pore_model -I./src/io -I./eigen/ -I./slow5lib/include/ -MM src/nanopolish_call_methylation.cpp src/nanopolish_call_variants.cpp src/nanopolish_detect_polyi.cpp src/nanopolish_fast5_check.cpp src/nanopolish_getmodel.cpp src/nanopolish_haplotype.cpp src/nanopolish_index.cpp src/nanopolish_methyltrain.cpp src/nanopolish_phase_reads.cpp src/nanopolish_polya_estimator.cpp src/nanopolish_raw_loader.cpp src/nanopolish_read_db.cpp src/nanopolish_scorereads.cpp src/nanopolish_squiggle_read.cpp src/nanopolish_train_poremodel_from_basecalls.cpp src/nanopolish_variant_db.cpp src/nanopolish_vcf2fasta.cpp src/training_core.cpp src/hmm/nanopolish_duration_model.cpp src/hmm/nanopolish_profile_hmm.cpp src/hmm/nanopolish_profile_hmm_r7.cpp src/hmm/nanopolish_profile_hmm_r9.cpp src/hmm/nanopolish_transition_parameters.cpp src/common/fs_support.cpp src/common/logsum.cpp src/common/nanopolish_alphabet.cpp src/common/nanopolish_bam_processor.cpp src/common/nanopolish_bam_utils.cpp src/common/nanopolish_common.cpp src/common/nanopolish_iupac.cpp src/common/nanopolish_klcs.cpp src/common/nanopolish_variant.cpp src/alignment/nanopolish_alignment_db.cpp src/alignment/nanopolish_anchor.cpp src/alignment/nanopolish_eventalign.cpp src/pore_model/nanopolish_model_names.cpp src/pore_model/nanopolish_pore_model_set.cpp src/pore_model/nanopolish_poremodel.cpp src/io/nanopolish_fast5_io.cpp src/io/nanopolish_fast5_loader.cpp src/io/nanopolish_fast5_processor.cpp src/thirdparty/fet.c src/thirdparty/stdaln.c src/thirdparty/scrappie/event_detection.c src/thirdparty/scrappie/scrappie_common.c > ./.depend; clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk' [-Wmissing-sysroot] clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' clang: error: unsupported option '-fopenmp' make: *** [.depend] Error 1

Hi @AndreaYCT

Did you checkout the build specifically for apple silicon? As per your listed steps, you'll need to include a step to checkout the m1-build branch as shown below:

git clone --recursive https://github.com/jts/nanopolish.git
cd nanopolish 
git checkout m1-build
nano Makefile