Re: [vpp-dev] [EXT] Re: compiling error natively on an am64 box for fd.io_vpp

2017-08-26 Thread Damjan Marion
Hi Eric, Same code compiles perfectly fine on ARM64 with newer gcc version. If you are starting new development cycle it makes sense to me that you pick up latest ubuntu release, specially when new hardware is involved instead of trying to chase this kind of bugs. Do you have any strong

Re: [vpp-dev] [EXT] Re: compiling error natively on an am64 box for fd.io_vpp

2017-08-26 Thread Eric Chen
Dave, Thanks for your answer. I tried below variation, it doesn’t help. Btw, there is not only one place reporting “error: unable to generate reloads for:”, I will try to checkout the version of 17.01.1, since with the same native compiler, I succeeded to build fd.io_odp4vpp (which is based

Re: [vpp-dev] [EXT] Re: compiling error natively on an am64 box for fd.io_vpp

2017-08-26 Thread Dave Barach (dbarach)
Just so everyone knows, the function in question is almost too simple for its own good: always_inline uword vlib_process_suspend_time_is_zero (f64 dt) { return dt < 10e-6; } What happens if you try this variation? always_inline int vlib_process_suspend_time_is_zero (f64 dt) { if (dt <