On Thu, Feb 6, 2020 at 10:09 PM Waldek Kozaczuk <[email protected]>
wrote:

> No idea why it failed on this machine:
>
> pt_des.o build/release.x64/musl/src/crypt/crypt_md5.o
> build/release.x64/musl/src/crypt/crypt_r.o 
> build/release.x64/musl/src/crypt/crypt_sha256.o
> build/release.x64/musl/src/crypt/crypt_sha512.o
> build/release.x64/fs/nfs/nfs_null_vfsops.o build/release.x64/dummy-shlib.so
> -T arch/x64/loader.ld build/release.x64/bootfs.o -T
> build/release.x64/arch/x64/loader_options.ld --whole-archive
> /usr/lib/gcc/x86_64-redhat-linux/9/libstdc++.a 
> /usr/lib/gcc/x86_64-redhat-linux/9/libgcc_eh.a
> /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64//libboost_system.a
> --no-whole-archive /usr/lib/gcc/x86_64-redhat-linux/9/libgcc.a
> ld.bfd: build/release.x64/core/dhcp.o: in function
> `boost::system::error_code::error_code()':
> /usr/include/boost/system/error_code.hpp:323: undefined reference to
> `boost::system::system_category()'
> ld.bfd: build/release.x64/core/dhcp.o: in function
> `boost::asio::error::get_system_category()':
> /usr/include/boost/asio/error.hpp:230: undefined reference to
> `boost::system::system_category()'
> ld.bfd: build/release.x64/core/dhcp.o: in function
> `boost::system::error_code::error_code()':
> /usr/include/boost/system/error_code.hpp:323: undefined reference to
> `boost::system::system_category()'
> ld.bfd: build/release.x64/core/dhcp.o: in function
> `boost::asio::error::get_system_category()':
> /usr/include/boost/asio/error.hpp:230: undefined reference to
> `boost::system::system_category()'
> ld.bfd: build/release.x64/core/dhcp.o: in function
> `boost::system::error_code::error_code()':
> /usr/include/boost/system/error_code.hpp:323: undefined reference to
> `boost::system::system_category()'
> ld.bfd: build/release.x64/core/dhcp.o:/usr/include/boost/asio/error.hpp:230:
> more undefined references to `boost::system::system_category()' follow
> ld.bfd: build/release.x64/core/dhcp.o: in function
> `_GLOBAL__sub_I_net_dhcp_worker':
> /usr/include/boost/system/error_code.hpp:222: undefined reference to
> `boost::system::generic_category()'
> ld.bfd: build/release.x64/core/dhcp.o: in function
> `__static_initialization_and_destruction_0':
> /usr/include/boost/system/error_code.hpp:223: undefined reference to
> `boost::system::generic_category()'
> ld.bfd: /usr/include/boost/system/error_code.hpp:224: undefined reference
> to `boost::system::system_category()'
> ld.bfd: build/release.x64/core/dhcp.o: in function
> `boost::asio::error::get_system_category()':
> /usr/include/boost/asio/error.hpp:230: undefined reference to
> `boost::system::system_category()'
> ld.bfd: build/release.x64/core/shutdown.o: in function `_GLOBAL__sub_I__
> ZN3osv8shutdownEv':
> /usr/include/boost/system/error_code.hpp:222: undefined reference to
> `boost::system::generic_category()'
> ld.bfd: build/release.x64/core/shutdown.o: in function
> `__static_initialization_and_destruction_0':
> /usr/include/boost/system/error_code.hpp:223: undefined reference to
> `boost::system::generic_category()'
> ld.bfd: /usr/include/boost/system/error_code.hpp:224: undefined reference
> to `boost::system::system_category()'
> ld.bfd: build/release.x64/core/shutdown.o: in function
> `boost::asio::error::get_system_category()':
> /usr/include/boost/asio/error.hpp:230: undefined reference to
> `boost::system::system_category()'
> make: *** [Makefile:1886: build/release.x64/loader.elf] Error 1
> Build step 'Execute shell' marked build as failure
>
> I am able to build and run the tests on both Fedora 30 (in docker
> container) and Fedora 31.
>
> Does it end up using some old boost library?
>

I'm trying to figure this out now... It appears this machine was upgraded
to Fedora 30, I'm not trying to understand
why we have problems compiling there.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/CANEVyjsvYogE6m%2BtUsweA9-1uFJxe13VHODqy4iqrt2-_%2BRTVw%40mail.gmail.com.

Reply via email to