Thanks for providing all the patches to fix the warnings. I have just applied them and checking if I can run unit tests with rofs. Then I will apply.
Waldek On Sunday, May 19, 2019 at 8:41:06 AM UTC-4, Nadav Har'El wrote: > > > On Sat, May 18, 2019 at 8:02 PM Waldek Kozaczuk <jwkoz...@gmail.com > <javascript:>> wrote: > >> >> Also at the very end we get an error when running mkfs >> Running mkfs... >> /tools/cpiod.so: failed looking up symbol >> _ZNK5boost15program_options22error_with_option_name4whatEv (bo >> ost::program_options::error_with_option_name::what() const) >> > > I sent patches from all the other problems, but this remains. > This symbol *is* provided by libboost_program_options.a, and that *is* > copied in its entirety into OSv. > I still can't figure out why the code doesn't find it. Maybe some new kind > of rellocation or something (?) we don't support yet? > > >> >> [backtrace] >> 0x000000000035ff26 <elf::object::symbol(unsigned int, bool)+1542> >> 0x00000000003aaa59 <elf::object::arch_relocate_rela(unsigned int, >> unsigned int, void*, long)+345> >> 0x000000000035c6e3 <elf::object::relocate_rela()+195> >> 0x000000000035d96a <elf::object::relocate()+138> >> 0x000000000036185c >> <elf::program::load_object(std::__cxx11::basic_string<char, >> std::char_traits<char>, s >> td::allocator<char> >, std::vector<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocat >> or<char> >, std::allocator<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> >> > > >, std::vector<std::shared_ptr<elf::object>, >> std::allocator<std::shared_ptr<elf::object> > >&)+2380 >> > >> 0x00000000003627a0 >> <elf::program::get_library(std::__cxx11::basic_string<char, >> std::char_traits<char>, s >> td::allocator<char> >, std::vector<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocat >> or<char> >, std::allocator<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> >> > > >, bool)+336> >> 0x0000000000435b4b >> <osv::application::application(std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > const&, >> std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, >> std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > > > const&, bool, >> std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, >> std::allocator<char> >, std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> >, >> std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >, >> std::allocator<std::pair<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > const, >> std::__cxx11::basic_string<char, std::char_traits<char>, >> std::allocator<char> > > > > const*, std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > const&, >> std::function<0x0000000000435e5b >> <osv::application::run(std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > const&, >> std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, >> std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > > > const&, bool, >> std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, >> std::allocator<char> >, std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> >, >> std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >, >> std::allocator<std::pair<std::__cxx11::basic_string<char, >> std::char_traits<char>, std::allocator<char> > const, >> std::__cxx11::basic_string<char, std::char_traits<char>, >> std::allocator<char> > > > > const*, std::__cxx11::basic_string<char, >> std::ch: >> >> >> Looks like the boost incompatibly or something. >> >> native-image with rofs seems to work. >> >> Waldek >> >> -- >> You received this message because you are subscribed to the Google Groups >> "OSv Development" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to osv...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/osv-dev/60282385-f0bc-47dc-9d7f-26b21a66ad55%40googlegroups.com >> >> <https://groups.google.com/d/msgid/osv-dev/60282385-f0bc-47dc-9d7f-26b21a66ad55%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/5b416577-9929-43ea-ab96-3ae57fff5d13%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.