Summary: |
x11-libs/gtk+-3.24.35 fails to compile (lto): /usr/include/sysprof-4/sysprof-capture-writer.h:169:23: error: type of 'sysprof_capture_writer_set_counters' does not match original declaration [-Werror=lto-type-mismatch] |
Product: |
Gentoo Linux
|
Reporter: |
Kostadin Shishmanov <kostadinshishmanov> |
Component: |
Current packages | Assignee: |
Gentoo Linux Gnome Desktop Team <gnome> |
Status: |
RESOLVED
WORKSFORME
|
|
|
Severity: |
normal
|
CC: |
anthonyryan1, jstein, leio
|
Priority: |
Normal
|
|
|
Version: |
unspecified | |
|
Hardware: |
AMD64 | |
|
OS: |
Linux | |
|
Whiteboard: |
|
Package list:
|
|
Runtime testing required:
|
---
|
Attachments: |
emerge --info and build log
|
Created attachment 845940 [details] emerge --info and build log x11-libs/gtk+-3.24.35 fails to compile with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror-strict-aliasing /usr/include/sysprof-4/sysprof-capture-writer.h:169:23: error: type of 'sysprof_capture_writer_set_counters' does not match original declaration [-Werror=lto-type-mismatch] 169 | bool sysprof_capture_writer_set_counters (SysprofCaptureWriter *self, | ^ ../../../../../dev-util/sysprof-capture-3.36.0-r1/work/sysprof-3.36.0-abi_x86_64.amd64/../sysprof-3.36.0/src/libsysprof-capture/sysprof-capture-writer.c:1218:1: note: return value type mismatch ../../../../../dev-util/sysprof-capture-3.36.0-r1/work/sysprof-3.36.0-abi_x86_64.amd64/../sysprof-3.36.0/src/libsysprof-capture/sysprof-capture-writer.c:1218:1: note: type 'gboolean' should match type '_Bool' ../../../../../dev-util/sysprof-capture-3.36.0-r1/work/sysprof-3.36.0-abi_x86_64.amd64/../sysprof-3.36.0/src/libsysprof-capture/sysprof-capture-writer.c:1218:1: note: 'sysprof_capture_writer_set_counters' was previously declared here ../../../../../dev-util/sysprof-capture-3.36.0-r1/work/sysprof-3.36.0-abi_x86_64.amd64/../sysprof-3.36.0/src/libsysprof-capture/sysprof-capture-writer.c:1218:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used /usr/include/sysprof-4/sysprof-capture-writer.h:112:23: error: type of 'sysprof_capture_writer_add_mark' does not match original declaration [-Werror=lto-type-mismatch] 112 | bool sysprof_capture_writer_add_mark (SysprofCaptureWriter *self, | ^ ../../../../../dev-util/sysprof-capture-3.36.0-r1/work/sysprof-3.36.0-abi_x86_64.amd64/../sysprof-3.36.0/src/libsysprof-capture/sysprof-capture-writer.c:608:1: note: return value type mismatch ../../../../../dev-util/sysprof-capture-3.36.0-r1/work/sysprof-3.36.0-abi_x86_64.amd64/../sysprof-3.36.0/src/libsysprof-capture/sysprof-capture-writer.c:608:1: note: type 'gboolean' should match type '_Bool' ../../../../../dev-util/sysprof-capture-3.36.0-r1/work/sysprof-3.36.0-abi_x86_64.amd64/../sysprof-3.36.0/src/libsysprof-capture/sysprof-capture-writer.c:608:1: note: 'sysprof_capture_writer_add_mark' was previously declared here ../../../../../dev-util/sysprof-capture-3.36.0-r1/work/sysprof-3.36.0-abi_x86_64.amd64/../sysprof-3.36.0/src/libsysprof-capture/sysprof-capture-writer.c:608:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used