[PATCH] build: fix linker warnings about undefined symbols

Stephen Hemminger stephen at networkplumber.org
Fri Jan 12 23:22:52 CET 2024


On Fri, 12 Jan 2024 21:49:13 +0100
Morten Brørup <mb at smartsharesystems.com> wrote:

> > you can use symver in combination with visibility default
> > 
> > https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html
> > 
> > anyway just food for thought, it would get me out of having to hack &
> > enhance the .def from .map generation and unfortunately even with that
> > there are going to be cases where i still have to annotate the actual
> > symbol export in code (for windows).
> > 
> > just thought a more unified approach for all might appeal.  
> 
> Assuming that we truly want DPDK to support Windows, a more unified approach is a reasonable ask.
> 
> If we can eliminate the technical obstacles, we should pursue it.
> 
> We may have to sacrifice some "nice to have" advantages of the version.map files along the way, such as having easy access to the list of experimental functions in the version.map file.

Ideally __rte_experimental macro would do the right thing to make it publicly visible in the right section.


More information about the dev mailing list