Avnu / OpenAvnu

OpenAvnu - an Avnu sponsored repository for Time Sensitive Network (TSN and AVB) technology
464 stars 289 forks source link

kmod/igb: Fix build by disabling -fPIC #820

Closed jeez closed 5 years ago

jeez commented 5 years ago

On recent distros with recent versions of gcc, the Makefile fails on line 189 with:

cc1: error: code model kernel does not support PIC mode

Add -fno-PIC to our the EXTRA_CFLAGS to avoid that.

Signed-off-by: Jesus Sanchez-Palencia jesus.sanchez-palencia@intel.com

aguedes commented 5 years ago

Hi Jesus, in general PRs should target the open-nex-avb branch, not master. From time to time open-next-avb is merged into master.

Anyways, igb_avb driver has been recently moved from openavnu to its own repo (see https://github.com/AVnu/igb_avb). So you should submit this PR there.

jeez commented 5 years ago

oh ok, I thought build fixes should go to the master branch directly. Will send it there later, thanks.