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 < 10e-6

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 on

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

2017-08-26 Thread Burt Silverman
Well, at least the compiler tells you where to file a bug report. Hopefully they respond quickly. It might be interesting Eric if you can list here some of the other places where you also see the error. Just for fun, maybe try the function without the always_inline. Or write out the inlined code

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 reason