Skip to content

Adding -DNDEBUG flag will cause the helloworld example to crash #705

@renzibei

Description

@renzibei

Hello, I find that if -DNDEBUG flag is added to the compile-options, the helloworld example will crash. After the modification, the CFLAGS line in the Makefile file becomes

CFLAGS += -O -DNDEBUG -gdwarf-2 $(shell $(PKGCONF) --cflags libdpdk)

And when I running the helloworld program, it will crashes or print many lines of unknown event: 00000000.

Can you help look into the reason of it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions