Open Alessandro-Barbieri opened 3 years ago
configured with ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-depend ency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/nanox-0.15_p20210222 --htmldir=/usr/share/doc/nanox-0.15_p20210222/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --enable-gcc-new-atomic-builtins --enable-performance --enable-shared --without-cellsdk --without-cuda --without-mcc --without-xdma --enable-allocator --disable-debug --enable-instrumentation --enable-memtracker --disable-resiliency --enable-task-callback --enable-ult --with-dlb --with-opencl --with-ayudame=/usr --with-hwloc=/usr --with-extrae=/usr --with-gasnet=/usr --with-memkind=/usr --with-mpi=/usr --with-papi=/usr --with-sqlite3=/usr
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-depend ency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/nanox-0.15_p20210222 --htmldir=/usr/share/doc/nanox-0.15_p20210222/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --enable-gcc-new-atomic-builtins --enable-performance --enable-shared --without-cellsdk --without-cuda --without-mcc --without-xdma --enable-allocator --disable-debug --enable-instrumentation --enable-memtracker --disable-resiliency --enable-task-callback --enable-ult --with-dlb --with-opencl --with-ayudame=/usr --with-hwloc=/usr --with-extrae=/usr --with-gasnet=/usr --with-memkind=/usr --with-mpi=/usr --with-papi=/usr --with-sqlite3=/usr
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../.. -D_NANOS_INTERNAL -include config.h -include nanox-config.h -I /usr/include -I../../.. -I../../../src/arch/unix-os -I../../../src/arch/cluster -I../../../src/arch /common -I../../../src/arch/gpu -I../../../src/arch/fpga -I../../../src/arch/opencl -I../../../src/arch/smp -I../../../src/arch/spu -I../../../src/core -I../../../src/support -DLIBDIR=/usr/lib64 -DNANOS_INSTRUMENTATION_ENABLED -isystem /usr/include -I/usr/include/smp-conduit -pthread -include new_decl.hpp -Wall -Wextra -Wshadow -Wmissing-declarations -Wno-unused-parameter -Wno-missing-field-initializers -std=c++98 -O3 -Os -pipe -march=native -c gasnetapi.cpp -fPIC -D PIC -o .libs/instrumentation_libnanox_pe_cluster_smp_la-gasnetapi.o In file included from ../../../src/support/allocator_decl.hpp:28, from ../../../src/core/instrumentation_decl.hpp:212, from ../../../src/core/instrumentationcontext_decl.hpp:25, from ../../../src/core/workdescriptor_decl.hpp:38, from remoteworkdescriptor_decl.hpp:23, from netwd_decl.hpp:22, from netwd.cpp:20: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/cstdlib:75:15: fatal error: stdlib.h: No such file or directory 75 | #include_next <stdlib.h> | ^~~~~~~~~~ compilation terminated.
I cannot reproduce the error, even with gcc 11.2. Does it happen with a minimal configuration of just --with-gasnet=<path>?
--with-gasnet=<path>
I've tried ./configure --with-gasnet=/usr and it still fails
./configure --with-gasnet=/usr
configured with
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-depend ency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/nanox-0.15_p20210222 --htmldir=/usr/share/doc/nanox-0.15_p20210222/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --enable-gcc-new-atomic-builtins --enable-performance --enable-shared --without-cellsdk --without-cuda --without-mcc --without-xdma --enable-allocator --disable-debug --enable-instrumentation --enable-memtracker --disable-resiliency --enable-task-callback --enable-ult --with-dlb --with-opencl --with-ayudame=/usr --with-hwloc=/usr --with-extrae=/usr --with-gasnet=/usr --with-memkind=/usr --with-mpi=/usr --with-papi=/usr --with-sqlite3=/usr