Re: Announcement: GCC BPF is now being tested on BPF CI

2025-01-17 Thread Ihor Solodrai via Gcc
On Friday, January 17th, 2025 at 5:44 AM, Mark Wielaard wrote: > > > Hi Ihor, > > On Thu, Jan 16, 2025 at 08:44:54PM +, Ihor Solodrai via Gcc wrote: > > > An example of successful test run (you have to login to github to see > > the logs): > > h

Re: Announcement: GCC BPF is now being tested on BPF CI

2025-01-17 Thread Ihor Solodrai via Gcc
On Friday, January 17th, 2025 at 2:44 AM, Jose E. Marchesi wrote: > [...] > > > Ok. I disabled the execution of the test_progs-bpf_gcc test runner for now. > > > > I think we should check on the state of the tests again after decl_tags > > support is landed. > > > Thank you. Sounds like a pla

Re: Announcement: GCC BPF is now being tested on BPF CI

2025-01-16 Thread Ihor Solodrai via Gcc
On Thursday, January 16th, 2025 at 3:58 PM, Jose E. Marchesi wrote: > > [...] > > > > > > Effective BPF selftests denylist for GCC BPF is located here: > > > https://github.com/kernel-patches/vmtest/blob/master/ci/vmtest/configs/DENYLIST.test_progs-bpf_gcc > > > > The announcement triggered a

Re: Announcement: GCC BPF is now being tested on BPF CI

2025-01-16 Thread Ihor Solodrai via Gcc
On Thursday, January 16th, 2025 at 12:44 PM, Ihor Solodrai wrote: > > > Hi everyone. > > GCC BPF support in BPF CI has been landed. > > The BPF CI dashboard is here: > https://github.com/kernel-patches/bpf/actions/workflows/test.yml > > A summary of what happens on CI (relevant to GCC BPF):

Announcement: GCC BPF is now being tested on BPF CI

2025-01-16 Thread Ihor Solodrai via Gcc
Hi everyone. GCC BPF support in BPF CI has been landed. The BPF CI dashboard is here: https://github.com/kernel-patches/bpf/actions/workflows/test.yml A summary of what happens on CI (relevant to GCC BPF): * Linux Kernel is built on a target source revision * Latest snapshots of GCC 15 and b

Re: Errors compiling BPF programs from Linux selftests/bpf with GCC

2025-01-03 Thread Ihor Solodrai via Gcc
Hi everyone. I built and ran selftests/bpf with GCC 15-20241229, and would like to share my findings. Building required small adjustments in the Makefile, besides -std=gnu17 With the following change we can mitigate int64_t issue: +progs/test_cls_redirect.c-CFLAGS := -nostdinc +progs/test_cls_r

Re: Errors compiling BPF programs from Linux selftests/bpf with GCC

2025-01-02 Thread Ihor Solodrai via Gcc
On Thursday, January 2nd, 2025 at 1:47 AM, Jose E. Marchesi wrote: > Hi Ihor. > Thanks for working on this! :) > > > [...] > > Older versions compile the dummy program without errors, however on > > attempt to build the selftests there is a different issue: conflicting > > int64 definitions (fu

Re: Errors compiling BPF programs from Linux selftests/bpf with GCC

2024-12-30 Thread Ihor Solodrai via Gcc
ki via Gcc gcc@gcc.gnu.org writes: > > > > > > > On Mon, Dec 30, 2024 at 12:11 PM Ihor Solodrai via Gcc gcc@gcc.gnu.org > > > > wrote: > > > > > > > > > Hello everyone. > > > > > > > > > > I picked up the wor

Re: Errors compiling BPF programs from Linux selftests/bpf with GCC

2024-12-30 Thread Ihor Solodrai via Gcc
On Monday, December 30th, 2024 at 12:36 PM, Sam James wrote: > > > Andrew Pinski via Gcc gcc@gcc.gnu.org writes: > > > On Mon, Dec 30, 2024 at 12:11 PM Ihor Solodrai via Gcc gcc@gcc.gnu.org > > wrote: > > > > > Hello everyone. > > > > >

Errors compiling BPF programs from Linux selftests/bpf with GCC

2024-12-30 Thread Ihor Solodrai via Gcc
Hello everyone. I picked up the work adding GCC BPF backend to BPF CI pipeline [1], originally done by Cupertino Miranda [2]. I encountered issues compiling BPF objects for selftests/bpf with recent GCC 15 snapshots. An additional test runner binary is supposed to be generated by tools/testing/se