[radeon-alex:amd-20.45 198/2427] ./usr/include/drm/amdgpu_drm.h:314:2: error: unknown type name 'int32_t'

kernel test robot lkp at intel.com
Tue Dec 15 10:26:58 UTC 2020


Hi Kevin,

FYI, the error/warning still remains.

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-20.45
head:   a3950d94b046fb206e58fd3ec717f071c0203ba3
commit: 641803ba0aabf8d823eb6cf6667dda3fdca58872 [198/2427] drm/amdgpu: [hybrid] add semaphore object support
config: x86_64-randconfig-a004-20201214 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git
        git fetch --no-tags radeon-alex amd-20.45
        git checkout 641803ba0aabf8d823eb6cf6667dda3fdca58872
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   In file included from <built-in>:1:
   ./usr/include/drm/amdgpu_drm.h:304:2: error: unknown type name 'uint32_t'
           uint32_t        op;
           ^
   ./usr/include/drm/amdgpu_drm.h:305:2: error: unknown type name 'uint32_t'
           uint32_t        handle;
           ^
   ./usr/include/drm/amdgpu_drm.h:306:2: error: unknown type name 'uint32_t'
           uint32_t        ctx_id;
           ^
   ./usr/include/drm/amdgpu_drm.h:307:2: error: unknown type name 'uint32_t'
           uint32_t        ip_type;
           ^
   ./usr/include/drm/amdgpu_drm.h:308:2: error: unknown type name 'uint32_t'
           uint32_t        ip_instance;
           ^
   ./usr/include/drm/amdgpu_drm.h:309:2: error: unknown type name 'uint32_t'
           uint32_t        ring;
           ^
   ./usr/include/drm/amdgpu_drm.h:310:2: error: unknown type name 'uint64_t'
           uint64_t        seq;
           ^
>> ./usr/include/drm/amdgpu_drm.h:314:2: error: unknown type name 'int32_t'
           int32_t         fd;
           ^
   ./usr/include/drm/amdgpu_drm.h:315:2: error: unknown type name 'uint32_t'
           uint32_t        handle;
           ^
   ./usr/include/drm/amdgpu_drm.h:939:4: error: unknown type name 'uint32_t'
                           uint32_t aperture;
                           ^
   ./usr/include/drm/amdgpu_drm.h:940:4: error: unknown type name 'uint32_t'
                           uint32_t _pad;
                           ^
   ./usr/include/drm/amdgpu_drm.h:1167:2: error: unknown type name 'uint64_t'
           uint64_t start;
           ^
   ./usr/include/drm/amdgpu_drm.h:1168:2: error: unknown type name 'uint64_t'
           uint64_t end;
           ^
   13 errors generated.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 39264 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20201215/3255857b/attachment-0001.gz>


More information about the dri-devel mailing list