Setup the gcc 6 by rpm package :
Firstly, I downloaded the gcc6 source code from official website compiling it by myself.
When I compiled the to-be-fuzz kernel, it show do not support -fsanitize-coverage=trace-pc by compiler.
linux-0tla:~/kernel # sh -xx scripts/gcc-x86_64-has-stack-protector.sh gcc-6
rpm -Vqf `which gcc-6`
linux-0tla:~/kernel # rpm -Vqf /usr/bin/gcc-6
Unsatisfied dependencies for gcc6-6.1.1+r235696-19.2.x86_64:
cpp6 = 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
libasan3 >= 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
libatomic1 >= 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
libcilkrts5 >= 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
libgcc_s1 >= 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
libgomp1 >= 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
libisl.so.15()(64bit) is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
libitm1 >= 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
liblsan0 >= 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
libtsan0 >= 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
libubsan0 >= 6.1.1+r235696-19.2 is needed by (installed) gcc6-6.1.1+r235696-19.2.x86_64
Thus, I typed the command `zypper ar [repo url]` & `zypper update` it.
And then, I saw above libraries installing them.
沒有留言:
張貼留言