Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with -flto optimization #119

Open
Vedingrot opened this issue Feb 28, 2024 · 3 comments
Open

Build with -flto optimization #119

Vedingrot opened this issue Feb 28, 2024 · 3 comments
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@Vedingrot
Copy link
Contributor

Linking libQMapLibre.so prints some strange warnings when builds with -flto
option. Without -flto everything is fine.

[ 91%] Linking CXX shared library libQMapLibre.so
cd /home/qemu_ved/maplibre-native-qt/build_test/src/core && /usr/bin/cmake -E cmake_link_script CMakeFiles/Core.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -pipe -Wall -g -O2 -flto -shared -Wl,-soname,libQMapLibre.so.3.0.0 -o libQMapLibre.so.3.0.0 CMakeFiles/Core.dir/Core_autogen/mocs_compilation.cpp.o CMakeFiles/Core.dir/geojson.cpp.o CMakeFiles/Core.dir/map_observer.cpp.o CMakeFiles/Core.dir/map_renderer.cpp.o CMakeFiles/Core.dir/map.cpp.o CMakeFiles/Core.dir/settings.cpp.o CMakeFiles/Core.dir/types.cpp.o CMakeFiles/Core.dir/utils.cpp.o CMakeFiles/Core.dir/style/style_parameter.cpp.o CMakeFiles/Core.dir/style/layer_parameter.cpp.o CMakeFiles/Core.dir/style/source_parameter.cpp.o CMakeFiles/Core.dir/style/style_change.cpp.o CMakeFiles/Core.dir/style/style_change_utils.cpp.o CMakeFiles/Core.dir/style/image_style_change.cpp.o CMakeFiles/Core.dir/style/layer_style_change.cpp.o CMakeFiles/Core.dir/style/source_style_change.cpp.o "MapLibreCore/CMakeFiles/mbgl-core.dir/mbgl-core_autogen/mocs_compilation.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/actor/mailbox.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/actor/scheduler.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/annotation/annotation_manager.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/annotation/annotation_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/annotation/annotation_tile.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/annotation/fill_annotation_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/annotation/line_annotation_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/annotation/render_annotation_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/annotation/shape_annotation_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/annotation/symbol_annotation_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/geometry/dem_data.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/geometry/feature_index.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/geometry/line_atlas.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gfx/attribute.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gfx/renderer_backend.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gfx/rendering_stats.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gfx/shader_registry.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/background_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/circle_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/fill_extrusion_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/fill_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/heatmap_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/hillshade_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/layer_manager.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/line_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/raster_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/symbol_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layout/clip_lines.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layout/merge_lines.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layout/symbol_instance.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layout/symbol_layout.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layout/symbol_projection.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/map/map.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/map/map_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/map/map_options.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/map/map_projection.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/map/transform.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/map/transform_state.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/math/log2.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/platform/settings.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/background_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/circle_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/clipping_mask_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/collision_box_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/debug_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/fill_extrusion_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/fill_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/heatmap_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/heatmap_texture_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/hillshade_prepare_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/hillshade_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/line_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/program_parameters.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/programs.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/raster_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/programs/symbol_program.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/backend_scope.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/bucket_parameters.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/buckets/circle_bucket.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/buckets/debug_bucket.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/buckets/fill_bucket.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/buckets/fill_extrusion_bucket.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/buckets/heatmap_bucket.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/buckets/hillshade_bucket.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/buckets/line_bucket.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/buckets/raster_bucket.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/buckets/symbol_bucket.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/cross_faded_property_evaluator.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/group_by_layout.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/image_atlas.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/image_manager.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_background_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_circle_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_fill_extrusion_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_fill_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_heatmap_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_hillshade_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_line_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_raster_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_symbol_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/paint_parameters.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/pattern_atlas.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/render_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/render_light.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/render_orchestrator.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/render_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/render_static_data.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/render_tile.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/renderer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/renderer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/renderer_state.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/sources/render_custom_geometry_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/sources/render_geojson_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/sources/render_image_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/sources/render_raster_dem_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/sources/render_raster_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/sources/render_tile_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/sources/render_vector_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/source_state.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/style_diff.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/tile_pyramid.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/tile_render_data.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/sprite/sprite_loader.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/sprite/sprite_parser.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/storage/file_source_manager.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/storage/network_status.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/storage/resource.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/storage/resource_options.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/storage/resource_transform.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/storage/response.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/color_ramp_property_value.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/constant.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/coordinate.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/custom_geometry_source_options.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/filter.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/function.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/geojson.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/geojson_options.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/get_json_type.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/light.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/position.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/property_value.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/rotation.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/tileset.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/conversion/transition_options.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/custom_tile_loader.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/assertion.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/at.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/boolean_operator.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/case.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/check_subtype.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/coalesce.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/coercion.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/collator.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/collator_expression.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/comparison.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/compound_expression.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/distance.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/dsl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/expression.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/find_zoom_curve.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/format_expression.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/formatted.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/get_covering_stops.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/image.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/image_expression.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/in.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/interpolate.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/is_constant.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/is_expression.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/length.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/let.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/literal.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/match.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/number_format.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/parsing_context.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/step.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/util.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/value.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/expression/within.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/filter.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/image.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/image_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/background_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/background_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/background_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/circle_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/circle_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/circle_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/fill_extrusion_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/fill_extrusion_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/fill_extrusion_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/fill_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/fill_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/fill_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/heatmap_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/heatmap_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/heatmap_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/hillshade_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/hillshade_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/hillshade_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/line_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/line_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/line_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/raster_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/raster_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/raster_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/symbol_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/symbol_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/symbol_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/light.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/light_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/parser.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/property_expression.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/source_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/custom_geometry_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/custom_geometry_source_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/geojson_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/geojson_source_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/image_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/image_source_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/raster_dem_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/raster_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/raster_source_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/vector_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/sources/vector_source_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/style.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/style_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/types.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/check_max_angle.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/collision_feature.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/collision_index.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/cross_tile_symbol_index.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/get_anchors.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/glyph.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/glyph_atlas.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/glyph_manager.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/glyph_pbf.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/language_tag.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/placement.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/quads.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/shaping.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/text/tagged_string.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/custom_geometry_tile.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/geojson_tile.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/geometry_tile.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/geometry_tile_data.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/geometry_tile_worker.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/raster_dem_tile.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/raster_dem_tile_worker.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/raster_tile.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/raster_tile_worker.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/tile.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/tile_cache.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/tile_id_hash.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/tile_id_io.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/vector_tile.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/tile/vector_tile_data.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/camera.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/bounding_volumes.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/chrono.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/client_options.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/color.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/constants.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/convert.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/dtoa.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/event.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/font_stack.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/geo.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/geojson_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/geometry_util.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/grid_index.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/http_header.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/http_timeout.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/i18n.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/interpolate.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/intersection_tests.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/io.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/logging.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/mapbox.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/mat2.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/mat3.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/mat4.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/premultiply.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/quaternion.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/rapidjson.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/stopwatch.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/string.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/thread.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/thread_pool.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/tile_cover.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/tile_cover_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/default_style.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/tile_server_options.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/tiny_sdf.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/url.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/version.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/util/work_request.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/attribute.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/command_encoder.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/context.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/custom_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/custom_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/custom_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/debugging_extension.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/enum.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/index_buffer_resource.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/object.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/offscreen_texture.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/render_custom_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/render_pass.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/renderer_backend.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/texture.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/texture_resource.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/uniform.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/upload_pass.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/value.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/vertex_array.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/gl/vertex_buffer_resource.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/layermanager/location_indicator_layer_factory.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/platform/gl_functions.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/renderer/layers/render_location_indicator_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/location_indicator_layer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/location_indicator_layer_impl.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/src/mbgl/style/layers/location_indicator_layer_properties.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/text/bidi.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/gfx/headless_backend.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/gfx/headless_frontend.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/gl/headless_backend.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/i18n/collator.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/layermanager/layer_manager.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/platform/time.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/asset_file_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/database_file_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/file_source_manager.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/file_source_request.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/local_file_request.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/local_file_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/main_resource_loader.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/mbtiles_file_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/offline.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/offline_database.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/offline_download.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/storage/online_file_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/sqlite3.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/util/compression.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/default/src/mbgl/util/monotonic_timer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/async_task.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/gl_functions.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/headless_backend_qt.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/http_file_source.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/http_request.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/image.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/number_format.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/local_glyph_rasterizer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/logging_qt.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/run_loop.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/string_stdlib.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/thread.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/thread_local.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/timer.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/mbgl/utf.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/utils/renderer_backend.cpp.o" "MapLibreCore/CMakeFiles/mbgl-core.dir/platform/qt/src/utils/scheduler.cpp.o" "MapLibreCore/CMakeFiles/mbgl-vendor-parsedate.dir/vendor/parsedate/parsedate.cpp.o" "MapLibreCore/CMakeFiles/mbgl-vendor-nunicode.dir/vendor/nunicode/src/libnu/ducet.c.o" "MapLibreCore/CMakeFiles/mbgl-vendor-nunicode.dir/vendor/nunicode/src/libnu/strcoll.c.o" "MapLibreCore/CMakeFiles/mbgl-vendor-nunicode.dir/vendor/nunicode/src/libnu/strings.c.o" "MapLibreCore/CMakeFiles/mbgl-vendor-nunicode.dir/vendor/nunicode/src/libnu/tolower.c.o" "MapLibreCore/CMakeFiles/mbgl-vendor-nunicode.dir/vendor/nunicode/src/libnu/tounaccent.c.o" "MapLibreCore/CMakeFiles/mbgl-vendor-nunicode.dir/vendor/nunicode/src/libnu/toupper.c.o" "MapLibreCore/CMakeFiles/mbgl-vendor-nunicode.dir/vendor/nunicode/src/libnu/utf8.c.o" "MapLibreCore/CMakeFiles/mbgl-vendor-csscolorparser.dir/vendor/csscolorparser/csscolorparser.cpp.o"  /usr/lib64/libQt5Sql.so.5.15.12 /usr/lib64/libQt5Gui.so.5.15.12 /usr/lib64/libQt5Network.so.5.15.12 /usr/lib64/libQt5Core.so.5.15.12 -lz /usr/lib64/libicuuc.so -ldl 
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/platform/qt/src/utils/scheduler.hpp:14:7: warning: type ‘struct Scheduler’ violates the C++ One Definition Rule [-Wodr]
   14 | class Scheduler : public QObject, public mbgl::Scheduler {
      |       ^
/home/qemu_ved/maplibre-native-qt/build_test/src/core/MapLibreCore/mbgl-core_autogen/C26WEEEU5T/../../../../../../vendor/maplibre-native/platform/qt/src/utils/scheduler.hpp:14:7: note: a different type is defined in another translation unit
   14 | class Scheduler : public QObject, public mbgl::Scheduler {
      |       ^
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/platform/qt/src/utils/scheduler.hpp:31:5: note: the first difference of corresponding definitions is field ‘tid’
   31 |     MBGL_STORE_THREAD(tid);
      |     ^
/home/qemu_ved/maplibre-native-qt/build_test/src/core/MapLibreCore/mbgl-core_autogen/C26WEEEU5T/../../../../../../vendor/maplibre-native/platform/qt/src/utils/scheduler.hpp:33:16: note: a field with different name is defined in another translation unit
   33 |     std::mutex m_taskQueueMutex;
      |                ^
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/include/mbgl/util/run_loop.hpp:21:7: warning: type ‘struct RunLoop’ violates the C++ One Definition Rule [-Wodr]
   21 | class RunLoop : public Scheduler, private util::noncopyable {
      |       ^
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/include/mbgl/util/run_loop.hpp:21:7: note: a different type is defined in another translation unit
   21 | class RunLoop : public Scheduler, private util::noncopyable {
      |       ^
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/include/mbgl/util/run_loop.hpp:87:5: note: the first difference of corresponding definitions is field ‘tid’
   87 |     MBGL_STORE_THREAD(tid)
      |     ^
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/include/mbgl/util/run_loop.hpp:129:27: note: a field with different name is defined in another translation unit
  129 |     std::function<void()> platformCallback;
      |                           ^
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/include/mbgl/util/run_loop.hpp:40:5: warning: type of ‘__ct_comp ’ does not match original declaration [-Wlto-type-mismatch]
   40 |     RunLoop(Type type = Type::Default);
      |     ^
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/platform/qt/src/mbgl/run_loop.cpp:27: note: ‘__ct_comp ’ was previously declared here
   27 | RunLoop::RunLoop(Type type)
      | 
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/platform/qt/src/utils/scheduler.hpp:25:10: warning: type of ‘processEvents’ does not match original declaration [-Wlto-type-mismatch]
   25 |     void processEvents();
      |          ^
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/platform/qt/src/utils/scheduler.cpp:24: note: ‘processEvents’ was previously declared here
   24 | void Scheduler::processEvents() {
      | 
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/platform/qt/src/utils/scheduler.hpp:18:5: warning: type of ‘__ct_comp ’ does not match original declaration [-Wlto-type-mismatch]
   18 |     Scheduler();
      |     ^
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/platform/qt/src/utils/scheduler.cpp:9: note: ‘__ct_comp ’ was previously declared here
    9 | Scheduler::Scheduler() = default;
      | 
/home/qemu_ved/maplibre-native-qt/vendor/maplibre-native/platform/qt/src/utils/scheduler.hpp:28:10: warning: type of ‘needsProcessing’ does not match original declaration [-Wlto-type-mismatch]
   28 |     void needsProcessing();
      |          ^
/home/qemu_ved/maplibre-native-qt/build_test/src/core/MapLibreCore/mbgl-core_autogen/C26WEEEU5T/moc_scheduler.cpp:132:6: note: ‘needsProcessing’ was previously declared here
  132 | void QMapLibre::Scheduler::needsProcessing()
      |      ^
cd /home/qemu_ved/maplibre-native-qt/build_test/src/core && /usr/bin/cmake -E cmake_symlink_library libQMapLibre.so.3.0.0 libQMapLibre.so.3.0.0 libQMapLibre.so
make[2]: Leaving directory '/home/qemu_ved/maplibre-native-qt/build_test'
d/maplibre-native-qt/build'

Build:

mkdir build/ && cd build/
cmake '-DCMAKE_CXX_FLAGS=-pipe -Wall -g -O2 -flto' '-DCMAKE_C_FLAGS=-pipe -Wall -g -O2 -flto' ..
make -j10 VERBOSE=1

Compiler:

gcc -v
Using built-in specs.
COLLECT_GCC=x86_64-alt-linux-gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-alt-linux/13/lto-wrapper
Target: x86_64-alt-linux
Configured with: ../configure --host=x86_64-alt-linux --build=x86_64-alt-linux --target=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-shared --program-suffix=-13 --with-slibdir=/lib64 --libexecdir=/usr/lib64 --with-bugurl=http://bugzilla.altlinux.org --enable-__cxa_atexit --enable-threads=posix --enable-checking=release --with-system-zlib --with-zstd --without-included-gettext --enable-multilib --enable-default-pie --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --with-arch_32=i586 --with-tune_32=generic --with-multilib-list=m64,m32,mx32 --with-gcc-major-version-only --enable-vtable-verify --enable-bootstrap --with-build-config=bootstrap-lto --enable-link-serialization=1 --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --enable-plugin
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20240128 (ALT Sisyphus 13.2.1-alt3) (GCC) 

Qt version: 5.15.12

build_log.txt

@ntadej ntadej added bug Something isn't working enhancement New feature or request labels Apr 18, 2024
@ntadej ntadej added this to the Future milestone Apr 18, 2024
@ntadej ntadej modified the milestones: Future, 3.0, 3.1 Aug 31, 2024
@ntadej
Copy link
Collaborator

ntadej commented Aug 31, 2024

Interesting, I can not reproduce this with GCC 14. Can you maybe try again with the latest main?

I added a simple flag in #165 to enable LTO.

@Vedingrot
Copy link
Contributor Author

Warnings have gone when build with GCC 14

@Vedingrot
Copy link
Contributor Author

When building on aarch64 they remain, on x86_64 gone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants