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

[Bug]: Missing cstdint compiled with GCC 15 #1848

Open
blackteahamburger opened this issue Aug 29, 2024 · 0 comments · May be fixed by #1849
Open

[Bug]: Missing cstdint compiled with GCC 15 #1848

blackteahamburger opened this issue Aug 29, 2024 · 0 comments · May be fixed by #1849
Assignees
Labels
Build Cmake, build option related

Comments

@blackteahamburger
Copy link

blackteahamburger commented Aug 29, 2024

Which component impacted?

Build

Is it regression? Good in old configuration?

None

What happened?

Build with GCC 15, too long lines were shrinked:

[362/1593] /usr/bin/x86_64-pc-linux-gnu-g++ -DCLASS_TRACE=0 -DENABLE_KERNELS -DENABLE_XE_KMD -DHEVC_FEI_ENABLE_CMRT -DIGFX_ARL_SUPPORTED -DIGFX_DG2_SUPPORTED -DIGFX_GEN11_ICLLP_SUPPORTED -DIGFX_GEN11_JSL_SUPPOR>
FAILED: media_driver/CMakeFiles/iHD_drv_video_SOFTLET_COMMON.dir/__/media_softlet/agnostic/common/shared/features/media_feature.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DCLASS_TRACE=0 -DENABLE_KERNELS -DENABLE_XE_KMD -DHEVC_FEI_ENABLE_CMRT -DIGFX_ARL_SUPPORTED -DIGFX_DG2_SUPPORTED -DIGFX_GEN11_ICLLP_SUPPORTED -DIGFX_GEN11_JSL_SUPPORTED -DIGFX_>
In file included from /var/tmp/portage/media-libs/libva-intel-media-driver-24.3.1-r1/work/media-driver-intel-media-24.3.1/media_common/agnostic/common/os/user_setting/media_user_setting_definition.h:34,
                 from /var/tmp/portage/media-libs/libva-intel-media-driver-24.3.1-r1/work/media-driver-intel-media-24.3.1/media_common/agnostic/common/os/user_setting/media_user_setting_configure.h:31,
                 from /var/tmp/portage/media-libs/libva-intel-media-driver-24.3.1-r1/work/media-driver-intel-media-24.3.1/media_common/agnostic/common/os/user_setting/media_user_setting.h:49,
                 from /var/tmp/portage/media-libs/libva-intel-media-driver-24.3.1-r1/work/media-driver-intel-media-24.3.1/media_softlet/agnostic/common/shared/features/media_feature.h:29,
                 from /var/tmp/portage/media-libs/libva-intel-media-driver-24.3.1-r1/work/media-driver-intel-media-24.3.1/media_softlet/agnostic/common/shared/features/media_feature.cpp:27:
/var/tmp/portage/media-libs/libva-intel-media-driver-24.3.1-r1/work/media-driver-intel-media-24.3.1/media_common/linux/common/os/mos_defs_specific.h:37:9: error: ‘uint32_t’ does not name a type
   37 | typedef uint32_t                UFKEY, *PUFKEY;                           //!< Handle of user feature key
      |         ^~~~~~~~
/var/tmp/portage/media-libs/libva-intel-media-driver-24.3.1-r1/work/media-driver-intel-media-24.3.1/media_common/linux/common/os/mos_defs_specific.h:32:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this>
   31 | #include <semaphore.h>
  +++ |+#include <cstdint>
   32 | #include <string>

Ref: https://bugs.gentoo.org/938537

What's the usage scenario when you are seeing the problem?

Others

What impacted?

Unable to build.

Debug Information

Intel Media Driver version: 24.3.1

Do you want to contribute a patch to fix the issue?

Yes, I'm glad to submit a patch to fix it

@blackteahamburger blackteahamburger linked a pull request Aug 29, 2024 that will close this issue
@Jexu Jexu added the Build Cmake, build option related label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Cmake, build option related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants