Giter VIP home page Giter VIP logo

Comments (10)

vel21ripn avatar vel21ripn commented on July 24, 2024

What version of gcc is used for compilation?
This is a false error message.

from ndpi.

k0ste avatar k0ste commented on July 24, 2024

What version of gcc is used for compilation?

$ gcc --version
gcc (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

from ndpi.

lancethepants avatar lancethepants commented on July 24, 2024

Brilliant project. Just what I was looking for to replace decrepit L7-Filter classification in a QoS system.

I'm also getting some errors, or rather warnings that become errors when using CONFIG_WERROR=y in the kernel. When I disable CONFIG_WERROR in the kernel then it does (cross)-compile for me on commit 9a6412b
x86_64
linux-6.6.5
gcc 13.2

I just tried compiling the latest commit 4e0fd2c but it seems that ndpi_network_list.c.inc which is generated using the host-compiled binary has been change or moved or something. Haven't had time to look into that yet.

Warnings

from ndpi.

vel21ripn avatar vel21ripn commented on July 24, 2024

See a62d4b5

from ndpi.

k0ste avatar k0ste commented on July 24, 2024

After branch updates, we have new issue

make: *** No rule to make target 'ndpi_network_list.c.inc'.  Stop.

Seems after 04a391b this step should be removed?

from ndpi.

vel21ripn avatar vel21ripn commented on July 24, 2024

Yes.

from ndpi.

lancethepants avatar lancethepants commented on July 24, 2024

Slick removing dependency on ndpi_network_list.c.inc. Simplifies cross-compiles.

Couple errors/warnings I'm getting still on d9899c9
Warning 1
Warning 2

from ndpi.

k0ste avatar k0ste commented on July 24, 2024

The fix is not work's for us. If this gcc issue - it is possible to mitigate this?

from ndpi.

vel21ripn avatar vel21ripn commented on July 24, 2024

I don’t see any point in correcting this warning, since this is the kernel developers’ wish for the size of elements stored in the stack and exceeding this size is insignificant.

from ndpi.

k0ste avatar k0ste commented on July 24, 2024

Just for the record:

  • gcc 12 or gcc 11 was not mitigated this error
  • -D_FORTIFY_SOURCE=0 also isn't help (or I put it in a wrong place)
  • compile on the kernel 6.4.12 does't have this issue

from ndpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.