Hi Everyone!
I have read the article about compiling FreeBSD using Clang/LLVM (https://wiki.freebsd.org/BuildingFreeBSDWithClang). Coming from a Linux background, I had tasks which required me to rebuild the Linux kernel using Intel's C++ compiler.
I decided it would be a pretty interesting experiment to rebuild FreeBSD using the new Intel System Studio which they have modified to support FreeBSD. I proceeded in the following fashion:
I added the following lines to my etc/make.conf file (similarly as it was shown for Clang):
Everything seems to go right until the following I receive the following error:
I remember reading that Clang was also prone to RPC errors - does anyone have any advice regarding my endeavour of building FreeBSD using Intel's kit?
I have read the article about compiling FreeBSD using Clang/LLVM (https://wiki.freebsd.org/BuildingFreeBSDWithClang). Coming from a Linux background, I had tasks which required me to rebuild the Linux kernel using Intel's C++ compiler.
I decided it would be a pretty interesting experiment to rebuild FreeBSD using the new Intel System Studio which they have modified to support FreeBSD. I proceeded in the following fashion:
I added the following lines to my etc/make.conf file (similarly as it was shown for Clang):
Code:
CC=/opt/intel/system_studio_freebsd_2016.3.024/bin/intel64/icl
CXX=/opt/intel/system_studio_freebsd_2016.3.024/bin/intel64/icl++
CPP=/opt/intel/system_studio_freebsd_2016.3.024/bin/intel64/icl++
Everything seems to go right until the following I receive the following error:
Code:
===> include/rpcsvc (buildincludes)
RPCGEN_CPP=/opt/intel/system_studio_freebsd_2016.3.024/bin/intel64/icl++ rpcgen -C -h -DWANT_NFS3 /usr/src/include/rpcsvc/key_prot.x -o key_prot.h
ld:/usr/src/include/rpcsvc/key_prot.x: file format not recognized; treating as linker script
ld:/usr/src/include/rpcsvc/key_prot.x:1: syntax error
*** Error code 1
I remember reading that Clang was also prone to RPC errors - does anyone have any advice regarding my endeavour of building FreeBSD using Intel's kit?