[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-26 Thread Azarewicz, PiotrX T
> > > The problem is that -lrt appears before -lrte_eal. > > > The question is: where does it come from? > > > It is even before _LDLIBS-y += -L$(RTE_SDK_BIN)/lib... mystery > > > > root cause: > > commit c7cda4d8b4ea9cb0f209dda36882d225354b1db9 > > The error is seen after this commit, yes. >

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-25 Thread Thomas Monjalon
2016-07-25 11:13, Azarewicz, PiotrX T: > > The problem is that -lrt appears before -lrte_eal. > > The question is: where does it come from? > > It is even before _LDLIBS-y += -L$(RTE_SDK_BIN)/lib... mystery > > root cause: > commitc7cda4d8b4ea9cb0f209dda36882d225354b1db9 The error is seen

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-25 Thread Azarewicz, PiotrX T
> The problem is that -lrt appears before -lrte_eal. > The question is: where does it come from? > It is even before _LDLIBS-y += -L$(RTE_SDK_BIN)/lib... mystery root cause: commit c7cda4d8b4ea9cb0f209dda36882d225354b1db9 and my workaround is: /app/test/Makefile ifeq ($(CONFIG_RTE_LIBRTE_SCHED

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-22 Thread Thomas Monjalon
2016-07-22 14:47, Azarewicz, PiotrX T: > > > I was trying rc3 + fix and latest (today) dpdk version. The same fail > > message: > > > > > > /x86_64-native-linuxapp-gcc/lib/librte_eal.a(eal_timer.o): In function > > `get_tsc_freq': > > > eal_timer.c:(.text+0x128): undefined reference to `clock_getti

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-22 Thread Thomas Monjalon
2016-07-22 14:07, Azarewicz, PiotrX T: > > > > > Tested-by: Yongjie Gu > > > > > > > > Applied > > > > > > OS: UB1204 > > > GCC: 4.6.4 > > > Kernel: 3.13.0-45 > > > glibc 2.15 > > > > > > x86_64-native-linuxapp-gcc: FAIL > > > > Please don't be a bot and explain us the error you see. > > I was t

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-22 Thread Thomas Monjalon
2016-07-22 13:38, Azarewicz, PiotrX T: > > > Tested-by: Yongjie Gu > > > > Applied > > OS: UB1204 > GCC: 4.6.4 > Kernel: 3.13.0-45 > glibc 2.15 > > x86_64-native-linuxapp-gcc: FAIL Please don't be a bot and explain us the error you see.

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-22 Thread Azarewicz, PiotrX T
> > > > > > Tested-by: Yongjie Gu > > > > > > > > > > Applied > > > > > > > > OS: UB1204 > > > > GCC: 4.6.4 > > > > Kernel: 3.13.0-45 > > > > glibc 2.15 > > > > > > > > x86_64-native-linuxapp-gcc: FAIL > > > > > > Please don't be a bot and explain us the error you see. > > > > I was trying rc3 + f

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-22 Thread Azarewicz, PiotrX T
> > > > Tested-by: Yongjie Gu > > > > > > Applied > > > > OS: UB1204 > > GCC: 4.6.4 > > Kernel: 3.13.0-45 > > glibc 2.15 > > > > x86_64-native-linuxapp-gcc: FAIL > > Please don't be a bot and explain us the error you see. I was trying rc3 + fix and latest (today) dpdk version. The same fail mess

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-22 Thread Azarewicz, PiotrX T
> > Tested-by: Yongjie Gu > > Applied OS: UB1204 GCC: 4.6.4 Kernel: 3.13.0-45 glibc 2.15 x86_64-native-linuxapp-gcc: FAIL

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-21 Thread Thomas Monjalon
> Tested-by: Yongjie Gu Applied

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-20 Thread Gu, YongjieX
6_64-ivshmem-linuxapp-gcc: compile pass Thanks Yongjie -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon Sent: Monday, July 18, 2016 5:44 PM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17 There i

[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17

2016-07-18 Thread Thomas Monjalon
There is an error when linking static EAL library with an application: eal_alarm.c:(.text+0xd7): undefined reference to `clock_gettime' eal_alarm.c:(.text+0x20f): undefined reference to `clock_gettime' eal_timer.c:(.text+0x108): undefined reference to `clock_gettime' eal_timer.c:(.text+0x146): und