Re: [RFC v3 5/8] build: generate symbol maps

2025-03-14 Thread David Marchand
On Thu, Mar 13, 2025 at 6:27 PM Bruce Richardson wrote: > > On Tue, Mar 11, 2025 at 10:56:03AM +0100, David Marchand wrote: > > Rather than maintain a file in parallel of the code, symbols to be > > exported can be marked with a token RTE_EXPORT_*SYMBOL. > > > > From those marks, the build framewo

Re: [RFC v3 5/8] build: generate symbol maps

2025-03-14 Thread David Marchand
On Fri, Mar 14, 2025 at 4:28 PM Andre Muezerie wrote: > > On Tue, Mar 11, 2025 at 10:56:03AM +0100, David Marchand wrote: > > Rather than maintain a file in parallel of the code, symbols to be > > exported can be marked with a token RTE_EXPORT_*SYMBOL. > > > > >From those marks, the build framewor

Re: [RFC v3 5/8] build: generate symbol maps

2025-03-14 Thread David Marchand
On Fri, Mar 14, 2025 at 3:24 PM Thomas Monjalon wrote: > > 11/03/2025 10:56, David Marchand: > > +if is_ms_linker > > +link_mode = 'msvc' > > It can be MSVC or clang. > mslinker may be a better naming. > > > +elif is_windows > > +link_mode = 'mingw' > > +

Re: [RFC v3 5/8] build: generate symbol maps

2025-03-14 Thread Andre Muezerie
On Tue, Mar 11, 2025 at 10:56:03AM +0100, David Marchand wrote: > Rather than maintain a file in parallel of the code, symbols to be > exported can be marked with a token RTE_EXPORT_*SYMBOL. > > >From those marks, the build framework generates map files only for > symbols actually compiled (which

Re: [RFC v3 5/8] build: generate symbol maps

2025-03-14 Thread Thomas Monjalon
11/03/2025 10:56, David Marchand: > +if is_ms_linker > +link_mode = 'msvc' It can be MSVC or clang. mslinker may be a better naming. > +elif is_windows > +link_mode = 'mingw' > +else > +link_mode = 'gnu' > +endif

Re: [RFC v3 5/8] build: generate symbol maps

2025-03-13 Thread Bruce Richardson
On Tue, Mar 11, 2025 at 10:56:03AM +0100, David Marchand wrote: > Rather than maintain a file in parallel of the code, symbols to be > exported can be marked with a token RTE_EXPORT_*SYMBOL. > > From those marks, the build framework generates map files only for > symbols actually compiled (which m