From: "Monsees, Steven C (US)" <steven.monsees@baesystems.com>
To: "yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: IGC build issue with devtoolset-8 (GNU 8.3.1)
Date: Wed, 2 Feb 2022 13:54:48 +0000 [thread overview]
Message-ID: <20220202135551.E2470C4332F@smtp.lore.kernel.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2294 bytes --]
I am building zeus with basic OpenCL support for centos 7.x, and using GNU 8.3.1 compiler and see the following Error when IGC is built, I see the same error when building with GNU 5.3.1...
Is this a known issue, is a patch available ?
Any ideas why I might be seeing this ?
cpp.o -MF IGC/Compiler/CMakeFiles/Compiler.dir/CISACodeGen/DebugInfo.cpp.o.d -o IGC/Compiler/CMakeFiles/Compiler.dir/CISACodeGen/DebugInfo.cpp.o -c /disk0/scratch/yocto_user/yocto/workspace_zeus/builds/sbcb-default/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.11-r0/git/IGC/Compiler/CISACodeGen/DebugInfo.cpp
| In file included from /usr/include/sys/stat.h:106,
| from /disk0/scratch/yocto_user/yocto/workspace_zeus/builds/sbcb-default/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.11-r0/git/IGC/../3d/common/iStdLib/File.h:47,
| from /disk0/scratch/yocto_user/yocto/workspace_zeus/builds/sbcb-default/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.11-r0/git/IGC/Compiler/CISACodeGen/DebugInfo.hpp:42,
| from /disk0/scratch/yocto_user/yocto/workspace_zeus/builds/sbcb-default/tmp/work/x86_64-linux/intel-graphics-compiler-native/1.0.11-r0/git/IGC/Compiler/CISACodeGen/DebugInfo.cpp:26:
| /usr/include/bits/stat.h:106:31: error: expected unqualified-id before '[' token
| __syscall_slong_t __unused[3];
| ^
| /usr/include/bits/stat.h:164:31: error: expected unqualified-id before '[' token
| __syscall_slong_t __unused[3];
|
I am using bitbake -k, and everything else builds correctly, and no other components references this...
If I modify the header like so:
/usr/include/bits>diff stat.h stat.h_HOLD
106c106,108
< __syscall_slong_t __unused[3];
---
> __syscall_slong_t __unused1;
> __syscall_slong_t __unused2;
> __syscall_slong_t __unused3;
164c166,168
< __syscall_slong_t __unused[3];
---
> __syscall_slong_t __unused1;
> __syscall_slong_t __unused2;
> __syscall_slong_t __unused3;
08:29 smonsees@yix465383 /usr/include/bits>
IGC builds clean, and test show it appears to working correctly...
I really shouldn't be modifying the header, and would like to know what the real issue issue is...
Thanks,
Steve
[-- Attachment #2: Type: text/html, Size: 6291 bytes --]
next reply other threads:[~2022-02-02 13:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-02 13:54 Monsees, Steven C (US) [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-03 13:33 IGC build issue with devtoolset-8 (GNU 8.3.1) Monsees, Steven C (US)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220202135551.E2470C4332F@smtp.lore.kernel.org \
--to=steven.monsees@baesystems.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox