numam-dpdk/buildtools
Ferruh Yigit a462a6a9e7 buildtools: fix icc build
There are random build errors in test reports [1]. Build error
is not directly related to DPDK but observed during DPDK build.

When I get similar unexpected build errors in my system, found
out that /dev/null is invalid.

It seems ICC overwrites the /dev/null with "icc -o /dev/null" instead
of sending output to /dev/null. This is not always reproducible, so
hard to say what exactly is triggering the error.

I suspect test-report build errors can be because of the same reason,
and it is good to add a protection for this case.

Instead of sending output to /dev/null save it to the tmp folder and
remove it back when done.

[1]
http://dpdk.org/ml/archives/test-report/2017-November/034053.html
Failure #3

/usr/src/linux-headers-4.4.0-97-generic/include/linux/sysfs.h:517:37:
error: pointer targets in passing argument 2 of ‘kernfs_find_and_get’
differ in signedness [-Werror=pointer-sign]
  return kernfs_find_and_get(parent, name);

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
2017-11-06 21:43:04 +01:00
..
pmdinfogen buildtools: zero elf info variable in pmdinfogen 2017-09-14 14:20:41 +02:00
auto-config-h.sh buildtools: fix icc build 2017-11-06 21:43:04 +01:00
gen-build-mk.sh scripts: move to buildtools 2017-01-04 21:17:32 +01:00
gen-config-h.sh scripts: move to buildtools 2017-01-04 21:17:32 +01:00
Makefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
relpath.sh buildtools: allow symlinks within a source directory 2017-01-29 22:36:23 +01:00