Hi

I've built mingw-gcc 16.0.1 in rawhide, and now I get link errors like this 
when building gdal:

Leaving directory 
'/builddir/build/BUILD/gdal-3.12.1-build/gdal-3.12.1-fedora/build_win32'
/usr/lib/gcc/i686-w64-mingw32/16.0.1/../../../../i686-w64-mingw32/bin/ld: 
CMakeFiles/GDAL.dir/objects.a(ogr_proj_p.cpp.obj): in function `operator()':
/usr/i686-w64-mingw32/sys-root/mingw/include/c++/mutex:849:(.text+0x96): 
undefined reference to `std::__get_once_callable()'
/usr/lib/gcc/i686-w64-mingw32/16.0.1/../../../../i686-w64-mingw32/bin/ld: 
CMakeFiles/GDAL.dir/objects.a(ogr_proj_p.cpp.obj): in function 
`ZNSt9once_flag18_Prepare_executionD4Ev':
/usr/i686-w64-mingw32/sys-root/mingw/include/c++/mutex:855:(.text+0xb2): 
undefined reference to `std::__get_once_callable()'
/usr/lib/gcc/i686-w64-mingw32/16.0.1/../../../../i686-w64-mingw32/bin/ld: 
/usr/i686-w64-mingw32/sys-root/mingw/include/c++/mutex:856:(.text+0xbb): 
undefined reference to `std::__get_once_call()'
/usr/lib/gcc/i686-w64-mingw32/16.0.1/../../../../i686-w64-mingw32/bin/ld: 
CMakeFiles/GDAL.dir/objects.a(ogr_proj_p.cpp.obj): in function 
`Prepare_execution<std::call_once<OSRInstallSetConfigOptionCallback()::<lambda()> >(once_flag&, 
OSRInstallSetConfigOptionCallback()::<lambda()>&&)::<lambda()> >':
/usr/i686-w64-mingw32/sys-root/mingw/include/c++/mutex:847:(.text+0xd0): 
undefined reference to `std::__get_once_callable()'
/usr/lib/gcc/i686-w64-mingw32/16.0.1/../../../../i686-w64-mingw32/bin/ld: 
/usr/i686-w64-mingw32/sys-root/mingw/include/c++/mutex:849:(.text+0xda): 
undefined reference to `std::__get_once_call()'
/usr/lib/gcc/i686-w64-mingw32/16.0.1/../../../../i686-w64-mingw32/bin/ld: 
CMakeFiles/GDAL.dir/objects.a(ogr_proj_p.cpp.obj): in function `operator()':
/usr/i686-w64-mingw32/sys-root/mingw/include/c++/mutex:849:(.text+0x126): 
undefined reference to `std::__get_once_callable()'

Does this ring a bell to anyone with some more in-depth toolchain knowledge?

Thanks
Sandro

-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to