[dpdk-dev] [PATCH 02/15] make: include whole archive on static link

2014-04-16 Thread Thomas Monjalon
2014-04-16 07:02, Neil Horman: > On Wed, Apr 16, 2014 at 11:26:48AM +0200, Thomas Monjalon wrote: > > 2014-04-15 14:05, Neil Horman: > > > This happens automatically on dyanmic linking, but when linking an > > > archive > > > we need to to include the whole archive to make sure we call all the > >

[dpdk-dev] [PATCH 02/15] make: include whole archive on static link

2014-04-16 Thread Thomas Monjalon
2014-04-15 14:05, Neil Horman: > This happens automatically on dyanmic linking, but when linking an archive > we need to to include the whole archive to make sure we call all the > constructors. Not doing this causes them to be discarded due to the fact > theres no symbolic reference connecting the

[dpdk-dev] [PATCH 02/15] make: include whole archive on static link

2014-04-16 Thread Neil Horman
On Wed, Apr 16, 2014 at 09:02:04AM -0400, Neil Horman wrote: > On Wed, Apr 16, 2014 at 01:40:19PM +0200, Thomas Monjalon wrote: > > 2014-04-16 07:02, Neil Horman: > > > On Wed, Apr 16, 2014 at 11:26:48AM +0200, Thomas Monjalon wrote: > > > > 2014-04-15 14:05, Neil Horman: > > > > > This happens aut

[dpdk-dev] [PATCH 02/15] make: include whole archive on static link

2014-04-16 Thread Neil Horman
On Wed, Apr 16, 2014 at 01:40:19PM +0200, Thomas Monjalon wrote: > 2014-04-16 07:02, Neil Horman: > > On Wed, Apr 16, 2014 at 11:26:48AM +0200, Thomas Monjalon wrote: > > > 2014-04-15 14:05, Neil Horman: > > > > This happens automatically on dyanmic linking, but when linking an > > > > archive > >

[dpdk-dev] [PATCH 02/15] make: include whole archive on static link

2014-04-16 Thread Neil Horman
On Wed, Apr 16, 2014 at 11:26:48AM +0200, Thomas Monjalon wrote: > 2014-04-15 14:05, Neil Horman: > > This happens automatically on dyanmic linking, but when linking an archive > > we need to to include the whole archive to make sure we call all the > > constructors. Not doing this causes them to b

[dpdk-dev] [PATCH 02/15] make: include whole archive on static link

2014-04-15 Thread Neil Horman
This happens automatically on dyanmic linking, but when linking an archive we need to to include the whole archive to make sure we call all the constructors. Not doing this causes them to be discarded due to the fact theres no symbolic reference connecting the pmds to the application. Signed-off-b