TODO run benchmarks/gc tasks ./configure: Turned on -D GC_TIMING because $_OIL_DEV is set ./configure: Wrote _build/detected-cpp-config.h ./configure: Wrote _build/detected-config.sh In file included from /usr/include/x86_64-linux-gnu/bits/types/stack_t.h:23, from /usr/include/signal.h:313, from ./mycpp/gc_iolib.h:16, from ./mycpp/runtime.h:16, from mycpp/gc_stress_test.cc:5: ./mycpp/gc_iolib.h: In static member function ‘static constexpr uint32_t iolib::SignalSafe::field_mask()’: ./mycpp/gc_iolib.h:129:29: warning: ‘offsetof’ within non-standard-layout type ‘iolib::SignalSafe’ is conditionally-supported [-Winvalid-offsetof] 129 | return maskbit(offsetof(SignalSafe, pending_signals_)) | | ^ ./mycpp/gc_iolib.h:130:29: warning: ‘offsetof’ within non-standard-layout type ‘iolib::SignalSafe’ is conditionally-supported [-Winvalid-offsetof] 130 | maskbit(offsetof(SignalSafe, empty_list_)); | ^ ./mycpp/gc_mylib.h: In static member function ‘static constexpr uint32_t mylib::BufLineReader::field_mask()’: ./mycpp/gc_mylib.h:228:56: warning: ‘offsetof’ within non-standard-layout type ‘mylib::BufLineReader’ is conditionally-supported [-Winvalid-offsetof] 228 | return LineReader::field_mask() | maskbit(offsetof(BufLineReader, s_)); | ^ ./mycpp/gc_mylib.h: In static member function ‘static constexpr unsigned int mylib::BufWriter::field_mask()’: ./mycpp/gc_mylib.h:320:52: warning: ‘offsetof’ within non-standard-layout type ‘mylib::BufWriter’ is conditionally-supported [-Winvalid-offsetof] 320 | return Writer::field_mask() | maskbit(offsetof(BufWriter, str_)); | ^ In file included from /usr/include/unistd.h:226, from /usr/include/x86_64-linux-gnu/bits/sigstksz.h:24, from /usr/include/signal.h:328, from ./mycpp/gc_iolib.h:16, from ./mycpp/runtime.h:16, from mycpp/gc_builtins.cc:7: ./mycpp/gc_iolib.h: In static member function ‘static constexpr uint32_t iolib::SignalSafe::field_mask()’: ./mycpp/gc_iolib.h:129:29: warning: ‘offsetof’ within non-standard-layout type ‘iolib::SignalSafe’ is conditionally-supported [-Winvalid-offsetof] 129 | return maskbit(offsetof(SignalSafe, pending_signals_)) | | ^ ./mycpp/gc_iolib.h:130:29: warning: ‘offsetof’ within non-standard-layout type ‘iolib::SignalSafe’ is conditionally-supported [-Winvalid-offsetof] 130 | maskbit(offsetof(SignalSafe, empty_list_)); | ^ ./mycpp/gc_mylib.h: In static member function ‘static constexpr uint32_t mylib::BufLineReader::field_mask()’: ./mycpp/gc_mylib.h:228:56: warning: ‘offsetof’ within non-standard-layout type ‘mylib::BufLineReader’ is conditionally-supported [-Winvalid-offsetof] 228 | return LineReader::field_mask() | maskbit(offsetof(BufLineReader, s_)); | ^ ./mycpp/gc_mylib.h: In static member function ‘static constexpr unsigned int mylib::BufWriter::field_mask()’: ./mycpp/gc_mylib.h:320:52: warning: ‘offsetof’ within non-standard-layout type ‘mylib::BufWriter’ is conditionally-supported [-Winvalid-offsetof] 320 | return Writer::field_mask() | maskbit(offsetof(BufWriter, str_)); | ^ In file included from /usr/include/alloca.h:24, from /usr/include/stdlib.h:574, from /usr/include/c++/11/cstdlib:75, from /usr/include/c++/11/stdlib.h:36, from ./mycpp/mark_sweep_heap.h:4, from ./mycpp/gc_alloc.h:19, from ./mycpp/gc_mylib.h:8, from mycpp/gc_mylib.cc:1: ./mycpp/gc_mylib.h: In static member function ‘static constexpr uint32_t mylib::BufLineReader::field_mask()’: ./mycpp/gc_mylib.h:228:56: warning: ‘offsetof’ within non-standard-layout type ‘mylib::BufLineReader’ is conditionally-supported [-Winvalid-offsetof] 228 | return LineReader::field_mask() | maskbit(offsetof(BufLineReader, s_)); | ^ ./mycpp/gc_mylib.h: In static member function ‘static constexpr unsigned int mylib::BufWriter::field_mask()’: ./mycpp/gc_mylib.h:320:52: warning: ‘offsetof’ within non-standard-layout type ‘mylib::BufWriter’ is conditionally-supported [-Winvalid-offsetof] 320 | return Writer::field_mask() | maskbit(offsetof(BufWriter, str_)); | ^ In file included from /usr/include/x86_64-linux-gnu/bits/types/stack_t.h:23, from /usr/include/signal.h:313, from ./mycpp/gc_iolib.h:16, from mycpp/gc_mylib.cc:7: ./mycpp/gc_iolib.h: In static member function ‘static constexpr uint32_t iolib::SignalSafe::field_mask()’: ./mycpp/gc_iolib.h:129:29: warning: ‘offsetof’ within non-standard-layout type ‘iolib::SignalSafe’ is conditionally-supported [-Winvalid-offsetof] 129 | return maskbit(offsetof(SignalSafe, pending_signals_)) | | ^ ./mycpp/gc_iolib.h:130:29: warning: ‘offsetof’ within non-standard-layout type ‘iolib::SignalSafe’ is conditionally-supported [-Winvalid-offsetof] 130 | maskbit(offsetof(SignalSafe, empty_list_)); | ^ /usr/bin/ld: /tmp/ccd0Sx0I.o: warning: relocation against `_ZN5iolib11gSignalSafeE' in read-only section `.text' /usr/bin/ld: /tmp/ccd0Sx0I.o: in function `mylib::CFile::readline()': /home/runner/work/oils/oils/mycpp/gc_mylib.cc:121: undefined reference to `iolib::gSignalSafe' /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status